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:
parent
8e8c8dce51
commit
a9b30ee002
4 changed files with 4 additions and 2 deletions
|
@ -56,6 +56,7 @@ class CodeEditor : public QPlainTextEdit
|
|||
|
||||
public:
|
||||
CodeEditor(QWidget *parent = 0);
|
||||
virtual ~CodeEditor(){ }
|
||||
|
||||
void lineNumberAreaPaintEvent(QPaintEvent *event);
|
||||
int lineNumberAreaWidth();
|
||||
|
|
|
@ -41,6 +41,7 @@ class NoScrollCombo: public QComboBox
|
|||
{
|
||||
public:
|
||||
NoScrollCombo(QWidget* parent = 0) : QComboBox(parent) {}
|
||||
virtual ~NoScrollCombo(){ }
|
||||
|
||||
void wheelEvent(QWheelEvent* event) { event->ignore(); }
|
||||
};
|
||||
|
|
|
@ -46,7 +46,7 @@ class EditorWindow : public QMainWindow
|
|||
Q_OBJECT
|
||||
public:
|
||||
EditorWindow(QWidget *parent = 0);
|
||||
~EditorWindow();
|
||||
virtual ~EditorWindow();
|
||||
|
||||
/* A public function so external widgets can load files */
|
||||
void loadTabFromSkinFile(QString fileName);
|
||||
|
|
|
@ -33,7 +33,7 @@ class PreferencesDialog : public QDialog {
|
|||
Q_OBJECT
|
||||
public:
|
||||
PreferencesDialog(QWidget *parent = 0);
|
||||
~PreferencesDialog();
|
||||
virtual ~PreferencesDialog();
|
||||
|
||||
static void setButtonColor(QPushButton* button, QColor color)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue