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 @@ -25,14 +25,12 @@ class QMyDialog: public QDialog Q_OBJECT public: QMyDialog(QWidget*); ~QMyDialog(); public: QListBox* ListBox; - QPushButton* OKButton; - QPushButton* CancelButton; QLabel* Label1; QLineEdit* ServerNameEdit; QLabel* Label2; QLineEdit* UserNameEdit; QLabel* Label3; QLineEdit* IPEdit; @@ -43,14 +41,12 @@ class QMyDialog: public QDialog QPushButton* EditButton; QPushButton* SaveButton; QPushButton* RemoveButton; QCheckBox* FullScreenCheckBox; public slots: void ComboChanged(int); - void OKClicked(); - void CancelClicked(); void AddClicked(); void EditClicked(); void SaveClicked(); void RemoveClicked(); void ListBoxChanged(); void ListBoxSelected(int); @@ -59,12 +55,14 @@ class QMyDialog: public QDialog QString UserName; QString ServerIP; int Width; int Height; int FullScreen; QMyConnectionItem* ConnectionList[10]; + protected slots: + void accept(); }; class QMyScrollView: public QScrollView { Q_OBJECT public: |