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/koeditorgeneralevent.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'korganizer/koeditorgeneralevent.cpp') diff --git a/korganizer/koeditorgeneralevent.cpp b/korganizer/koeditorgeneralevent.cpp index 3466e4125..123632f36 100644 --- a/korganizer/koeditorgeneralevent.cpp +++ b/korganizer/koeditorgeneralevent.cpp @@ -18,8 +18,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 @@ -56,9 +56,9 @@ #include "koeditorgeneralevent.h" #include "koeditorgeneralevent.moc" -KOEditorGeneralEvent::KOEditorGeneralEvent(TQObject* parent, +KOEditorGeneralEvent::KOEditorGeneralEvent(TQObject* tqparent, const char* name) : - KOEditorGeneral( parent, name) + KOEditorGeneral( tqparent, name) { connect( this, TQT_SIGNAL( dateTimesChanged( const TQDateTime &, const TQDateTime & )), TQT_SLOT( setDuration() ) ); @@ -91,12 +91,12 @@ void KOEditorGeneralEvent::finishSetup() mSummaryEdit->setFocus(); } -void KOEditorGeneralEvent::initTime(TQWidget *parent,TQBoxLayout *topLayout) +void KOEditorGeneralEvent::initTime(TQWidget *tqparent,TQBoxLayout *topLayout) { TQBoxLayout *timeLayout = new TQVBoxLayout(topLayout); TQGroupBox *timeGroupBox = new TQGroupBox(1,TQGroupBox::Horizontal, - i18n("Date && Time"),parent); + i18n("Date && Time"),tqparent); TQWhatsThis::add( timeGroupBox, i18n("Sets options related to the date and time of the " "event or to-do.") ); @@ -175,17 +175,17 @@ void KOEditorGeneralEvent::initTime(TQWidget *parent,TQBoxLayout *topLayout) initClass( timeBoxFrame, classLayout ); } -void KOEditorGeneralEvent::initClass(TQWidget *parent,TQBoxLayout *topLayout) +void KOEditorGeneralEvent::initClass(TQWidget *tqparent,TQBoxLayout *topLayout) { TQBoxLayout *classLayout = new TQHBoxLayout(topLayout); - TQLabel *freeTimeLabel = new TQLabel(i18n("S&how time as:"),parent); + TQLabel *freeTimeLabel = new TQLabel(i18n("S&how time as:"),tqparent); TQString whatsThis = i18n("Sets how this time will appear on your Free/Busy " "information."); TQWhatsThis::add( freeTimeLabel, whatsThis ); classLayout->addWidget(freeTimeLabel); - mFreeTimeCombo = new TQComboBox(false, parent); + mFreeTimeCombo = new TQComboBox(false, tqparent); TQWhatsThis::add( mFreeTimeCombo, whatsThis ); mFreeTimeCombo->insertItem(i18n("Busy")); mFreeTimeCombo->insertItem(i18n("Free")); @@ -193,10 +193,10 @@ void KOEditorGeneralEvent::initClass(TQWidget *parent,TQBoxLayout *topLayout) freeTimeLabel->setBuddy( mFreeTimeCombo ); } -void KOEditorGeneralEvent::initInvitationBar(TQWidget * parent, TQBoxLayout * tqlayout) +void KOEditorGeneralEvent::initInvitationBar(TQWidget * tqparent, TQBoxLayout * tqlayout) { TQBoxLayout *topLayout = new TQHBoxLayout( tqlayout ); - mInvitationBar = new TQFrame( parent ); + mInvitationBar = new TQFrame( tqparent ); mInvitationBar->setPaletteBackgroundColor( KGlobalSettings::alternateBackgroundColor() ); topLayout->addWidget( mInvitationBar ); -- cgit v1.2.1