summaryrefslogtreecommitdiff
path: root/utils/themeeditor/gui
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2010-06-17 18:47:03 +0000
committerRobert Bieber <robby@bieberphoto.com>2010-06-17 18:47:03 +0000
commita9b30ee002d828f3f5e8f77ce6d132bb353ed31f (patch)
treeee6ab34ad2ffd60f5ba3e6f0dbbf7af62bf5b423 /utils/themeeditor/gui
parent8e8c8dce51c9b1cd5aa49e2d1edec908e2dfcdc6 (diff)
downloadrockbox-a9b30ee002d828f3f5e8f77ce6d132bb353ed31f.tar.gz
rockbox-a9b30ee002d828f3f5e8f77ce6d132bb353ed31f.zip
Theme Editor: Made allll destructors virtual
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26895 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/gui')
-rw-r--r--utils/themeeditor/gui/codeeditor.h1
-rw-r--r--utils/themeeditor/gui/configdocument.h1
-rw-r--r--utils/themeeditor/gui/editorwindow.h2
-rw-r--r--utils/themeeditor/gui/preferencesdialog.h2
4 files changed, 4 insertions, 2 deletions
diff --git a/utils/themeeditor/gui/codeeditor.h b/utils/themeeditor/gui/codeeditor.h
index 1771e31051..528dfb2c12 100644
--- a/utils/themeeditor/gui/codeeditor.h
+++ b/utils/themeeditor/gui/codeeditor.h
@@ -56,6 +56,7 @@ class CodeEditor : public QPlainTextEdit
56 56
57public: 57public:
58 CodeEditor(QWidget *parent = 0); 58 CodeEditor(QWidget *parent = 0);
59 virtual ~CodeEditor(){ }
59 60
60 void lineNumberAreaPaintEvent(QPaintEvent *event); 61 void lineNumberAreaPaintEvent(QPaintEvent *event);
61 int lineNumberAreaWidth(); 62 int lineNumberAreaWidth();
diff --git a/utils/themeeditor/gui/configdocument.h b/utils/themeeditor/gui/configdocument.h
index 746ed94627..0057ac15c4 100644
--- a/utils/themeeditor/gui/configdocument.h
+++ b/utils/themeeditor/gui/configdocument.h
@@ -41,6 +41,7 @@ class NoScrollCombo: public QComboBox
41{ 41{
42public: 42public:
43 NoScrollCombo(QWidget* parent = 0) : QComboBox(parent) {} 43 NoScrollCombo(QWidget* parent = 0) : QComboBox(parent) {}
44 virtual ~NoScrollCombo(){ }
44 45
45 void wheelEvent(QWheelEvent* event) { event->ignore(); } 46 void wheelEvent(QWheelEvent* event) { event->ignore(); }
46}; 47};
diff --git a/utils/themeeditor/gui/editorwindow.h b/utils/themeeditor/gui/editorwindow.h
index 6f73735100..08af08ac41 100644
--- a/utils/themeeditor/gui/editorwindow.h
+++ b/utils/themeeditor/gui/editorwindow.h
@@ -46,7 +46,7 @@ class EditorWindow : public QMainWindow
46 Q_OBJECT 46 Q_OBJECT
47public: 47public:
48 EditorWindow(QWidget *parent = 0); 48 EditorWindow(QWidget *parent = 0);
49 ~EditorWindow(); 49 virtual ~EditorWindow();
50 50
51 /* A public function so external widgets can load files */ 51 /* A public function so external widgets can load files */
52 void loadTabFromSkinFile(QString fileName); 52 void loadTabFromSkinFile(QString fileName);
diff --git a/utils/themeeditor/gui/preferencesdialog.h b/utils/themeeditor/gui/preferencesdialog.h
index e28a830751..d717d04ab8 100644
--- a/utils/themeeditor/gui/preferencesdialog.h
+++ b/utils/themeeditor/gui/preferencesdialog.h
@@ -33,7 +33,7 @@ class PreferencesDialog : public QDialog {
33 Q_OBJECT 33 Q_OBJECT
34public: 34public:
35 PreferencesDialog(QWidget *parent = 0); 35 PreferencesDialog(QWidget *parent = 0);
36 ~PreferencesDialog(); 36 virtual ~PreferencesDialog();
37 37
38 static void setButtonColor(QPushButton* button, QColor color) 38 static void setButtonColor(QPushButton* button, QColor color)
39 { 39 {