📄 aknexslidersaveform.h
字号:
/* Copyright (c) 2004, Nokia. All rights reserved */
#ifndef __AKNEXSLIDERSAVETESTFORM_H__
#define __AKNEXSLIDERSAVETESTFORM_H__
// INCLUDES
#include <aknform.h>
#include "AknExSlider.hrh"
// CONSTANTS
const TInt KAknExSliderLabelMaxLength = 64;
// CLASS DECLARATION
/**
* CAknExFormApplication application class.
* Provides factory to create concrete document object.
*/
class CAknExSliderSaveForm : public CAknForm
{
public: // Constructor and destructor
/**
* Two-phased constructor.
*/
static CAknExSliderSaveForm* NewL();
/**
* Destructor.
*/
virtual ~CAknExSliderSaveForm();
private: // Constructor
/**
* Default constructor.
*/
CAknExSliderSaveForm();
/**
* Second-phase constructor.
*/
void ConstructL();
private: // New functons
/**
* Set form data.
*/
void SetFormData();
private: // Functions from base class
/**
* From CEikDialog
* Set default field value to member data.
*/
void PostLayoutDynInitL();
/**
* From CAknForm
* Show save query. If user answers "No" to this query.
* return field value to the value which is before editing.
*/
TBool QuerySaveChangesL();
/**
* From CAknForm
* Save the contents of the form.
*/
TBool SaveFormDataL();
/**
* From CAknForm
* Does not save the contents of the form.
*/
void DoNotSaveFormDataL();
private:
/**
* iSliderValue
*/
TInt iSliderValue;
/**
* iSliderLabel
*/
TBuf<KAknExSliderLabelMaxLength> iSliderLabel;
};
#endif // __AKNEXSLIDERSAVETESTFORM_H__
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -