summaryrefslogtreecommitdiffstats
path: root/kontact/plugins/korganizer/kcmkorgsummary.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kontact/plugins/korganizer/kcmkorgsummary.cpp')
-rw-r--r--kontact/plugins/korganizer/kcmkorgsummary.cpp52
1 files changed, 26 insertions, 26 deletions
diff --git a/kontact/plugins/korganizer/kcmkorgsummary.cpp b/kontact/plugins/korganizer/kcmkorgsummary.cpp
index 9ab0b6838..2a4b6a3e1 100644
--- a/kontact/plugins/korganizer/kcmkorgsummary.cpp
+++ b/kontact/plugins/korganizer/kcmkorgsummary.cpp
@@ -21,11 +21,11 @@
without including the source code for Qt in the source distribution.
*/
-#include <qbuttongroup.h>
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qradiobutton.h>
-#include <qspinbox.h>
+#include <tqbuttongroup.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
+#include <tqradiobutton.h>
+#include <tqspinbox.h>
#include <kaboutdata.h>
#include <kapplication.h>
@@ -41,24 +41,24 @@
extern "C"
{
- KDE_EXPORT KCModule *create_korgsummary( QWidget *parent, const char * )
+ KDE_EXPORT KCModule *create_korgsummary( TQWidget *parent, const char * )
{
return new KCMKOrgSummary( parent, "kcmkorgsummary" );
}
}
-KCMKOrgSummary::KCMKOrgSummary( QWidget *parent, const char *name )
+KCMKOrgSummary::KCMKOrgSummary( TQWidget *parent, const char *name )
: KCModule( parent, name )
{
initGUI();
customDaysChanged( 1 );
- connect( mCalendarGroup, SIGNAL( clicked( int ) ), SLOT( modified() ) );
- connect( mCalendarGroup, SIGNAL( clicked( int ) ), SLOT( buttonClicked( int ) ) );
- connect( mTodoGroup, SIGNAL( clicked( int ) ), SLOT( modified() ) );
- connect( mCustomDays, SIGNAL( valueChanged( int ) ), SLOT( modified() ) );
- connect( mCustomDays, SIGNAL( valueChanged( int ) ), SLOT( customDaysChanged( int ) ) );
+ connect( mCalendarGroup, TQT_SIGNAL( clicked( int ) ), TQT_SLOT( modified() ) );
+ connect( mCalendarGroup, TQT_SIGNAL( clicked( int ) ), TQT_SLOT( buttonClicked( int ) ) );
+ connect( mTodoGroup, TQT_SIGNAL( clicked( int ) ), TQT_SLOT( modified() ) );
+ connect( mCustomDays, TQT_SIGNAL( valueChanged( int ) ), TQT_SLOT( modified() ) );
+ connect( mCustomDays, TQT_SIGNAL( valueChanged( int ) ), TQT_SLOT( customDaysChanged( int ) ) );
KAcceleratorManager::manage( this );
@@ -90,33 +90,33 @@ void KCMKOrgSummary::customDaysChanged( int value )
void KCMKOrgSummary::initGUI()
{
- QVBoxLayout *layout = new QVBoxLayout( this, 0, KDialog::spacingHint() );
+ TQVBoxLayout *layout = new TQVBoxLayout( this, 0, KDialog::spacingHint() );
- mCalendarGroup = new QButtonGroup( 0, Vertical, i18n( "Appointments" ), this );
- QVBoxLayout *boxLayout = new QVBoxLayout( mCalendarGroup->layout(),
+ mCalendarGroup = new TQButtonGroup( 0, Vertical, i18n( "Appointments" ), this );
+ TQVBoxLayout *boxLayout = new TQVBoxLayout( mCalendarGroup->layout(),
KDialog::spacingHint() );
- QLabel *label = new QLabel( i18n( "How many days should the calendar show at once?" ), mCalendarGroup );
+ TQLabel *label = new TQLabel( i18n( "How many days should the calendar show at once?" ), mCalendarGroup );
boxLayout->addWidget( label );
- QRadioButton *button = new QRadioButton( i18n( "One day" ), mCalendarGroup );
+ TQRadioButton *button = new TQRadioButton( i18n( "One day" ), mCalendarGroup );
boxLayout->addWidget( button );
- button = new QRadioButton( i18n( "Five days" ), mCalendarGroup );
+ button = new TQRadioButton( i18n( "Five days" ), mCalendarGroup );
boxLayout->addWidget( button );
- button = new QRadioButton( i18n( "One week" ), mCalendarGroup );
+ button = new TQRadioButton( i18n( "One week" ), mCalendarGroup );
boxLayout->addWidget( button );
- button = new QRadioButton( i18n( "One month" ), mCalendarGroup );
+ button = new TQRadioButton( i18n( "One month" ), mCalendarGroup );
boxLayout->addWidget( button );
- QHBoxLayout *hbox = new QHBoxLayout( boxLayout, KDialog::spacingHint() );
+ TQHBoxLayout *hbox = new TQHBoxLayout( boxLayout, KDialog::spacingHint() );
- button = new QRadioButton( "", mCalendarGroup );
+ button = new TQRadioButton( "", mCalendarGroup );
hbox->addWidget( button );
- mCustomDays = new QSpinBox( 1, 365, 1, mCalendarGroup );
+ mCustomDays = new TQSpinBox( 1, 365, 1, mCalendarGroup );
mCustomDays->setEnabled( false );
hbox->addWidget( mCustomDays );
@@ -124,9 +124,9 @@ void KCMKOrgSummary::initGUI()
layout->addWidget( mCalendarGroup );
- mTodoGroup = new QButtonGroup( 2, Horizontal, i18n( "To-dos" ), this );
- new QRadioButton( i18n( "Show all to-dos" ), mTodoGroup );
- new QRadioButton( i18n( "Show today's to-dos only" ), mTodoGroup );
+ mTodoGroup = new TQButtonGroup( 2, Horizontal, i18n( "To-dos" ), this );
+ new TQRadioButton( i18n( "Show all to-dos" ), mTodoGroup );
+ new TQRadioButton( i18n( "Show today's to-dos only" ), mTodoGroup );
layout->addWidget( mTodoGroup );