diff options
Diffstat (limited to 'noatun')
-rw-r--r-- | noatun/library/app.cpp | 6 | ||||
-rw-r--r-- | noatun/modules/keyz/keyz.cpp | 2 | ||||
-rw-r--r-- | noatun/modules/splitplaylist/playlist.cpp | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/noatun/library/app.cpp b/noatun/library/app.cpp index 42615a8b..2db96950 100644 --- a/noatun/library/app.cpp +++ b/noatun/library/app.cpp @@ -117,7 +117,7 @@ NoatunApp::NoatunApp() { KMessageBox::error(0,i18n("No playlist plugin was found. " \ "Please make sure that Noatun was installed correctly.")); - KApplication::quit(); + TDEApplication::quit(); delete this; } else @@ -400,7 +400,7 @@ void NoatunApp::preferences() void NoatunApp::quit() { - KApplication::quit(); + TDEApplication::quit(); } void NoatunApp::fileOpen() @@ -487,7 +487,7 @@ void NoatunApp::saveState(TQSessionManager &sm) TQStringList restartCommand = sm.restartCommand(); sm.setRestartCommand( restartCommand ); - KApplication::saveState(sm); + TDEApplication::saveState(sm); } // Deprecated diff --git a/noatun/modules/keyz/keyz.cpp b/noatun/modules/keyz/keyz.cpp index 143be362..0229f619 100644 --- a/noatun/modules/keyz/keyz.cpp +++ b/noatun/modules/keyz/keyz.cpp @@ -147,7 +147,7 @@ void Keyz::slotPrevSection() void Keyz::slotCopyTitle() { if (napp->player()->current()) - KApplication::kApplication()->clipboard()->setText(napp->player()->current().title()); + TDEApplication::kApplication()->clipboard()->setText(napp->player()->current().title()); } diff --git a/noatun/modules/splitplaylist/playlist.cpp b/noatun/modules/splitplaylist/playlist.cpp index a08faa94..e9d8acae 100644 --- a/noatun/modules/splitplaylist/playlist.cpp +++ b/noatun/modules/splitplaylist/playlist.cpp @@ -58,7 +58,7 @@ PlaylistItem SplitPlaylist::next(bool play) if (lview->childCount()) { SafeListViewItem *slvi = static_cast<SafeListViewItem*>( - lview->itemAtIndex(KApplication::random() % lview->childCount()) + lview->itemAtIndex(TDEApplication::random() % lview->childCount()) ); nextItem = PlaylistItem(slvi); } |