summaryrefslogtreecommitdiffstats
path: root/korganizer/koeditorfreebusy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/koeditorfreebusy.cpp')
-rw-r--r--korganizer/koeditorfreebusy.cpp58
1 files changed, 29 insertions, 29 deletions
diff --git a/korganizer/koeditorfreebusy.cpp b/korganizer/koeditorfreebusy.cpp
index 88c5414b..05db9b5d 100644
--- a/korganizer/koeditorfreebusy.cpp
+++ b/korganizer/koeditorfreebusy.cpp
@@ -263,15 +263,15 @@ KOEditorFreeBusy::KOEditorFreeBusy( int spacing, TQWidget *parent,
scaleCombo->insertItem( i18n( "Month" ) );
scaleCombo->insertItem( i18n( "Automatic" ) );
scaleCombo->setCurrentItem( 0 ); // start with "hour"
- connect( scaleCombo, TQT_SIGNAL( activated( int ) ),
- TQT_SLOT( slotScaleChanged( int ) ) );
+ connect( scaleCombo, TQ_SIGNAL( activated( int ) ),
+ TQ_SLOT( slotScaleChanged( int ) ) );
controlLayout->addWidget( scaleCombo );
TQPushButton *button = new TQPushButton( i18n( "Center on Start" ), this );
TQWhatsThis::add( button,
i18n("Centers the Gantt chart on the start time "
"and day of this event.") );
- connect( button, TQT_SIGNAL( clicked() ), TQT_SLOT( slotCenterOnStart() ) );
+ connect( button, TQ_SIGNAL( clicked() ), TQ_SLOT( slotCenterOnStart() ) );
controlLayout->addWidget( button );
controlLayout->addStretch( 1 );
@@ -280,7 +280,7 @@ KOEditorFreeBusy::KOEditorFreeBusy( int spacing, TQWidget *parent,
TQWhatsThis::add( button,
i18n("Moves the event to a date and time when all the "
"attendees are free.") );
- connect( button, TQT_SIGNAL( clicked() ), TQT_SLOT( slotPickDate() ) );
+ connect( button, TQ_SIGNAL( clicked() ), TQ_SLOT( slotPickDate() ) );
controlLayout->addWidget( button );
controlLayout->addStretch( 1 );
@@ -290,7 +290,7 @@ KOEditorFreeBusy::KOEditorFreeBusy( int spacing, TQWidget *parent,
i18n("Reloads Free/Busy data for all attendees from "
"the corresponding servers.") );
controlLayout->addWidget( button );
- connect( button, TQT_SIGNAL( clicked() ), TQT_SLOT( manualReload() ) );
+ connect( button, TQ_SIGNAL( clicked() ), TQ_SLOT( manualReload() ) );
mGanttView = new KDGanttView( this, "mGanttView" );
TQWhatsThis::add( mGanttView,
@@ -330,37 +330,37 @@ KOEditorFreeBusy::KOEditorFreeBusy( int spacing, TQWidget *parent,
mEventRectangle->setColor( TQt::magenta );
mGanttView->addIntervalBackgroundColor( mEventRectangle );
- connect( mGanttView, TQT_SIGNAL ( timeIntervalSelected( const TQDateTime &,
+ connect( mGanttView, TQ_SIGNAL ( timeIntervalSelected( const TQDateTime &,
const TQDateTime & ) ),
- mGanttView, TQT_SLOT( zoomToSelection( const TQDateTime &,
+ mGanttView, TQ_SLOT( zoomToSelection( const TQDateTime &,
const TQDateTime & ) ) );
- connect( mGanttView, TQT_SIGNAL( lvItemDoubleClicked( KDGanttViewItem * ) ),
- TQT_SLOT( editFreeBusyUrl( KDGanttViewItem * ) ) );
- connect( mGanttView, TQT_SIGNAL( intervalColorRectangleMoved( const TQDateTime&, const TQDateTime& ) ),
- this, TQT_SLOT( slotIntervalColorRectangleMoved( const TQDateTime&, const TQDateTime& ) ) );
-
- connect( mGanttView, TQT_SIGNAL(lvSelectionChanged(KDGanttViewItem*)),
- this, TQT_SLOT(updateAttendeeInput()) );
- connect( mGanttView, TQT_SIGNAL(lvItemLeftClicked(KDGanttViewItem*)),
- this, TQT_SLOT(showAttendeeStatusMenu()) );
- connect( mGanttView, TQT_SIGNAL(lvItemRightClicked(KDGanttViewItem*)),
- this, TQT_SLOT(showAttendeeStatusMenu()) );
- connect( mGanttView, TQT_SIGNAL(lvMouseButtonClicked(int, KDGanttViewItem*, const TQPoint&, int)),
- this, TQT_SLOT(listViewClicked(int, KDGanttViewItem*)) );
+ connect( mGanttView, TQ_SIGNAL( lvItemDoubleClicked( KDGanttViewItem * ) ),
+ TQ_SLOT( editFreeBusyUrl( KDGanttViewItem * ) ) );
+ connect( mGanttView, TQ_SIGNAL( intervalColorRectangleMoved( const TQDateTime&, const TQDateTime& ) ),
+ this, TQ_SLOT( slotIntervalColorRectangleMoved( const TQDateTime&, const TQDateTime& ) ) );
+
+ connect( mGanttView, TQ_SIGNAL(lvSelectionChanged(KDGanttViewItem*)),
+ this, TQ_SLOT(updateAttendeeInput()) );
+ connect( mGanttView, TQ_SIGNAL(lvItemLeftClicked(KDGanttViewItem*)),
+ this, TQ_SLOT(showAttendeeStatusMenu()) );
+ connect( mGanttView, TQ_SIGNAL(lvItemRightClicked(KDGanttViewItem*)),
+ this, TQ_SLOT(showAttendeeStatusMenu()) );
+ connect( mGanttView, TQ_SIGNAL(lvMouseButtonClicked(int, KDGanttViewItem*, const TQPoint&, int)),
+ this, TQ_SLOT(listViewClicked(int, KDGanttViewItem*)) );
FreeBusyManager *m = KOGroupware::instance()->freeBusyManager();
- connect( m, TQT_SIGNAL( freeBusyRetrieved( KCal::FreeBusy *, const TQString & ) ),
- TQT_SLOT( slotInsertFreeBusy( KCal::FreeBusy *, const TQString & ) ) );
+ connect( m, TQ_SIGNAL( freeBusyRetrieved( KCal::FreeBusy *, const TQString & ) ),
+ TQ_SLOT( slotInsertFreeBusy( KCal::FreeBusy *, const TQString & ) ) );
- connect( &mReloadTimer, TQT_SIGNAL( timeout() ), TQT_SLOT( autoReload() ) );
+ connect( &mReloadTimer, TQ_SIGNAL( timeout() ), TQ_SLOT( autoReload() ) );
initEditWidgets( this, topLayout );
- connect( mRemoveButton, TQT_SIGNAL(clicked()),
- TQT_SLOT(removeAttendee()) );
+ connect( mRemoveButton, TQ_SIGNAL(clicked()),
+ TQ_SLOT(removeAttendee()) );
slotOrganizerChanged( mOrganizerCombo->currentText() );
- connect( mOrganizerCombo, TQT_SIGNAL( activated(const TQString&) ),
- this, TQT_SLOT( slotOrganizerChanged(const TQString&) ) );
+ connect( mOrganizerCombo, TQ_SIGNAL( activated(const TQString&) ),
+ this, TQ_SLOT( slotOrganizerChanged(const TQString&) ) );
//suppress the buggy consequences of clicks on the time header widget
mGanttView->timeHeaderWidget()->installEventFilter( this );
@@ -923,7 +923,7 @@ void KOEditorFreeBusy::showAttendeeStatusMenu()
void KOEditorFreeBusy::listViewClicked(int button, KDGanttViewItem * item)
{
- if ( button == Qt::LeftButton && item == 0 )
+ if ( button == TQt::LeftButton && item == 0 )
addNewAttendee();
}
@@ -983,7 +983,7 @@ void KOEditorFreeBusy::slotOrganizerChanged(const TQString & newOrganizer)
bool KOEditorFreeBusy::eventFilter( TQObject *watched, TQEvent *event )
{
- if ( TQT_BASE_OBJECT(watched) == TQT_BASE_OBJECT(mGanttView->timeHeaderWidget()) &&
+ if ( watched == mGanttView->timeHeaderWidget() &&
event->type() >= TQEvent::MouseButtonPress && event->type() <= TQEvent::MouseMove ) {
return true;
} else {