X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2FUserInterface%2FViews%2FSettingsView.h;fp=src%2FUserInterface%2FViews%2FSettingsView.h;h=c86e6900e596092127e0ddfb48959d6fb1b973dc;hb=35a7d057e9343d0a940200074bef13991954bd2d;hp=2845a8dad297016af1f5ac42eb0d7b8f797b3f58;hpb=8e4cea2a85073fb73a1dc58fb4adabb6269f4ac9;p=qtmeetings diff --git a/src/UserInterface/Views/SettingsView.h b/src/UserInterface/Views/SettingsView.h index 2845a8d..c86e690 100644 --- a/src/UserInterface/Views/SettingsView.h +++ b/src/UserInterface/Views/SettingsView.h @@ -30,12 +30,16 @@ public: signals: void okClicked(); + void cancelClicked(); + public slots: void viewResized(const QSize &newSize, const QSize &oldSize); private slots: //! Slot to handle the Ok button pressing. void handleOkClicked(); + //! Slot to handle the Cancel button pressing. + void handleCancelClicked(); private: //! Initialize "Settings" tab. @@ -46,11 +50,15 @@ private: QWidget *initResourcesTab(); //! Initialize "KIOSK Mode" tab. QWidget *initKioskModeTab(); + //! Set values to fields + void setValues(); //! The tabbed settings view component. QTabWidget *iTabWidget; //! OK button to dismiss the settings view with saving the settings. QPushButton *iOkButton; + //! Cancel button to dismiss the settings view without saving the settings + QPushButton *iCancelButton; //! Settings tab. QWidget *iSettingsTab; //! Week View tab.