summaryrefslogtreecommitdiffstats
path: root/korganizer/journalentry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/journalentry.cpp')
-rw-r--r--korganizer/journalentry.cpp44
1 files changed, 22 insertions, 22 deletions
diff --git a/korganizer/journalentry.cpp b/korganizer/journalentry.cpp
index 0ceec954..08d57be5 100644
--- a/korganizer/journalentry.cpp
+++ b/korganizer/journalentry.cpp
@@ -75,8 +75,8 @@ JournalDateEntry::JournalDateEntry( Calendar *calendar, TQWidget *parent ) :
mTitle = new JournalTitleLable( this );
mTitle->setMargin(2);
mTitle->setSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed );
- connect( mTitle, TQT_SIGNAL( linkClicked( const TQString & ) ),
- this, TQT_SLOT( emitNewJournal() ) );
+ connect( mTitle, TQ_SIGNAL( linkClicked( const TQString & ) ),
+ this, TQ_SLOT( emitNewJournal() ) );
}
JournalDateEntry::~JournalDateEntry()
@@ -120,16 +120,16 @@ void JournalDateEntry::addJournal( Journal *j )
entry->setIncidenceChanger( mChanger );
mEntries.insert( j, entry );
- connect( this, TQT_SIGNAL( setIncidenceChangerSignal( IncidenceChangerBase * ) ),
- entry, TQT_SLOT( setIncidenceChanger( IncidenceChangerBase * ) ) );
- connect( this, TQT_SIGNAL( setDateSignal( const TQDate & ) ),
- entry, TQT_SLOT( setDate( const TQDate & ) ) );
- connect( this, TQT_SIGNAL( flushEntries() ),
- entry, TQT_SLOT( flushEntry() ) );
- connect( entry, TQT_SIGNAL( deleteIncidence( Incidence* ) ),
- this, TQT_SIGNAL( deleteIncidence( Incidence* ) ) );
- connect( entry, TQT_SIGNAL( editIncidence( Incidence*, const TQDate& ) ),
- this, TQT_SIGNAL( editIncidence( Incidence*, const TQDate& ) ) );
+ connect( this, TQ_SIGNAL( setIncidenceChangerSignal( IncidenceChangerBase * ) ),
+ entry, TQ_SLOT( setIncidenceChanger( IncidenceChangerBase * ) ) );
+ connect( this, TQ_SIGNAL( setDateSignal( const TQDate & ) ),
+ entry, TQ_SLOT( setDate( const TQDate & ) ) );
+ connect( this, TQ_SIGNAL( flushEntries() ),
+ entry, TQ_SLOT( flushEntry() ) );
+ connect( entry, TQ_SIGNAL( deleteIncidence( Incidence* ) ),
+ this, TQ_SIGNAL( deleteIncidence( Incidence* ) ) );
+ connect( entry, TQ_SIGNAL( editIncidence( Incidence*, const TQDate& ) ),
+ this, TQ_SIGNAL( editIncidence( Incidence*, const TQDate& ) ) );
}
Journal::List JournalDateEntry::journals() const
@@ -203,8 +203,8 @@ JournalEntry::JournalEntry( Journal* j, TQWidget *parent ) :
mLayout->addWidget( mTimeCheck, 0, 2 );
mTimeEdit = new KTimeEdit( this );
mLayout->addWidget( mTimeEdit, 0, 3 );
- connect( mTimeCheck, TQT_SIGNAL(toggled(bool)),
- this, TQT_SLOT(timeCheckBoxToggled(bool)) );
+ connect( mTimeCheck, TQ_SIGNAL(toggled(bool)),
+ this, TQ_SLOT(timeCheckBoxToggled(bool)) );
TQWhatsThis::add( mTimeCheck, i18n("Determines whether this journal entry has "
"a time associated with it") );
TQWhatsThis::add( mTimeEdit, i18n( "Sets the time associated with this journal "
@@ -217,7 +217,7 @@ JournalEntry::JournalEntry( Journal* j, TQWidget *parent ) :
TQToolTip::add( mDeleteButton, i18n("Delete this journal entry") );
TQWhatsThis::add( mDeleteButton, i18n("Delete this journal entry") );
mLayout->addWidget( mDeleteButton, 0, 4 );
- connect( mDeleteButton, TQT_SIGNAL(pressed()), this, TQT_SLOT(deleteItem()) );
+ connect( mDeleteButton, TQ_SIGNAL(pressed()), this, TQ_SLOT(deleteItem()) );
mEditButton = new TQToolButton( this, "editButton" );
mEditButton->setPixmap( KOGlobals::self()->smallIcon( "edit" ) );
@@ -225,7 +225,7 @@ JournalEntry::JournalEntry( Journal* j, TQWidget *parent ) :
TQToolTip::add( mEditButton, i18n("Edit this journal entry") );
TQWhatsThis::add( mEditButton, i18n("Opens an editor dialog for this journal entry") );
mLayout->addWidget( mEditButton, 0, 5 );
- connect( mEditButton, TQT_SIGNAL(clicked()), this, TQT_SLOT( editItem() ) );
+ connect( mEditButton, TQ_SIGNAL(clicked()), this, TQ_SLOT( editItem() ) );
#ifndef KORG_NOPRINTER
mPrintButton = new TQToolButton( this, "printButton" );
@@ -234,15 +234,15 @@ JournalEntry::JournalEntry( Journal* j, TQWidget *parent ) :
TQToolTip::add( mPrintButton, i18n("Print this journal entry") );
TQWhatsThis::add( mPrintButton, i18n("Opens the print dialog for this journal entry") );
mLayout->addWidget( mPrintButton, 0, 6 );
- connect( mPrintButton, TQT_SIGNAL(clicked()), this, TQT_SLOT( printItem() ) );
+ connect( mPrintButton, TQ_SIGNAL(clicked()), this, TQ_SLOT( printItem() ) );
#endif
mEditor = new KTextEdit(this);
mLayout->addMultiCellWidget( mEditor, 1, 2, 0, 6 );
- connect( mTitleEdit, TQT_SIGNAL(textChanged( const TQString& )), TQT_SLOT(setDirty()) );
- connect( mTimeCheck, TQT_SIGNAL(toggled(bool)), TQT_SLOT(setDirty()) );
- connect( mTimeEdit, TQT_SIGNAL(timeChanged(TQTime)), TQT_SLOT(setDirty()) );
- connect( mEditor, TQT_SIGNAL(textChanged()), TQT_SLOT(setDirty()) );
+ connect( mTitleEdit, TQ_SIGNAL(textChanged( const TQString& )), TQ_SLOT(setDirty()) );
+ connect( mTimeCheck, TQ_SIGNAL(toggled(bool)), TQ_SLOT(setDirty()) );
+ connect( mTimeEdit, TQ_SIGNAL(timeChanged(TQTime)), TQ_SLOT(setDirty()) );
+ connect( mEditor, TQ_SIGNAL(textChanged()), TQ_SLOT(setDirty()) );
mEditor->installEventFilter(this);
@@ -283,7 +283,7 @@ void JournalEntry::printItem()
if ( mJournal ) {
KOCoreHelper helper;
CalPrinter printer( this, 0, &helper );
- connect( this, TQT_SIGNAL(configChanged()), &printer, TQT_SLOT(updateConfig()) );
+ connect( this, TQ_SIGNAL(configChanged()), &printer, TQ_SLOT(updateConfig()) );
Incidence::List selectedIncidences;
selectedIncidences.append( mJournal );