1
0
Fork 0
forked from len0rd/rockbox

Theme Editor: Made allll destructors virtual

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26895 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Robert Bieber 2010-06-17 18:47:03 +00:00
parent 8e8c8dce51
commit a9b30ee002
4 changed files with 4 additions and 2 deletions

View file

@ -56,6 +56,7 @@ class CodeEditor : public QPlainTextEdit
public: public:
CodeEditor(QWidget *parent = 0); CodeEditor(QWidget *parent = 0);
virtual ~CodeEditor(){ }
void lineNumberAreaPaintEvent(QPaintEvent *event); void lineNumberAreaPaintEvent(QPaintEvent *event);
int lineNumberAreaWidth(); int lineNumberAreaWidth();

View file

@ -41,6 +41,7 @@ class NoScrollCombo: public QComboBox
{ {
public: public:
NoScrollCombo(QWidget* parent = 0) : QComboBox(parent) {} NoScrollCombo(QWidget* parent = 0) : QComboBox(parent) {}
virtual ~NoScrollCombo(){ }
void wheelEvent(QWheelEvent* event) { event->ignore(); } void wheelEvent(QWheelEvent* event) { event->ignore(); }
}; };

View file

@ -46,7 +46,7 @@ class EditorWindow : public QMainWindow
Q_OBJECT Q_OBJECT
public: public:
EditorWindow(QWidget *parent = 0); EditorWindow(QWidget *parent = 0);
~EditorWindow(); virtual ~EditorWindow();
/* A public function so external widgets can load files */ /* A public function so external widgets can load files */
void loadTabFromSkinFile(QString fileName); void loadTabFromSkinFile(QString fileName);

View file

@ -33,7 +33,7 @@ class PreferencesDialog : public QDialog {
Q_OBJECT Q_OBJECT
public: public:
PreferencesDialog(QWidget *parent = 0); PreferencesDialog(QWidget *parent = 0);
~PreferencesDialog(); virtual ~PreferencesDialog();
static void setButtonColor(QPushButton* button, QColor color) static void setButtonColor(QPushButton* button, QColor color)
{ {