diff options
Diffstat (limited to 'korganizer/koeditorgeneraljournal.cpp')
-rw-r--r-- | korganizer/koeditorgeneraljournal.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/korganizer/koeditorgeneraljournal.cpp b/korganizer/koeditorgeneraljournal.cpp index c53babbe7..274c58b90 100644 --- a/korganizer/koeditorgeneraljournal.cpp +++ b/korganizer/koeditorgeneraljournal.cpp @@ -20,8 +20,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. As a special exception, permission is given to link this program - with any edition of Qt, and distribute the resulting executable, - without including the source code for Qt in the source distribution. + with any edition of TQt, and distribute the resulting executable, + without including the source code for TQt in the source distribution. */ #include "koeditorgeneraljournal.h" @@ -45,9 +45,9 @@ #include <tqwhatsthis.h> -KOEditorGeneralJournal::KOEditorGeneralJournal( TQWidget *parent, +KOEditorGeneralJournal::KOEditorGeneralJournal( TQWidget *tqparent, const char *name ) - : KOEditorGeneral( parent, name ) + : KOEditorGeneral( tqparent, name ) { setType( "Journal" ); } @@ -56,43 +56,43 @@ KOEditorGeneralJournal::~KOEditorGeneralJournal() { } -void KOEditorGeneralJournal::initTitle( TQWidget *parent, TQBoxLayout *topLayout ) +void KOEditorGeneralJournal::initTitle( TQWidget *tqparent, TQBoxLayout *topLayout ) { TQHBoxLayout *hbox = new TQHBoxLayout( topLayout ); TQString whatsThis = i18n("Sets the title of this journal."); - TQLabel *summaryLabel = new TQLabel( i18n("T&itle:"), parent ); + TQLabel *summaryLabel = new TQLabel( i18n("T&itle:"), tqparent ); TQWhatsThis::add( summaryLabel, whatsThis ); TQFont f = summaryLabel->font(); f.setBold( true ); summaryLabel->setFont( f ); hbox->addWidget( summaryLabel ); - mSummaryEdit = new FocusLineEdit( parent ); + mSummaryEdit = new FocusLineEdit( tqparent ); TQWhatsThis::add( mSummaryEdit, whatsThis ); summaryLabel->setBuddy( mSummaryEdit ); hbox->addWidget( mSummaryEdit ); } -void KOEditorGeneralJournal::initDate( TQWidget *parent, TQBoxLayout *topLayout ) +void KOEditorGeneralJournal::initDate( TQWidget *tqparent, TQBoxLayout *topLayout ) { // TQBoxLayout *dateLayout = new TQVBoxLayout(topLayout); TQBoxLayout *dateLayout = new TQHBoxLayout( topLayout ); - mDateLabel = new TQLabel( i18n("&Date:"), parent); + mDateLabel = new TQLabel( i18n("&Date:"), tqparent); dateLayout->addWidget( mDateLabel ); - mDateEdit = new KDateEdit( parent ); + mDateEdit = new KDateEdit( tqparent ); dateLayout->addWidget( mDateEdit ); mDateLabel->setBuddy( mDateEdit ); dateLayout->addStretch(); - mTimeCheckBox = new TQCheckBox( i18n("&Time: "), parent ); + mTimeCheckBox = new TQCheckBox( i18n("&Time: "), tqparent ); dateLayout->addWidget( mTimeCheckBox ); - mTimeEdit = new KTimeEdit( parent ); + mTimeEdit = new KTimeEdit( tqparent ); dateLayout->addWidget( mTimeEdit ); connect( mTimeCheckBox, TQT_SIGNAL(toggled(bool)), mTimeEdit, TQT_SLOT(setEnabled(bool)) ); @@ -120,9 +120,9 @@ kdDebug()<<"KOEditorGeneralJournal::setTime, time is valid"<<endl; } } -void KOEditorGeneralJournal::initDescription( TQWidget *parent, TQBoxLayout *topLayout ) +void KOEditorGeneralJournal::initDescription( TQWidget *tqparent, TQBoxLayout *topLayout ) { - mDescriptionEdit = new KTextEdit( parent ); + mDescriptionEdit = new KTextEdit( tqparent ); mDescriptionEdit->append(""); mDescriptionEdit->setReadOnly( false ); mDescriptionEdit->setOverwriteMode( false ); |