diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:13:25 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:13:25 -0600 |
commit | 940c092f32d40263ad6b24f948eaf4c48b01e99a (patch) | |
tree | f5235b5c44e8aaedd3484a00551e29993d548590 /juk/systemtray.cpp | |
parent | ced2058eaf8e5af831ebc02812a18937ff7e1de3 (diff) | |
download | tdemultimedia-940c092f32d40263ad6b24f948eaf4c48b01e99a.tar.gz tdemultimedia-940c092f32d40263ad6b24f948eaf4c48b01e99a.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'juk/systemtray.cpp')
-rw-r--r-- | juk/systemtray.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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<KToggleAction>("togglePopups")->isChecked()) + if(!action<TDEToggleAction>("togglePopups")->isChecked()) return; delete m_popup; |