summaryrefslogtreecommitdiffstats
path: root/knode/knode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knode/knode.cpp')
-rw-r--r--knode/knode.cpp22
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 );
}