summaryrefslogtreecommitdiffstats
path: root/korganizer/koeditorgeneralevent.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-14 12:33:20 +0900
committerMichele Calgaro <[email protected]>2024-01-14 12:43:48 +0900
commit3b3f9ec8f31978030c17309fae48335bea5c1587 (patch)
tree0b493383a1501860371aacd792ec6fc08d595824 /korganizer/koeditorgeneralevent.cpp
parent99e6e1d1f43610c3573e9824a2a8a38f69930cd0 (diff)
downloadtdepim-3b3f9ec8f31978030c17309fae48335bea5c1587.tar.gz
tdepim-3b3f9ec8f31978030c17309fae48335bea5c1587.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'korganizer/koeditorgeneralevent.cpp')
-rw-r--r--korganizer/koeditorgeneralevent.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/korganizer/koeditorgeneralevent.cpp b/korganizer/koeditorgeneralevent.cpp
index a5835ae39..2772fbeec 100644
--- a/korganizer/koeditorgeneralevent.cpp
+++ b/korganizer/koeditorgeneralevent.cpp
@@ -60,10 +60,10 @@ KOEditorGeneralEvent::KOEditorGeneralEvent(TQObject* parent,
const char* name) :
KOEditorGeneral( parent, name)
{
- connect( this, TQT_SIGNAL( dateTimesChanged( const TQDateTime &, const TQDateTime & )),
- TQT_SLOT( setDuration() ) );
- connect( this, TQT_SIGNAL( dateTimesChanged( const TQDateTime &, const TQDateTime & )),
- TQT_SLOT( emitDateTimeStr() ));
+ connect( this, TQ_SIGNAL( dateTimesChanged( const TQDateTime &, const TQDateTime & )),
+ TQ_SLOT( setDuration() ) );
+ connect( this, TQ_SIGNAL( dateTimesChanged( const TQDateTime &, const TQDateTime & )),
+ TQ_SLOT( emitDateTimeStr() ));
}
KOEditorGeneralEvent::~KOEditorGeneralEvent()
@@ -130,22 +130,22 @@ void KOEditorGeneralEvent::initTime(TQWidget *parent,TQBoxLayout *topLayout)
mAlldayEventCheckbox = new TQCheckBox(i18n("All-&day"),timeBoxFrame);
layoutTimeBox->addWidget( mAlldayEventCheckbox, 0, 3 );
- connect(mAlldayEventCheckbox, TQT_SIGNAL(toggled(bool)),TQT_SLOT(associateTime(bool)));
+ connect(mAlldayEventCheckbox, TQ_SIGNAL(toggled(bool)),TQ_SLOT(associateTime(bool)));
mDurationLabel = new TQLabel( timeBoxFrame );
layoutTimeBox->addWidget( mDurationLabel, 1, 3 );
// time widgets are checked if they contain a valid time
- connect(mStartTimeEdit, TQT_SIGNAL(timeChanged(TQTime)),
- this, TQT_SLOT(startTimeChanged(TQTime)));
- connect(mEndTimeEdit, TQT_SIGNAL(timeChanged(TQTime)),
- this, TQT_SLOT(endTimeChanged(TQTime)));
+ connect(mStartTimeEdit, TQ_SIGNAL(timeChanged(TQTime)),
+ this, TQ_SLOT(startTimeChanged(TQTime)));
+ connect(mEndTimeEdit, TQ_SIGNAL(timeChanged(TQTime)),
+ this, TQ_SLOT(endTimeChanged(TQTime)));
// date widgets are checked if they contain a valid date
- connect(mStartDateEdit, TQT_SIGNAL(dateChanged(const TQDate&)),
- this, TQT_SLOT(startDateChanged(const TQDate&)));
- connect(mEndDateEdit, TQT_SIGNAL(dateChanged(const TQDate&)),
- this, TQT_SLOT(endDateChanged(const TQDate&)));
+ connect(mStartDateEdit, TQ_SIGNAL(dateChanged(const TQDate&)),
+ this, TQ_SLOT(startDateChanged(const TQDate&)));
+ connect(mEndDateEdit, TQ_SIGNAL(dateChanged(const TQDate&)),
+ this, TQ_SLOT(endDateChanged(const TQDate&)));
TQLabel *label = new TQLabel( i18n( "Recurrence:" ), timeBoxFrame );
layoutTimeBox->addWidget( label, 2, 0 );
@@ -154,7 +154,7 @@ void KOEditorGeneralEvent::initTime(TQWidget *parent,TQBoxLayout *topLayout)
mRecEditButton = new TQPushButton( timeBoxFrame );
mRecEditButton->setIconSet( KOGlobals::self()->smallIconSet( "recur", 16 ) );
recLayout->addWidget( mRecEditButton );
- connect( mRecEditButton, TQT_SIGNAL(clicked()), TQT_SIGNAL(editRecurrence()) );
+ connect( mRecEditButton, TQ_SIGNAL(clicked()), TQ_SIGNAL(editRecurrence()) );
mRecEditLabel = new TQLabel( TQString(), timeBoxFrame );
recLayout->addWidget( mRecEditLabel );
recLayout->addStretch( 1 );
@@ -206,12 +206,12 @@ void KOEditorGeneralEvent::initInvitationBar(TQWidget * parent, TQBoxLayout * la
barLayout->addWidget( label );
barLayout->addStretch( 1 );
TQPushButton *button = new TQPushButton( i18n("Accept"), mInvitationBar );
- connect( button, TQT_SIGNAL(clicked()), TQT_SIGNAL(acceptInvitation()) );
- connect( button, TQT_SIGNAL(clicked()), mInvitationBar, TQT_SLOT(hide()) );
+ connect( button, TQ_SIGNAL(clicked()), TQ_SIGNAL(acceptInvitation()) );
+ connect( button, TQ_SIGNAL(clicked()), mInvitationBar, TQ_SLOT(hide()) );
barLayout->addWidget( button );
button = new TQPushButton( i18n("Decline"), mInvitationBar );
- connect( button, TQT_SIGNAL(clicked()), TQT_SIGNAL(declineInvitation()) );
- connect( button, TQT_SIGNAL(clicked()), mInvitationBar, TQT_SLOT(hide()) );
+ connect( button, TQ_SIGNAL(clicked()), TQ_SIGNAL(declineInvitation()) );
+ connect( button, TQ_SIGNAL(clicked()), mInvitationBar, TQ_SLOT(hide()) );
barLayout->addWidget( button );
mInvitationBar->hide();