summaryrefslogtreecommitdiff
path: root/noncore/net/opieirc/ircsettings.h
authordrw <drw>2002-12-30 00:52:51 (UTC)
committer drw <drw>2002-12-30 00:52:51 (UTC)
commitc7bbdeed0daeda9af5115ffa0f1fb1026a338e2d (patch) (unidiff)
tree641b0a344cc9e274c39df282c4478dd74644d813 /noncore/net/opieirc/ircsettings.h
parent9ec4adfb12bd5c92427a79c6b63a064a0033a67a (diff)
downloadopie-c7bbdeed0daeda9af5115ffa0f1fb1026a338e2d.zip
opie-c7bbdeed0daeda9af5115ffa0f1fb1026a338e2d.tar.gz
opie-c7bbdeed0daeda9af5115ffa0f1fb1026a338e2d.tar.bz2
Use OTabWidget & OColorButtons in config dialog for consistency w/other apps (reduces executable size by ~4k as well).
Diffstat (limited to 'noncore/net/opieirc/ircsettings.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opieirc/ircsettings.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/noncore/net/opieirc/ircsettings.h b/noncore/net/opieirc/ircsettings.h
index 190abaf..cb8d896 100644
--- a/noncore/net/opieirc/ircsettings.h
+++ b/noncore/net/opieirc/ircsettings.h
@@ -25,24 +25,25 @@
25#include <qdialog.h> 25#include <qdialog.h>
26#include <qlineedit.h> 26#include <qlineedit.h>
27 27
28class OColorButton;
29
28class IRCSettings : public QDialog { 30class IRCSettings : public QDialog {
29 Q_OBJECT 31 Q_OBJECT
30public: 32public:
31 IRCSettings(QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags f = 0); 33 IRCSettings(QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags f = 0);
32 QString getColorString(QWidget *widget);
33 ~IRCSettings(); 34 ~IRCSettings();
34protected slots: 35protected slots:
35 void accept(); 36 void accept();
36protected: 37protected:
37 Config *m_config; 38 Config *m_config;
38 QWidget *m_background; 39 OColorButton *m_background;
39 QWidget *m_text; 40 OColorButton *m_text;
40 QWidget *m_error; 41 OColorButton *m_error;
41 QWidget *m_self; 42 OColorButton *m_self;
42 QWidget *m_server; 43 OColorButton *m_server;
43 QWidget *m_other; 44 OColorButton *m_other;
44 QWidget *m_notification; 45 OColorButton *m_notification;
45 QLineEdit *m_lines; 46 QLineEdit *m_lines;
46}; 47};
47 48
48#endif /* __IRCSETTINGS_H */ 49#endif /* __IRCSETTINGS_H */