Permalink
Browse files

Removed virtual keyword where not appropriate.

  • Loading branch information...
1 parent ee35912 commit 9f6b7637638cb9ff7738def4ea0eaec77d95fddd @tarmack committed Feb 13, 2011
Showing with 7 additions and 7 deletions.
  1. +2 −2 Label.h
  2. +5 −5 Mangonel.h
View
@@ -12,14 +12,14 @@ class Label : public QLabel
enum side {left, right, both};
public:
Label(QWidget* parent = 0);
- virtual ~Label();
+ ~Label();
void setText(QString text);
void appendText(QString text);
QString completion();
void setCompletion(QString string);
QString preEdit();
void setPreEdit(QString preEdit);
- virtual void paintEvent(QPaintEvent*);
+ void paintEvent(QPaintEvent*);
private:
QString completionText;
QString preEditText;
View
@@ -33,7 +33,7 @@ class IconView : public QGraphicsView
Q_OBJECT
public:
IconView(QWidget* parent = 0);
- virtual ~IconView();
+ ~IconView();
void addProgram(Application application);
Application* selectedApp();
void moveItems(QString direction);
@@ -59,7 +59,7 @@ class Mangonel : public Plasma::Dialog
Q_OBJECT
public:
Mangonel(KApplication* app);
- virtual ~Mangonel();
+ ~Mangonel();
public slots:
void show();
void hide();
@@ -74,9 +74,9 @@ public slots:
int current;
bool event(QEvent* event);
void inputMethodEvent(QInputMethodEvent* event);
- virtual void keyPressEvent(QKeyEvent* event);
- virtual void focusInEvent(QFocusEvent* event);
- virtual void focusOutEvent(QFocusEvent* event);
+ void keyPressEvent(QKeyEvent* event);
+ void focusInEvent(QFocusEvent* event);
+ void focusOutEvent(QFocusEvent* event);
bool eventFilter(QObject *object, QEvent *event);
private slots:
void launch();

0 comments on commit 9f6b763

Please sign in to comment.