summaryrefslogtreecommitdiffstats
path: root/korganizer/journalentry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/journalentry.cpp')
-rw-r--r--korganizer/journalentry.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/korganizer/journalentry.cpp b/korganizer/journalentry.cpp
index cf93a58f1..5734b6cc5 100644
--- a/korganizer/journalentry.cpp
+++ b/korganizer/journalentry.cpp
@@ -26,7 +26,7 @@
// Journal Entry
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqcheckbox.h>
#include <tqwhatsthis.h>
#include <tqtooltip.h>
@@ -74,7 +74,7 @@ JournalDateEntry::JournalDateEntry( Calendar *calendar, TQWidget *parent ) :
mTitle = new JournalTitleLable( this );
mTitle->setMargin(2);
- mTitle->tqsetSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed );
+ mTitle->setSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed );
connect( mTitle, TQT_SIGNAL( linkClicked( const TQString & ) ),
this, TQT_SLOT( emitNewJournal() ) );
}
@@ -86,7 +86,7 @@ JournalDateEntry::~JournalDateEntry()
void JournalDateEntry::setDate(const TQDate &date)
{
TQString dtstring = TQString( "<qt><center><b><i>%1</i></b> " )
- .tqarg( KGlobal::locale()->formatDate(date) );
+ .arg( KGlobal::locale()->formatDate(date) );
dtstring += " <font size=\"-1\"><a href=\"#\">" +
i18n("[Add Journal Entry]") +
@@ -213,7 +213,7 @@ JournalEntry::JournalEntry( Journal* j, TQWidget *parent ) :
mDeleteButton = new TQToolButton( this, "deleteButton" );
TQPixmap pix = KOGlobals::self()->smallIcon( "editdelete" );
mDeleteButton->setPixmap( pix );
- mDeleteButton->tqsetSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed );
+ mDeleteButton->setSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed );
TQToolTip::add( mDeleteButton, i18n("Delete this journal entry") );
TQWhatsThis::add( mDeleteButton, i18n("Delete this journal entry") );
mLayout->addWidget( mDeleteButton, 0, 4 );
@@ -221,7 +221,7 @@ JournalEntry::JournalEntry( Journal* j, TQWidget *parent ) :
mEditButton = new TQToolButton( this, "editButton" );
mEditButton->setPixmap( KOGlobals::self()->smallIcon( "edit" ) );
- mEditButton->tqsetSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed );
+ mEditButton->setSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed );
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 );
@@ -230,7 +230,7 @@ JournalEntry::JournalEntry( Journal* j, TQWidget *parent ) :
#ifndef KORG_NOPRINTER
mPrintButton = new TQToolButton( this, "printButton" );
mPrintButton->setPixmap( KOGlobals::self()->smallIcon( "printer1" ) );
- mPrintButton->tqsetSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed );
+ mPrintButton->setSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed );
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 );
@@ -259,8 +259,8 @@ void JournalEntry::deleteItem()
{
/* KMessageBox::ButtonCode *code = KMessageBox::warningContinueCancel(this,
i18n("The journal \"%1\" on %2 will be permanently deleted.")
- .tqarg( mJournal->summary() )
- .tqarg( mJournal->dtStartStr() ),
+ .arg( mJournal->summary() )
+ .arg( mJournal->dtStartStr() ),
i18n("KOrganizer Confirmation"), KStdGuiItem::del() );
if ( code == KMessageBox::Yes ) {*/
if ( mJournal )