author | zecke <zecke> | 2005-02-14 17:53:31 (UTC) |
---|---|---|
committer | zecke <zecke> | 2005-02-14 17:53:31 (UTC) |
commit | 41881e3dcd695dc8ecdc5ef22cefd6f842858992 (patch) (side-by-side diff) | |
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 @@ -30,4 +30,2 @@ class QMyDialog: public QDialog QListBox* ListBox; - QPushButton* OKButton; - QPushButton* CancelButton; QLabel* Label1; @@ -48,4 +46,2 @@ class QMyDialog: public QDialog void ComboChanged(int); - void OKClicked(); - void CancelClicked(); void AddClicked(); @@ -64,2 +60,4 @@ class QMyDialog: public QDialog QMyConnectionItem* ConnectionList[10]; + protected slots: + void accept(); }; |