author | zecke <zecke> | 2005-02-14 17:53:31 (UTC) |
---|---|---|
committer | zecke <zecke> | 2005-02-14 17:53:31 (UTC) |
commit | 41881e3dcd695dc8ecdc5ef22cefd6f842858992 (patch) (unidiff) | |
tree | bd533c7e75700bbafb69ab8a7cd53eb031969080 /noncore/net/opierdesktop/qtwin.h | |
parent | 0e6780c400fbae2ccd8895e40480adb4273906ae (diff) | |
download | opie-41881e3dcd695dc8ecdc5ef22cefd6f842858992.zip opie-41881e3dcd695dc8ecdc5ef22cefd6f842858992.tar.gz opie-41881e3dcd695dc8ecdc5ef22cefd6f842858992.tar.bz2 |
Remove the special Ok/Cancel handling and go with what QDialog provides
This also fixes crashes when the user clicked ok in the Dialog
Diffstat (limited to 'noncore/net/opierdesktop/qtwin.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opierdesktop/qtwin.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/noncore/net/opierdesktop/qtwin.h b/noncore/net/opierdesktop/qtwin.h index 38ad190..7a2110b 100644 --- a/noncore/net/opierdesktop/qtwin.h +++ b/noncore/net/opierdesktop/qtwin.h | |||
@@ -28,8 +28,6 @@ class QMyDialog: public QDialog | |||
28 | ~QMyDialog(); | 28 | ~QMyDialog(); |
29 | public: | 29 | public: |
30 | QListBox* ListBox; | 30 | QListBox* ListBox; |
31 | QPushButton* OKButton; | ||
32 | QPushButton* CancelButton; | ||
33 | QLabel* Label1; | 31 | QLabel* Label1; |
34 | QLineEdit* ServerNameEdit; | 32 | QLineEdit* ServerNameEdit; |
35 | QLabel* Label2; | 33 | QLabel* Label2; |
@@ -46,8 +44,6 @@ class QMyDialog: public QDialog | |||
46 | QCheckBox* FullScreenCheckBox; | 44 | QCheckBox* FullScreenCheckBox; |
47 | public slots: | 45 | public slots: |
48 | void ComboChanged(int); | 46 | void ComboChanged(int); |
49 | void OKClicked(); | ||
50 | void CancelClicked(); | ||
51 | void AddClicked(); | 47 | void AddClicked(); |
52 | void EditClicked(); | 48 | void EditClicked(); |
53 | void SaveClicked(); | 49 | void SaveClicked(); |
@@ -62,6 +58,8 @@ class QMyDialog: public QDialog | |||
62 | int Height; | 58 | int Height; |
63 | int FullScreen; | 59 | int FullScreen; |
64 | QMyConnectionItem* ConnectionList[10]; | 60 | QMyConnectionItem* ConnectionList[10]; |
61 | protected slots: | ||
62 | void accept(); | ||
65 | }; | 63 | }; |
66 | 64 | ||
67 | class QMyScrollView: public QScrollView | 65 | class QMyScrollView: public QScrollView |