From fd5d099065a748cac49e20a13481f85666c53c71 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:14:12 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- kandy/src/mobilemain.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kandy/src/mobilemain.cpp') diff --git a/kandy/src/mobilemain.cpp b/kandy/src/mobilemain.cpp index 43210ba8f..e66909394 100644 --- a/kandy/src/mobilemain.cpp +++ b/kandy/src/mobilemain.cpp @@ -48,7 +48,7 @@ #include "mobilemain.moc" MobileMain::MobileMain(CommandScheduler *scheduler, KandyPrefs *prefs) - : KMainWindow( 0, "MobileMain" ) + : TDEMainWindow( 0, "MobileMain" ) { mView = new MobileGui(scheduler, prefs, this); setCentralWidget(mView); @@ -73,7 +73,7 @@ void MobileMain::setupActions() { KStdAction::quit(TQT_TQOBJECT(this), TQT_SLOT(close()), actionCollection()); - new KAction(i18n("Terminal"),0,TQT_TQOBJECT(this),TQT_SLOT(showTerminal()), + new TDEAction(i18n("Terminal"),0,TQT_TQOBJECT(this),TQT_SLOT(showTerminal()), actionCollection(),"show_terminal"); createStandardStatusBarAction(); @@ -104,7 +104,7 @@ void MobileMain::readProperties(TDEConfig */*config*/) void MobileMain::dragEnterEvent(TQDragEnterEvent *event) { // do nothing - KMainWindow::dragEnterEvent(event); + TDEMainWindow::dragEnterEvent(event); // accept uri drops only // event->accept(KURLDrag::canDecode(event)); @@ -117,7 +117,7 @@ void MobileMain::dropEvent(TQDropEvent *event) // much more, so please read the docs there // do nothing - KMainWindow::dropEvent(event); + TDEMainWindow::dropEvent(event); } void MobileMain::optionsConfigureKeys() -- cgit v1.2.1