From 36a36a5c1015aa0d03f4515c401e907ddb9d6291 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- korganizer/koeditorgeneral.cpp | 52 +++++++++++++++++++++--------------------- 1 file changed, 26 insertions(+), 26 deletions(-) (limited to 'korganizer/koeditorgeneral.cpp') diff --git a/korganizer/koeditorgeneral.cpp b/korganizer/koeditorgeneral.cpp index afbda615..c19775e5 100644 --- a/korganizer/koeditorgeneral.cpp +++ b/korganizer/koeditorgeneral.cpp @@ -68,8 +68,8 @@ #include "koeditorgeneral.moc" #include "kohelper.h" -KOEditorGeneral::KOEditorGeneral( TQObject *tqparent, const char* name) : - TQObject( tqparent, name ), mAttachments(0) +KOEditorGeneral::KOEditorGeneral( TQObject *parent, const char* name) : + TQObject( parent, name ), mAttachments(0) { mType = "Event"; ResourceCached::setEditorWindowOpen(true); @@ -82,8 +82,8 @@ KOEditorGeneral::~KOEditorGeneral() } -FocusLineEdit::FocusLineEdit( TQWidget *tqparent ) - : TQLineEdit( tqparent ), mSkipFirst( true ) +FocusLineEdit::FocusLineEdit( TQWidget *parent ) + : TQLineEdit( parent ), mSkipFirst( true ) { } @@ -98,37 +98,37 @@ void FocusLineEdit::focusInEvent ( TQFocusEvent *e ) } -void KOEditorGeneral::initHeader( TQWidget *tqparent,TQBoxLayout *topLayout) +void KOEditorGeneral::initHeader( TQWidget *parent,TQBoxLayout *topLayout) { TQGridLayout *headerLayout = new TQGridLayout(); headerLayout->setSpacing( topLayout->spacing() ); topLayout->addLayout( headerLayout ); TQString whatsThis = i18n("Sets the Title of this event or to-do."); - TQLabel *summaryLabel = new TQLabel( i18n("T&itle:"), tqparent ); + TQLabel *summaryLabel = new TQLabel( i18n("T&itle:"), parent ); TQWhatsThis::add( summaryLabel, whatsThis ); TQFont f = summaryLabel->font(); f.setBold( true ); summaryLabel->setFont(f); headerLayout->addWidget(summaryLabel,1,0); - mSummaryEdit = new FocusLineEdit( tqparent ); + mSummaryEdit = new FocusLineEdit( parent ); TQWhatsThis::add( mSummaryEdit, whatsThis ); connect( mSummaryEdit, TQT_SIGNAL( focusReceivedSignal() ), TQT_SIGNAL( focusReceivedSignal() ) ); headerLayout->addWidget(mSummaryEdit,1,1); summaryLabel->setBuddy( mSummaryEdit ); - mAttendeeSummaryLabel = new TQLabel( tqparent ); + mAttendeeSummaryLabel = new TQLabel( parent ); updateAttendeeSummary( 0 ); headerLayout->addWidget( mAttendeeSummaryLabel, 1, 2 ); whatsThis = i18n("Sets where the event or to-do will take place."); - TQLabel *locationLabel = new TQLabel( i18n("&Location:"), tqparent ); + TQLabel *locationLabel = new TQLabel( i18n("&Location:"), parent ); TQWhatsThis::add( locationLabel, whatsThis ); headerLayout->addWidget(locationLabel,2,0); - mLocationEdit = new TQLineEdit( tqparent ); + mLocationEdit = new TQLineEdit( parent ); TQWhatsThis::add( mLocationEdit, whatsThis ); headerLayout->addMultiCellWidget( mLocationEdit, 2, 2, 1, 2 ); locationLabel->setBuddy( mLocationEdit ); @@ -136,31 +136,31 @@ void KOEditorGeneral::initHeader( TQWidget *tqparent,TQBoxLayout *topLayout) TQBoxLayout *thirdLineLayout = new TQHBoxLayout(); headerLayout->addMultiCellLayout( thirdLineLayout, 3, 3, 0, 2 ); - mResourceLabel = new TQLabel( tqparent ); + mResourceLabel = new TQLabel( parent ); mResourceLabel->hide(); thirdLineLayout->addWidget( mResourceLabel ); whatsThis = i18n("Allows you to select the categories that this event or to-do belongs to."); - TQLabel *categoriesLabel = new TQLabel( i18n("Categories:"), tqparent ); + TQLabel *categoriesLabel = new TQLabel( i18n("Categories:"), parent ); TQWhatsThis::add( categoriesLabel, whatsThis ); thirdLineLayout->addWidget( categoriesLabel ); - mCategoriesLabel = new KSqueezedTextLabel( tqparent ); + mCategoriesLabel = new KSqueezedTextLabel( parent ); TQWhatsThis::add( mCategoriesLabel, whatsThis ); mCategoriesLabel->setFrameStyle(TQFrame::Panel|TQFrame::Sunken); thirdLineLayout->addWidget( mCategoriesLabel ); - mCategoriesButton = new TQPushButton( tqparent ); + mCategoriesButton = new TQPushButton( parent ); mCategoriesButton->setText(i18n("Select...")); TQWhatsThis::add( mCategoriesButton, whatsThis ); connect(mCategoriesButton,TQT_SIGNAL(clicked()),TQT_SLOT(selectCategories())); thirdLineLayout->addWidget( mCategoriesButton ); } -void KOEditorGeneral::initSecrecy(TQWidget *tqparent, TQBoxLayout *topLayout) +void KOEditorGeneral::initSecrecy(TQWidget *parent, TQBoxLayout *topLayout) { TQBoxLayout *secrecyLayout = new TQHBoxLayout( topLayout ); - TQLabel *secrecyLabel = new TQLabel(i18n("Acc&ess:"),tqparent); + TQLabel *secrecyLabel = new TQLabel(i18n("Acc&ess:"),parent); TQString whatsThis = i18n("Sets whether the access to this event or to-do " "is restricted. Please note that KOrganizer " "currently does not use this setting, so the " @@ -171,16 +171,16 @@ void KOEditorGeneral::initSecrecy(TQWidget *tqparent, TQBoxLayout *topLayout) TQWhatsThis::add( secrecyLabel, whatsThis ); secrecyLayout->addWidget(secrecyLabel); - mSecrecyCombo = new TQComboBox(tqparent); + mSecrecyCombo = new TQComboBox(parent); TQWhatsThis::add( mSecrecyCombo, whatsThis ); mSecrecyCombo->insertStringList(Incidence::secrecyList()); secrecyLayout->addWidget(mSecrecyCombo); secrecyLabel->setBuddy( mSecrecyCombo ); } -void KOEditorGeneral::initDescription(TQWidget *tqparent,TQBoxLayout *topLayout) +void KOEditorGeneral::initDescription(TQWidget *parent,TQBoxLayout *topLayout) { - mDescriptionEdit = new KTextEdit(tqparent); + mDescriptionEdit = new KTextEdit(parent); TQWhatsThis::add( mDescriptionEdit, i18n("Sets the description for this event or to-do. This " "will be displayed in a reminder if one is set, " @@ -194,16 +194,16 @@ void KOEditorGeneral::initDescription(TQWidget *tqparent,TQBoxLayout *topLayout) topLayout->addWidget(mDescriptionEdit, 4); } -void KOEditorGeneral::initAlarm( TQWidget *tqparent, TQBoxLayout *topLayout ) +void KOEditorGeneral::initAlarm( TQWidget *parent, TQBoxLayout *topLayout ) { TQBoxLayout *alarmLayout = new TQHBoxLayout( topLayout ); - mAlarmButton = new TQCheckBox( tqparent ); + mAlarmButton = new TQCheckBox( parent ); TQWhatsThis::add( mAlarmButton, i18n( "Enable reminders for this event or to-do." ) ); TQToolTip::add( mAlarmButton, i18n( "Enable reminders" ) ); alarmLayout->addWidget( mAlarmButton ); - mAlarmAdvancedButton = new TQPushButton( tqparent ); + mAlarmAdvancedButton = new TQPushButton( parent ); mAlarmAdvancedButton->setIconSet( KOGlobals::self()->smallIconSet( "bell", 16 ) ); TQWhatsThis::add( mAlarmAdvancedButton, i18n( "Push this button to create an advanced set of reminders " @@ -212,7 +212,7 @@ void KOEditorGeneral::initAlarm( TQWidget *tqparent, TQBoxLayout *topLayout ) connect( mAlarmAdvancedButton, TQT_SIGNAL(clicked()), TQT_SLOT(editAlarms()) ); alarmLayout->addWidget( mAlarmAdvancedButton ); - mSimpleAlarmBox = new TQHBox( tqparent ); + mSimpleAlarmBox = new TQHBox( parent ); alarmLayout->addWidget( mSimpleAlarmBox ); TQString whatsThis, toolTip; @@ -235,7 +235,7 @@ void KOEditorGeneral::initAlarm( TQWidget *tqparent, TQBoxLayout *topLayout ) TQWhatsThis::add( mAlarmIncrCombo, whatsThis ); TQToolTip::add( mAlarmIncrCombo, toolTip ); - mAlarmInfoLabel = new TQLabel( tqparent ); + mAlarmInfoLabel = new TQLabel( parent ); if ( mType == "Event" ) { mAlarmInfoLabel->setText( i18n( "before the start" ) ); } else { @@ -253,9 +253,9 @@ void KOEditorGeneral::initAlarm( TQWidget *tqparent, TQBoxLayout *topLayout ) connect( mAlarmButton, TQT_SIGNAL(toggled(bool)), mAlarmInfoLabel, TQT_SLOT(setEnabled(bool)) ); } -void KOEditorGeneral::initAttachments(TQWidget *tqparent,TQBoxLayout *topLayout) +void KOEditorGeneral::initAttachments(TQWidget *parent,TQBoxLayout *topLayout) { - mAttachments = new KOEditorAttachments( KDialog::spacingHint(), tqparent ); + mAttachments = new KOEditorAttachments( KDialog::spacingHint(), parent ); connect( mAttachments, TQT_SIGNAL( openURL( const KURL & ) ) , this, TQT_SIGNAL( openURL( const KURL & ) ) ); topLayout->addWidget( mAttachments, 1 ); -- cgit v1.2.3