summaryrefslogtreecommitdiffstats
path: root/korganizer/korganizer_part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/korganizer_part.cpp')
-rw-r--r--korganizer/korganizer_part.cpp38
1 files changed, 19 insertions, 19 deletions
diff --git a/korganizer/korganizer_part.cpp b/korganizer/korganizer_part.cpp
index 32786943d..572255494 100644
--- a/korganizer/korganizer_part.cpp
+++ b/korganizer/korganizer_part.cpp
@@ -58,17 +58,17 @@
#include <sidebarextension.h>
#include <infoextension.h>
-#include <qapplication.h>
-#include <qfile.h>
-#include <qtimer.h>
-#include <qlayout.h>
+#include <tqapplication.h>
+#include <tqfile.h>
+#include <tqtimer.h>
+#include <tqlayout.h>
typedef KParts::GenericFactory< KOrganizerPart > KOrganizerFactory;
K_EXPORT_COMPONENT_FACTORY( libkorganizerpart, KOrganizerFactory )
-KOrganizerPart::KOrganizerPart( QWidget *parentWidget, const char *widgetName,
- QObject *parent, const char *name,
- const QStringList & ) :
+KOrganizerPart::KOrganizerPart( TQWidget *parentWidget, const char *widgetName,
+ TQObject *parent, const char *name,
+ const TQStringList & ) :
KParts::ReadOnlyPart(parent, name), mTopLevelWidget( parentWidget->topLevelWidget() )
{
KGlobal::locale()->insertCatalogue( "libkcal" );
@@ -77,11 +77,11 @@ KOrganizerPart::KOrganizerPart( QWidget *parentWidget, const char *widgetName,
KOCore::self()->addXMLGUIClient( mTopLevelWidget, this );
- QString pname( name );
+ TQString pname( name );
// create a canvas to insert our widget
- QWidget *canvas = new QWidget( parentWidget, widgetName );
- canvas->setFocusPolicy( QWidget::ClickFocus );
+ TQWidget *canvas = new TQWidget( parentWidget, widgetName );
+ canvas->setFocusPolicy( TQWidget::ClickFocus );
setWidget( canvas );
mView = new CalendarView( canvas );
@@ -102,17 +102,17 @@ KOrganizerPart::KOrganizerPart( QWidget *parentWidget, const char *widgetName,
setInstance( KOrganizerFactory::instance() );
- QVBoxLayout *topLayout = new QVBoxLayout( canvas );
+ TQVBoxLayout *topLayout = new TQVBoxLayout( canvas );
topLayout->addWidget( mView );
new KParts::SideBarExtension( mView->leftFrame(), this, "SBE" );
KParts::InfoExtension *ie = new KParts::InfoExtension( this,
"KOrganizerInfo" );
- connect( mView, SIGNAL( incidenceSelected( Incidence * ) ),
- SLOT( slotChangeInfo( Incidence * ) ) );
- connect( this, SIGNAL( textChanged( const QString & ) ),
- ie, SIGNAL( textChanged( const QString & ) ) );
+ connect( mView, TQT_SIGNAL( incidenceSelected( Incidence * ) ),
+ TQT_SLOT( slotChangeInfo( Incidence * ) ) );
+ connect( this, TQT_SIGNAL( textChanged( const TQString & ) ),
+ ie, TQT_SIGNAL( textChanged( const TQString & ) ) );
mActionManager->init();
mActionManager->readSettings();
@@ -151,11 +151,11 @@ void KOrganizerPart::slotChangeInfo( Incidence *incidence )
emit textChanged( incidence->summary() + " / " +
incidence->dtStartTimeStr() );
} else {
- emit textChanged( QString::null );
+ emit textChanged( TQString::null );
}
}
-QWidget *KOrganizerPart::topLevelWidget()
+TQWidget *KOrganizerPart::topLevelWidget()
{
return mView->topLevelWidget();
}
@@ -165,7 +165,7 @@ ActionManager *KOrganizerPart::actionManager()
return mActionManager;
}
-void KOrganizerPart::showStatusMessage( const QString &message )
+void KOrganizerPart::showStatusMessage( const TQString &message )
{
KStatusBar *statusBar = mStatusBarExtension->statusBar();
if ( statusBar ) statusBar->message( message );
@@ -211,7 +211,7 @@ void KOrganizerPart::setTitle()
// type of view (calendar, to-do, journal). How can I add the filter
// name in that case?
/*
- QString title;
+ TQString title;
if ( !hasDocument() ) {
title = i18n("Calendar");
} else {