From 940c092f32d40263ad6b24f948eaf4c48b01e99a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:13:25 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- juk/systemtray.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'juk/systemtray.cpp') diff --git a/juk/systemtray.cpp b/juk/systemtray.cpp index e7c2a90e..045b00f0 100644 --- a/juk/systemtray.cpp +++ b/juk/systemtray.cpp @@ -162,10 +162,10 @@ SystemTray::SystemTray(TQWidget *parent, const char *name) : KSystemTray(parent, // Just create this here so that it show up in the DCOP interface and the key // bindings dialog. - new KAction(i18n("Redisplay Popup"), KShortcut(), TQT_TQOBJECT(this), + new TDEAction(i18n("Redisplay Popup"), TDEShortcut(), TQT_TQOBJECT(this), TQT_SLOT(slotPlay()), ActionCollection::actions(), "showPopup"); - KPopupMenu *cm = contextMenu(); + TDEPopupMenu *cm = contextMenu(); connect(PlayerManager::instance(), TQT_SIGNAL(signalPlay()), this, TQT_SLOT(slotPlay())); connect(PlayerManager::instance(), TQT_SIGNAL(signalPause()), this, TQT_SLOT(slotPause())); @@ -181,7 +181,7 @@ SystemTray::SystemTray(TQWidget *parent, const char *name) : KSystemTray(parent, // Pity the actionCollection doesn't keep track of what sub-menus it has. - KActionMenu *menu = new KActionMenu(i18n("&Random Play"), TQT_TQOBJECT(this)); + TDEActionMenu *menu = new TDEActionMenu(i18n("&Random Play"), TQT_TQOBJECT(this)); menu->insert(action("disableRandomPlay")); menu->insert(action("randomPlay")); menu->insert(action("albumRandomPlay")); @@ -347,7 +347,7 @@ void SystemTray::createPopup() // If the action exists and it's checked, do our stuff - if(!action("togglePopups")->isChecked()) + if(!action("togglePopups")->isChecked()) return; delete m_popup; -- cgit v1.2.1