Changeset View
Changeset View
Standalone View
Standalone View
src/kftabdlg.h
Show All 28 Lines | |||||
29 | class QButtonGroup; | 29 | class QButtonGroup; | ||
30 | class QPushButton; | 30 | class QPushButton; | ||
31 | class QRadioButton; | 31 | class QRadioButton; | ||
32 | class QCheckBox; | 32 | class QCheckBox; | ||
33 | class KLineEdit; | 33 | class KLineEdit; | ||
34 | class QString; | 34 | class QString; | ||
35 | class QDate; | 35 | class QDate; | ||
36 | class QRegExp; | 36 | class QRegExp; | ||
37 | class KDateComboBox; | ||||
37 | class KDialog; | 38 | class KDialog; | ||
38 | class KComboBox; | 39 | class KComboBox; | ||
39 | class KIntSpinBox; | 40 | class KIntSpinBox; | ||
40 | class QLabel; | 41 | class QLabel; | ||
41 | 42 | | |||
42 | class KfDirDialog; | 43 | class KfDirDialog; | ||
43 | class KDateCombo; | | |||
44 | 44 | | |||
45 | class KfindTabWidget: public KTabWidget | 45 | class KfindTabWidget: public KTabWidget | ||
46 | { | 46 | { | ||
47 | Q_OBJECT | 47 | Q_OBJECT | ||
48 | 48 | | |||
49 | public: | 49 | public: | ||
50 | KfindTabWidget(QWidget * parent = 0); | 50 | KfindTabWidget(QWidget * parent = 0); | ||
51 | virtual ~KfindTabWidget(); | 51 | virtual ~KfindTabWidget(); | ||
▲ Show 20 Lines • Show All 43 Lines • ▼ Show 20 Line(s) | 83 | public: | |||
95 | KComboBox *m_groupBox; | 95 | KComboBox *m_groupBox; | ||
96 | //for fourth page | 96 | //for fourth page | ||
97 | KLineEdit *metainfoEdit; | 97 | KLineEdit *metainfoEdit; | ||
98 | KLineEdit *metainfokeyEdit; | 98 | KLineEdit *metainfokeyEdit; | ||
99 | 99 | | |||
100 | private: | 100 | private: | ||
101 | bool isDateValid(); | 101 | bool isDateValid(); | ||
102 | 102 | | |||
103 | QString date2String(const QDate &); | | |||
104 | QDate &string2Date(const QString &, QDate * ); | | |||
105 | | ||||
106 | void updateDateLabels(int type, int value); | 103 | void updateDateLabels(int type, int value); | ||
107 | 104 | | |||
108 | QWidget *pages[3]; | 105 | QWidget *pages[3]; | ||
109 | 106 | | |||
110 | //1st page | 107 | //1st page | ||
111 | QPushButton *browseB; | 108 | QPushButton *browseB; | ||
112 | 109 | | |||
113 | KfDirDialog *dirselector; | 110 | KfDirDialog *dirselector; | ||
114 | 111 | | |||
115 | //2nd page | 112 | //2nd page | ||
116 | QCheckBox *findCreated; | 113 | QCheckBox *findCreated; | ||
117 | KComboBox *betweenType; | 114 | KComboBox *betweenType; | ||
118 | QLabel *andL; | 115 | QLabel *andL; | ||
119 | QButtonGroup *bg; | 116 | QButtonGroup *bg; | ||
120 | QRadioButton *rb[2]; | 117 | QRadioButton *rb[2]; | ||
121 | KDateCombo * fromDate; | 118 | KDateComboBox * fromDate; | ||
122 | KDateCombo * toDate; | 119 | KDateComboBox * toDate; | ||
123 | KIntSpinBox *timeBox; | 120 | KIntSpinBox *timeBox; | ||
124 | 121 | | |||
125 | //3rd page | 122 | //3rd page | ||
126 | KComboBox *sizeBox; | 123 | KComboBox *sizeBox; | ||
127 | KComboBox *sizeUnitBox; | 124 | KComboBox *sizeUnitBox; | ||
128 | KIntSpinBox *sizeEdit; | 125 | KIntSpinBox *sizeEdit; | ||
129 | QCheckBox *caseContextCb; | 126 | QCheckBox *caseContextCb; | ||
130 | QCheckBox *binaryContextCb; | 127 | QCheckBox *binaryContextCb; | ||
Show All 26 Lines |