-rw-r--r-- | microkde/kdeui/ktoolbar.cpp | 6 | ||||
-rw-r--r-- | microkde/kdeui/ktoolbar.h | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/microkde/kdeui/ktoolbar.cpp b/microkde/kdeui/ktoolbar.cpp index 79b0f9d..e9226c0 100644 --- a/microkde/kdeui/ktoolbar.cpp +++ b/microkde/kdeui/ktoolbar.cpp @@ -1412,2 +1412,8 @@ void KToolBar::insertWidgetInternal( QWidget *w, int &index, int id ) } +void KToolBar::repaintMe() +{ + setUpdatesEnabled( true ); + QToolBar::repaint( true ); + qDebug(" KToolBar::repaintMe() "); +} diff --git a/microkde/kdeui/ktoolbar.h b/microkde/kdeui/ktoolbar.h index 2c061b5..61b5ea3 100644 --- a/microkde/kdeui/ktoolbar.h +++ b/microkde/kdeui/ktoolbar.h @@ -1047,2 +1047,3 @@ public: */ + void repaintMe(); static bool highlightSetting(); @@ -1062,2 +1063,3 @@ public slots: { QToolBar::setIconText( txt ); } + void slotRepaint(); @@ -1077,3 +1079,2 @@ private slots: void slotIconChanged(int); - void slotRepaint(); void toolBarPosChanged( QToolBar *tb ); |