diff options
Diffstat (limited to 'kandy/src/mobilemain.cpp')
-rw-r--r-- | kandy/src/mobilemain.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/kandy/src/mobilemain.cpp b/kandy/src/mobilemain.cpp index 118ee7f4e..6143dec7b 100644 --- a/kandy/src/mobilemain.cpp +++ b/kandy/src/mobilemain.cpp @@ -39,7 +39,7 @@ #include <kaction.h> #include <kstdaction.h> -#include <qpushbutton.h> +#include <tqpushbutton.h> #include "mobilegui.h" @@ -55,10 +55,10 @@ MobileMain::MobileMain(CommandScheduler *scheduler, KandyPrefs *prefs) setupActions(); statusBar()->insertItem(i18n(" Disconnected "),1,0,true); - connect(mView,SIGNAL(statusMessage(const QString &)), - SLOT(showStatusMessage(const QString &))); - connect(mView,SIGNAL(transientStatusMessage(const QString &)), - SLOT(showTransientStatusMessage(const QString &))); + connect(mView,TQT_SIGNAL(statusMessage(const TQString &)), + TQT_SLOT(showStatusMessage(const TQString &))); + connect(mView,TQT_SIGNAL(transientStatusMessage(const TQString &)), + TQT_SLOT(showTransientStatusMessage(const TQString &))); statusBar()->show(); @@ -71,17 +71,17 @@ MobileMain::~MobileMain() void MobileMain::setupActions() { - KStdAction::quit(this, SLOT(close()), actionCollection()); + KStdAction::quit(this, TQT_SLOT(close()), actionCollection()); - new KAction(i18n("Terminal"),0,this,SLOT(showTerminal()), + new KAction(i18n("Terminal"),0,this,TQT_SLOT(showTerminal()), actionCollection(),"show_terminal"); createStandardStatusBarAction(); setStandardToolBarMenuEnabled(true); - KStdAction::keyBindings(this, SLOT(optionsConfigureKeys()), actionCollection()); - KStdAction::configureToolbars(this, SLOT(optionsConfigureToolbars()), actionCollection()); - KStdAction::preferences(this, SLOT(optionsPreferences()), actionCollection()); + KStdAction::keyBindings(this, TQT_SLOT(optionsConfigureKeys()), actionCollection()); + KStdAction::configureToolbars(this, TQT_SLOT(optionsConfigureToolbars()), actionCollection()); + KStdAction::preferences(this, TQT_SLOT(optionsPreferences()), actionCollection()); createGUI("kandymobileui.rc"); } @@ -101,7 +101,7 @@ void MobileMain::readProperties(KConfig */*config*/) // in 'saveProperties' } -void MobileMain::dragEnterEvent(QDragEnterEvent *event) +void MobileMain::dragEnterEvent(TQDragEnterEvent *event) { // do nothing KMainWindow::dragEnterEvent(event); @@ -110,7 +110,7 @@ void MobileMain::dragEnterEvent(QDragEnterEvent *event) // event->accept(KURLDrag::canDecode(event)); } -void MobileMain::dropEvent(QDropEvent *event) +void MobileMain::dropEvent(TQDropEvent *event) { // this is a very simplistic implementation of a drop event. we // will only accept a dropped URL. the Qt dnd code can do *much* @@ -130,7 +130,7 @@ void MobileMain::optionsConfigureToolbars() // use the standard toolbar editor saveMainWindowSettings( KGlobal::config(), autoSaveGroup() ); KEditToolbar dlg(actionCollection()); - connect(&dlg, SIGNAL(newToolbarConfig()), this, SLOT(newToolbarConfig())); + connect(&dlg, TQT_SIGNAL(newToolbarConfig()), this, TQT_SLOT(newToolbarConfig())); dlg.exec(); } @@ -146,19 +146,19 @@ void MobileMain::optionsPreferences() emit showPreferencesWin(); } -void MobileMain::showStatusMessage(const QString& text) +void MobileMain::showStatusMessage(const TQString& text) { // display the text on the statusbar statusBar()->message(text); } -void MobileMain::showTransientStatusMessage(const QString& text) +void MobileMain::showTransientStatusMessage(const TQString& text) { // display the text on the statusbar for 2 s. statusBar()->message(text,2000); } -void MobileMain::changeCaption(const QString& text) +void MobileMain::changeCaption(const TQString& text) { // display the text on the caption setCaption(text); |