diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 15:11:21 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 15:11:21 -0600 |
commit | f537c21b68e08f649b1b297bce8f3904603137e0 (patch) | |
tree | fb33065387509dea898c90022ddec9c3f8ede86d /kxkb | |
parent | dc5f267664506a312203c26bfe9001a448b0bb0f (diff) | |
download | tdebase-f537c21b68e08f649b1b297bce8f3904603137e0.tar.gz tdebase-f537c21b68e08f649b1b297bce8f3904603137e0.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kxkb')
-rw-r--r-- | kxkb/kxkb.cpp | 2 | ||||
-rw-r--r-- | kxkb/kxkbtraywindow.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/kxkb/kxkb.cpp b/kxkb/kxkb.cpp index 4e5ad5192..47fabcdfa 100644 --- a/kxkb/kxkb.cpp +++ b/kxkb/kxkb.cpp @@ -192,7 +192,7 @@ void KXKBApp::initTray() if( !m_tray ) { KSystemTray* sysTray = new KxkbSystemTray(); - KPopupMenu* popupMenu = sysTray->contextMenu(); + TDEPopupMenu* popupMenu = sysTray->contextMenu(); // popupMenu->insertTitle( kapp->miniIcon(), kapp->caption() ); m_tray = new KxkbLabelController(sysTray, popupMenu); diff --git a/kxkb/kxkbtraywindow.cpp b/kxkb/kxkbtraywindow.cpp index 749ef4353..6f899eadd 100644 --- a/kxkb/kxkbtraywindow.cpp +++ b/kxkb/kxkbtraywindow.cpp @@ -66,7 +66,7 @@ void KxkbLabelController::setError(const TQString& layoutInfo) void KxkbLabelController::initLayoutList(const TQValueList<LayoutUnit>& layouts, const XkbRules& rules) { -// KPopupMenu* menu = contextMenu(); +// TDEPopupMenu* menu = contextMenu(); TQPopupMenu* menu = contextMenu; // int index = menu->indexOf(0); @@ -114,7 +114,7 @@ void KxkbLabelController::initLayoutList(const TQValueList<LayoutUnit>& layouts, /* if( index != -1 ) { //not first start menu->insertSeparator(); - KAction* quitAction = KStdAction::quit(this, TQT_SIGNAL(quitSelected()), actionCollection()); + TDEAction* quitAction = KStdAction::quit(this, TQT_SIGNAL(quitSelected()), actionCollection()); if (quitAction) quitAction->plug(menu); }*/ |