blob: f8d912eacb73cd0eac5300129fc50ca7b764d7d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
#ifndef CONFIGGENERALPAGE_H
#define CONFIGGENERALPAGE_H
#include <configpagebase.h>
class Config;
class TQCheckBox;
class KComboBox;
class KIntSpinBox;
class KLineEdit;
class KPushButton;
/**
* @short The page for the general configuration
* @author Daniel Faust <[email protected]>
* @version 0.3
*/
class ConfigGeneralPage : public ConfigPageBase
{
Q_OBJECT
TQ_OBJECT
public:
/**
* Default Constructor
*/
ConfigGeneralPage( Config*, TQWidget *tqparent=0, const char *name=0 );
/**
* Default Destructor
*/
virtual ~ConfigGeneralPage();
private:
KComboBox* cStartTab;
KComboBox* cDefaultProfile;
TQStringList sDefaultProfile;
KComboBox* cDefaultFormat;
TQStringList sDefaultFormat;
// KLineEdit* lDir;
//KPushButton* pDirInfo;
// KPushButton* pDirSelect;
KComboBox* cPriority;
TQStringList sPriority;
TQCheckBox* cUseVFATNames;
TQStringList sConflictHandling;
KComboBox* cConflictHandling;
KIntSpinBox* iNumFiles;
KIntSpinBox* iUpdateDelay;
TQCheckBox* cAskForNewOptions;
TQCheckBox* cExecuteUserScript;
Config* config;
int profileIndex( const TQString& string );
int formatIndex( const TQString& string );
public slots:
void resetDefaults();
void saveSettings();
private slots:
// void selectDir();
void profileChanged();
};
#endif // CONFIGGENERALPAGE_H
|