summaryrefslogtreecommitdiffstats
path: root/src/dialog.h
diff options
context:
space:
mode:
authorJan Darmochwal2010-10-07 16:56:12 +0200
committerJan Darmochwal2010-10-07 16:56:12 +0200
commite7e9cf2849d0000acf47ecde86e4853687a03409 (patch)
treeaa811c315fa49eccf3691f932ebbc8b28d67fa14 /src/dialog.h
parentAdded files to parse command line options (diff)
downloadvmchooser-e7e9cf2849d0000acf47ecde86e4853687a03409.tar.gz
vmchooser-e7e9cf2849d0000acf47ecde86e4853687a03409.tar.xz
vmchooser-e7e9cf2849d0000acf47ecde86e4853687a03409.zip
Tidy up the code
* fixed compiler warnings, added -Werror to CMakeLists.txt * removed LibXml2 and boost stuff from CMakeLists.txt * fixed some things cpplint.py complains about: * make single-argument constructors explicit * add space before if/for/while/... * don't put { on a line of its own * remove space after ! operator * add space between // and comment * remove extra space before ( in function call * remove extra space before ) * shorten lines to <= 80 characters * remove blank lines at the start of a code block * maybe others
Diffstat (limited to 'src/dialog.h')
-rw-r--r--src/dialog.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/dialog.h b/src/dialog.h
index f8794d9..1b2e7c9 100644
--- a/src/dialog.h
+++ b/src/dialog.h
@@ -14,24 +14,24 @@ namespace Ui {
class Dialog : public QDialog {
Q_OBJECT
-public:
- Dialog(QWidget *parent = 0);
+ public:
+ explicit Dialog(QWidget *parent = 0);
~Dialog();
void addItems(const QList<Session*>&, const QString& section);
void selectSession(const QString& name);
void selectPreviousSession();
-protected:
+ protected:
void changeEvent(QEvent *e);
-private:
+ private:
Ui::Dialog *ui;
SessionTreeModel *model_;
OrgOpenslxPvsInterface *ifaceDBus_;
void readPVSSettings();
void writePVSSettings();
-private slots:
+ private slots:
void on_comboBoxOthers_currentIndexChanged(int index);
void on_comboBoxLecturer_currentIndexChanged(int index);
void on_pushButtonStart_clicked();