Zhenkai Zhu | 85845d2 | 2012-06-01 23:10:43 -0700 | [diff] [blame] | 1 | #ifndef SETTINGDIALOG_H |
| 2 | #define SETTINGDIALOG_H |
| 3 | #include "ui_settingdialog.h" |
Zhenkai Zhu | 56a60ce | 2012-06-02 12:55:07 -0700 | [diff] [blame] | 4 | #include <QKeyEvent> |
Zhenkai Zhu | 85845d2 | 2012-06-01 23:10:43 -0700 | [diff] [blame] | 5 | |
| 6 | class SettingDialog : public QDialog, private Ui::SettingDialog |
| 7 | { |
| 8 | Q_OBJECT |
| 9 | |
| 10 | public: |
| 11 | SettingDialog(QWidget *parent = 0, QString nick = QString("NULL"), QString chatroom = QString("NULL"), QString prefix = QString("NULL")); |
Zhenkai Zhu | 56a60ce | 2012-06-02 12:55:07 -0700 | [diff] [blame] | 12 | virtual void keyPressEvent(QKeyEvent *e); |
Zhenkai Zhu | 7e9b06d | 2012-06-02 00:44:42 -0700 | [diff] [blame] | 13 | |
| 14 | private slots: |
| 15 | void update(); |
| 16 | |
| 17 | signals: |
| 18 | void updated(QString, QString, QString); |
| 19 | |
Zhenkai Zhu | 85845d2 | 2012-06-01 23:10:43 -0700 | [diff] [blame] | 20 | }; |
| 21 | |
| 22 | #endif |