diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /korganizer/korganizer.cpp | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'korganizer/korganizer.cpp')
-rw-r--r-- | korganizer/korganizer.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/korganizer/korganizer.cpp b/korganizer/korganizer.cpp index 87dc79f4f..fae21bff1 100644 --- a/korganizer/korganizer.cpp +++ b/korganizer/korganizer.cpp @@ -73,12 +73,12 @@ #include <kstdguiitem.h> #include <kstatusbar.h> -#include <qcursor.h> -#include <qtimer.h> -#include <qvbox.h> -#include <qfile.h> -#include <qlabel.h> -#include <qlayout.h> +#include <tqcursor.h> +#include <tqtimer.h> +#include <tqvbox.h> +#include <tqfile.h> +#include <tqlabel.h> +#include <tqlayout.h> #include <stdlib.h> @@ -128,8 +128,8 @@ void KOrganizer::init( bool document ) } mActionManager->init(); - connect( mActionManager, SIGNAL( actionNew( const KURL & ) ), - SLOT( newMainWindow( const KURL & ) ) ); + connect( mActionManager, TQT_SIGNAL( actionNew( const KURL & ) ), + TQT_SLOT( newMainWindow( const KURL & ) ) ); mActionManager->loadParts(); @@ -139,7 +139,7 @@ void KOrganizer::init( bool document ) KStatusBar *bar = statusBar(); bar->insertItem( "", ID_GENERAL, 10 ); - connect( bar, SIGNAL( pressed( int ) ), SLOT( statusBarPressed( int ) ) ); + connect( bar, TQT_SIGNAL( pressed( int ) ), TQT_SLOT( statusBarPressed( int ) ) ); KPIM::ProgressDialog *progressDialog = new KPIM::ProgressDialog( bar, this ); progressDialog->hide(); @@ -150,8 +150,8 @@ void KOrganizer::init( bool document ) bar->addWidget( progressWidget, 0, true ); - connect( mActionManager->view(), SIGNAL( statusMessage( const QString & ) ), - SLOT( showStatusMessage( const QString & ) ) ); + connect( mActionManager->view(), TQT_SIGNAL( statusMessage( const TQString & ) ), + TQT_SLOT( showStatusMessage( const TQString & ) ) ); setStandardToolBarMenuEnabled( true ); setTitle(); @@ -208,9 +208,9 @@ void KOrganizer::initActions() setStandardToolBarMenuEnabled( true ); createStandardStatusBarAction(); - KStdAction::keyBindings(guiFactory(), SLOT(configureShortcuts()), actionCollection()); - KStdAction::configureToolbars(this, SLOT(configureToolbars() ), actionCollection()); - KStdAction::quit( this, SLOT( close() ), actionCollection() ); + KStdAction::keyBindings(guiFactory(), TQT_SLOT(configureShortcuts()), actionCollection()); + KStdAction::configureToolbars(this, TQT_SLOT(configureToolbars() ), actionCollection()); + KStdAction::quit( this, TQT_SLOT( close() ), actionCollection() ); setAutoSaveSettings(); createGUI( 0 ); @@ -241,7 +241,7 @@ void KOrganizer::statusBarPressed( int /*id*/ ) { } -void KOrganizer::showStatusMessage( const QString &message ) +void KOrganizer::showStatusMessage( const TQString &message ) { statusBar()->message(message,2000); } @@ -285,7 +285,7 @@ void KOrganizer::setTitle() { // kdDebug(5850) << "KOrganizer::setTitle" << endl; - QString title; + TQString title; if ( !hasDocument() ) { title = i18n("Calendar"); } else { |