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 /knode/knode.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 'knode/knode.cpp')
-rw-r--r-- | knode/knode.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/knode/knode.cpp b/knode/knode.cpp index 0dd4e6a38..c2d7ee7f6 100644 --- a/knode/knode.cpp +++ b/knode/knode.cpp @@ -38,7 +38,7 @@ #include "kncollectionviewitem.h" #include "knhdrviewitem.h" -KNMainWindow::KNMainWindow( QWidget* pWidget ) +KNMainWindow::KNMainWindow( TQWidget* pWidget ) : KMainWindow(pWidget,"mainWindow") { //setupStatusBar(); @@ -46,17 +46,17 @@ KNMainWindow::KNMainWindow( QWidget* pWidget ) setStandardToolBarMenuEnabled(true); //config stuff - KStdAction::quit(kapp, SLOT(closeAllWindows()), actionCollection()); - KStdAction::configureToolbars(this, SLOT(slotConfToolbar()), actionCollection()); - KStdAction::keyBindings(this, SLOT(slotConfKeys()), actionCollection()); + KStdAction::quit(kapp, TQT_SLOT(closeAllWindows()), actionCollection()); + KStdAction::configureToolbars(this, TQT_SLOT(slotConfToolbar()), actionCollection()); + KStdAction::keyBindings(this, TQT_SLOT(slotConfKeys()), actionCollection()); m_mainWidget = new KNMainWidget( this, true, this, 0 ); - connect( m_mainWidget, SIGNAL(signalCaptionChangeRequest(const QString&)), - SLOT( setCaption(const QString&)) ); + connect( m_mainWidget, TQT_SIGNAL(signalCaptionChangeRequest(const TQString&)), + TQT_SLOT( setCaption(const TQString&)) ); setCentralWidget( m_mainWidget ); setupStatusBar(); - connect( KPIM::BroadcastStatus::instance(), SIGNAL(statusMsg(const QString&)), - this, SLOT(slotShowStatusMsg(const QString& )) ); + connect( KPIM::BroadcastStatus::instance(), TQT_SIGNAL(statusMsg(const TQString&)), + this, TQT_SLOT(slotShowStatusMsg(const TQString& )) ); createGUI( "knodeui.rc" ); knGlobals.instance = 0; @@ -77,7 +77,7 @@ void KNMainWindow::slotConfToolbar() { saveMainWindowSettings(knGlobals.config(),"mainWindow_options"); KEditToolbar dlg(actionCollection(), "knodeui.rc"); - connect(&dlg,SIGNAL( newToolbarConfig() ), this, SLOT( slotNewToolbarConfig() )); + connect(&dlg,TQT_SIGNAL( newToolbarConfig() ), this, TQT_SLOT( slotNewToolbarConfig() )); dlg.exec(); } @@ -108,14 +108,14 @@ void KNMainWindow::setupStatusBar() statusBar()->addWidget( mLittleProgress, 0 , true ); - mStatusMsgLabel = new KRSqueezedTextLabel( QString::null, statusBar() ); + mStatusMsgLabel = new KRSqueezedTextLabel( TQString::null, statusBar() ); mStatusMsgLabel->setAlignment( AlignLeft | AlignVCenter ); statusBar()->addWidget( mStatusMsgLabel, 2 ); statusBar()->addWidget(m_mainWidget->statusBarLabelFilter(), 2); statusBar()->addWidget(m_mainWidget->statusBarLabelGroup(), 3); } -void KNMainWindow::slotShowStatusMsg( const QString &msg ) { +void KNMainWindow::slotShowStatusMsg( const TQString &msg ) { mStatusMsgLabel->setText( msg ); } |