From 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 13 Apr 2011 00:46:47 +0000 Subject: Initial conversion of kdepim to TQt This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- korganizer/koeditorgeneraljournal.cpp | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'korganizer/koeditorgeneraljournal.cpp') diff --git a/korganizer/koeditorgeneraljournal.cpp b/korganizer/koeditorgeneraljournal.cpp index c53babbe..274c58b9 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 -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"<append(""); mDescriptionEdit->setReadOnly( false ); mDescriptionEdit->setOverwriteMode( false ); -- cgit v1.2.3