diff options
Diffstat (limited to 'korganizer/kodialogmanager.cpp')
-rw-r--r-- | korganizer/kodialogmanager.cpp | 94 |
1 files changed, 47 insertions, 47 deletions
diff --git a/korganizer/kodialogmanager.cpp b/korganizer/kodialogmanager.cpp index 20ed0259c..17bb056ce 100644 --- a/korganizer/kodialogmanager.cpp +++ b/korganizer/kodialogmanager.cpp @@ -93,8 +93,8 @@ KODialogManager::KODialogManager( CalendarView *mainView ) : // don't set any specific parent for the dialog, as its kept around and reused // in different cases where it should have different parents KWin::setMainWindow( mCategoryEditDialog, 0 ); - connect( mainView, TQT_SIGNAL( categoriesChanged() ), - mCategoryEditDialog, TQT_SLOT( reload() ) ); + connect( mainView, TQ_SIGNAL( categoriesChanged() ), + mCategoryEditDialog, TQ_SLOT( reload() ) ); KOGlobals::fitDialogToScreen( mCategoryEditDialog ); } @@ -123,20 +123,20 @@ void KODialogManager::showOptionsDialog() // mOptionsDialog = new TDEConfigureDialog( TDEConfigureDialog::Configurable ); // mOptionsDialog = new TDEConfigureDialog( mMainView ); connect( mOptionsDialog->dialog(), - TQT_SIGNAL( configCommitted( const TQCString & ) ), - mMainView, TQT_SLOT( updateConfig() ) ); + TQ_SIGNAL( configCommitted( const TQCString & ) ), + mMainView, TQ_SLOT( updateConfig() ) ); #else mOptionsDialog = new KCMultiDialog( mMainView, "KorganizerPreferences" ); - connect( mOptionsDialog, TQT_SIGNAL( configCommitted( const TQCString & ) ), - mMainView, TQT_SLOT( updateConfig( const TQCString& ) ) ); + connect( mOptionsDialog, TQ_SIGNAL( configCommitted( const TQCString & ) ), + mMainView, TQ_SLOT( updateConfig( const TQCString& ) ) ); #if 0 - connect( mOptionsDialog, TQT_SIGNAL( applyClicked() ), - mMainView, TQT_SLOT( updateConfig() ) ); - connect( mOptionsDialog, TQT_SIGNAL( okClicked() ), - mMainView, TQT_SLOT( updateConfig() ) ); + connect( mOptionsDialog, TQ_SIGNAL( applyClicked() ), + mMainView, TQ_SLOT( updateConfig() ) ); + connect( mOptionsDialog, TQ_SIGNAL( okClicked() ), + mMainView, TQ_SLOT( updateConfig() ) ); // @TODO Find a way to do this with KCMultiDialog - connect(mCategoryEditDialog,TQT_SIGNAL(categoryConfigChanged()), - mOptionsDialog,TQT_SLOT(updateCategories())); + connect(mCategoryEditDialog,TQ_SIGNAL(categoryConfigChanged()), + mOptionsDialog,TQ_SLOT(updateCategories())); #endif TQStringList modules; @@ -172,13 +172,13 @@ void KODialogManager::showSearchDialog() { if ( !mSearchDialog ) { mSearchDialog = new SearchDialog( mMainView->calendar(), mMainView ); - connect( mSearchDialog, TQT_SIGNAL(showIncidenceSignal(Incidence *,const TQDate &)), - mMainView, TQT_SLOT(showIncidence(Incidence *,const TQDate &)) ); - connect( mSearchDialog, TQT_SIGNAL(editIncidenceSignal(Incidence *,const TQDate &)), - mMainView, TQT_SLOT(editIncidence(Incidence *,const TQDate &)) ); - connect( mSearchDialog, TQT_SIGNAL(deleteIncidenceSignal(Incidence *)), - mMainView, TQT_SLOT(deleteIncidence(Incidence *)) ); - connect( mMainView, TQT_SIGNAL(closingDown()),mSearchDialog,TQT_SLOT(reject()) ); + connect( mSearchDialog, TQ_SIGNAL(showIncidenceSignal(Incidence *,const TQDate &)), + mMainView, TQ_SLOT(showIncidence(Incidence *,const TQDate &)) ); + connect( mSearchDialog, TQ_SIGNAL(editIncidenceSignal(Incidence *,const TQDate &)), + mMainView, TQ_SLOT(editIncidence(Incidence *,const TQDate &)) ); + connect( mSearchDialog, TQ_SIGNAL(deleteIncidenceSignal(Incidence *)), + mMainView, TQ_SLOT(deleteIncidence(Incidence *)) ); + connect( mMainView, TQ_SIGNAL(closingDown()),mSearchDialog,TQ_SLOT(reject()) ); } // make sure the widget is on top again mSearchDialog->show(); @@ -190,10 +190,10 @@ void KODialogManager::showArchiveDialog() #ifndef KORG_NOARCHIVE if (!mArchiveDialog) { mArchiveDialog = new ArchiveDialog(mMainView->calendar(),mMainView); - connect(mArchiveDialog,TQT_SIGNAL(eventsDeleted()), - mMainView,TQT_SLOT(updateView())); - connect(mArchiveDialog,TQT_SIGNAL(autoArchivingSettingsModified()), - mMainView,TQT_SLOT(slotAutoArchivingSettingsModified())); + connect(mArchiveDialog,TQ_SIGNAL(eventsDeleted()), + mMainView,TQ_SLOT(updateView())); + connect(mArchiveDialog,TQ_SIGNAL(autoArchivingSettingsModified()), + mMainView,TQ_SLOT(slotAutoArchivingSettingsModified())); } mArchiveDialog->show(); mArchiveDialog->raise(); @@ -207,12 +207,12 @@ void KODialogManager::showFilterEditDialog( TQPtrList<CalFilter> *filters ) { if ( !mFilterEditDialog ) { mFilterEditDialog = new FilterEditDialog( filters, mMainView ); - connect( mFilterEditDialog, TQT_SIGNAL( filterChanged() ), - mMainView, TQT_SLOT( updateFilter() ) ); - connect( mFilterEditDialog, TQT_SIGNAL( editCategories() ), - mCategoryEditDialog, TQT_SLOT( show() ) ); - connect( mCategoryEditDialog, TQT_SIGNAL( categoryConfigChanged() ), - mFilterEditDialog, TQT_SLOT( updateCategoryConfig() ) ); + connect( mFilterEditDialog, TQ_SIGNAL( filterChanged() ), + mMainView, TQ_SLOT( updateFilter() ) ); + connect( mFilterEditDialog, TQ_SIGNAL( editCategories() ), + mCategoryEditDialog, TQ_SLOT( show() ) ); + connect( mCategoryEditDialog, TQ_SIGNAL( categoryConfigChanged() ), + mFilterEditDialog, TQ_SLOT( updateCategoryConfig() ) ); } mFilterEditDialog->show(); mFilterEditDialog->raise(); @@ -241,29 +241,29 @@ void KODialogManager::connectTypeAhead( KOEventEditor *editor, { if ( editor && agenda ) { agenda->setTypeAheadReceiver( editor->typeAheadReceiver() ); - connect( editor, TQT_SIGNAL( focusReceivedSignal() ), - agenda, TQT_SLOT( finishTypeAhead() ) ); + connect( editor, TQ_SIGNAL( focusReceivedSignal() ), + agenda, TQ_SLOT( finishTypeAhead() ) ); } } void KODialogManager::connectEditor( KOIncidenceEditor*editor ) { - connect( editor, TQT_SIGNAL( deleteIncidenceSignal( Incidence * ) ), - mMainView, TQT_SLOT( deleteIncidence( Incidence * ) ) ); - - connect( mCategoryEditDialog, TQT_SIGNAL( categoryConfigChanged() ), - editor, TQT_SIGNAL( updateCategoryConfig() ) ); - connect( editor, TQT_SIGNAL( editCategories() ), - mCategoryEditDialog, TQT_SLOT( show() ) ); - - connect( editor, TQT_SIGNAL( dialogClose( Incidence * ) ), - mMainView, TQT_SLOT( dialogClosing( Incidence * ) ) ); - connect( editor, TQT_SIGNAL( editCanceled( Incidence * ) ), - mMainView, TQT_SLOT( editCanceled( Incidence * ) ) ); - connect( mMainView, TQT_SIGNAL( closingDown() ), editor, TQT_SLOT( reject() ) ); - - connect( editor, TQT_SIGNAL( deleteAttendee( Incidence * ) ), - mMainView, TQT_SIGNAL( cancelAttendees( Incidence * ) ) ); + connect( editor, TQ_SIGNAL( deleteIncidenceSignal( Incidence * ) ), + mMainView, TQ_SLOT( deleteIncidence( Incidence * ) ) ); + + connect( mCategoryEditDialog, TQ_SIGNAL( categoryConfigChanged() ), + editor, TQ_SIGNAL( updateCategoryConfig() ) ); + connect( editor, TQ_SIGNAL( editCategories() ), + mCategoryEditDialog, TQ_SLOT( show() ) ); + + connect( editor, TQ_SIGNAL( dialogClose( Incidence * ) ), + mMainView, TQ_SLOT( dialogClosing( Incidence * ) ) ); + connect( editor, TQ_SIGNAL( editCanceled( Incidence * ) ), + mMainView, TQ_SLOT( editCanceled( Incidence * ) ) ); + connect( mMainView, TQ_SIGNAL( closingDown() ), editor, TQ_SLOT( reject() ) ); + + connect( editor, TQ_SIGNAL( deleteAttendee( Incidence * ) ), + mMainView, TQ_SIGNAL( cancelAttendees( Incidence * ) ) ); } KOTodoEditor *KODialogManager::getTodoEditor() |