Diffstat (limited to 'core/settings/launcher/tabdialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/settings/launcher/tabdialog.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/settings/launcher/tabdialog.h b/core/settings/launcher/tabdialog.h index d602573..e1935fd 100644 --- a/core/settings/launcher/tabdialog.h +++ b/core/settings/launcher/tabdialog.h | |||
@@ -2,39 +2,44 @@ | |||
2 | #define __TABDIALOG_H__ | 2 | #define __TABDIALOG_H__ |
3 | 3 | ||
4 | #include <qdialog.h> | 4 | #include <qdialog.h> |
5 | #include "tabconfig.h" | 5 | #include "tabconfig.h" |
6 | 6 | ||
7 | class QButtonGroup; | 7 | class QButtonGroup; |
8 | class OFontSelector; | 8 | class OFontSelector; |
9 | class SampleView; | 9 | class SampleView; |
10 | class OColorButton; | 10 | class OColorButton; |
11 | 11 | ||
12 | class TabDialog : public QDialog { | 12 | class TabDialog : public QDialog { |
13 | Q_OBJECT | 13 | Q_OBJECT |
14 | public: | 14 | public: |
15 | TabDialog ( const QPixmap *tabicon, const QString &tabname, TabConfig &cfg, QWidget *parent = 0, const char *name = 0, bool modal = false, WFlags = 0 ); | 15 | TabDialog ( const QPixmap *tabicon, const QString &tabname, TabConfig &cfg, QWidget *parent = 0, const char *name = 0, bool modal = false, WFlags = 0 ); |
16 | virtual ~TabDialog ( ); | 16 | virtual ~TabDialog ( ); |
17 | 17 | ||
18 | public slots: | ||
19 | virtual void accept ( ); | ||
20 | |||
18 | protected slots: | 21 | protected slots: |
19 | void iconSizeClicked ( int ); | 22 | void iconSizeClicked ( int ); |
20 | void fontClicked ( const QFont & ); | 23 | void fontClicked ( const QFont & ); |
21 | void bgTypeClicked ( int ); | 24 | void bgTypeClicked ( int ); |
22 | void colorClicked ( const QColor & ); | 25 | void colorClicked ( const QColor & ); |
23 | 26 | ||
24 | private: | 27 | private: |
25 | QWidget *createBgTab ( QWidget *parent ); | 28 | QWidget *createBgTab ( QWidget *parent ); |
26 | QWidget *createFontTab ( QWidget *parent ); | 29 | QWidget *createFontTab ( QWidget *parent ); |
27 | QWidget *createIconTab ( QWidget *parent ); | 30 | QWidget *createIconTab ( QWidget *parent ); |
28 | 31 | ||
29 | 32 | ||
30 | private: | 33 | private: |
31 | SampleView *m_sample; | 34 | SampleView *m_sample; |
32 | QButtonGroup *m_iconsize; | 35 | QButtonGroup *m_iconsize; |
33 | OFontSelector *m_fontselect; | 36 | OFontSelector *m_fontselect; |
34 | OColorButton *m_solidcolor; | 37 | OColorButton *m_solidcolor; |
35 | 38 | ||
36 | QButtonGroup *m_bgtype; | 39 | QButtonGroup *m_bgtype; |
40 | |||
41 | TabConfig &m_tc; | ||
37 | }; | 42 | }; |
38 | 43 | ||
39 | 44 | ||
40 | #endif \ No newline at end of file | 45 | #endif \ No newline at end of file |