blob: 6edd8d9c1f4f2f4225b3b05d9efe624ca7cfa0c2 (
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
71
72
73
74
75
76
77
78
|
#ifndef _WIZARDS_H_
#define _WIZARDS_H_
#include "kpsion.h"
#include <kwizard.h>
#include <knuminput.h>
#include <kcombobox.h>
#include <klineedit.h>
#include <klistview.h>
#include <qpushbutton.h>
#include <qcheckbox.h>
#include <qlabel.h>
class FirstTimeWizard : public KWizard {
Q_OBJECT
public:
FirstTimeWizard(QWidget *parent = 0, const char *name = 0);
protected:
virtual void closeEvent(QCloseEvent *e);
virtual void reject();
virtual void accept();
protected slots:
virtual void next();
private slots:
void slotBdirBrowse();
private:
bool checkBackupDir(QString &);
QWidget *page1;
QWidget *page2;
QWidget *page3;
QWidget *page4;
QWidget *page5;
QLabel *bdirLabel;
KIntSpinBox *genSpin;
KIntSpinBox *rconSpin;
QPushButton *bdirButton;
QCheckBox *remCheck;
KComboBox *iIntCombo;
KComboBox *fIntCombo;
KComboBox *devCombo;
KComboBox *speedCombo;
QString bdirDefault;
QString bdirCreated;
};
class NewPsionWizard : public KWizard {
Q_OBJECT
public:
NewPsionWizard(QWidget *parent = 0, const char *name = 0);
protected:
virtual void accept();
protected slots:
virtual void next();
private:
bool checkPsionName(QString &);
QWidget *page1;
QWidget *page2;
KPsionMainWindow *psion;
KLineEdit *nameEdit;
KListView *backupListView;
QString uid;
QString machineName;
};
#endif
|