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 ~QMyDialog(); public: QListBox* ListBox; - QPushButton* OKButton; - QPushButton* CancelButton; QLabel* Label1; QLineEdit* ServerNameEdit; QLabel* Label2; @@ -46,8 +44,6 @@ class QMyDialog: public QDialog QCheckBox* FullScreenCheckBox; public slots: void ComboChanged(int); - void OKClicked(); - void CancelClicked(); void AddClicked(); void EditClicked(); void SaveClicked(); @@ -62,6 +58,8 @@ class QMyDialog: public QDialog int Height; int FullScreen; QMyConnectionItem* ConnectionList[10]; + protected slots: + void accept(); }; class QMyScrollView: public QScrollView |