summaryrefslogtreecommitdiffstats
path: root/tderesources
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-21 11:50:23 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-21 12:48:57 +0900
commitd5688771d8a6837975be512ee37f61bad7dbd345 (patch)
treeb8ef261c559484b01e3a035333561e5226042b4e /tderesources
parent44e712a770ad0ab59d33790a80b5f6235cff6921 (diff)
downloadtdelibs-d5688771d8a6837975be512ee37f61bad7dbd345.tar.gz
tdelibs-d5688771d8a6837975be512ee37f61bad7dbd345.zip
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tderesources')
-rw-r--r--tderesources/configpage.cpp8
-rw-r--r--tderesources/selectdialog.cpp4
2 files changed, 6 insertions, 6 deletions
diff --git a/tderesources/configpage.cpp b/tderesources/configpage.cpp
index 917380957..50173beae 100644
--- a/tderesources/configpage.cpp
+++ b/tderesources/configpage.cpp
@@ -123,12 +123,12 @@ ConfigPage::ConfigPage( TQWidget *parent, const char *name )
groupBoxLayout->addWidget( mListView, 1, 0 );
connect( mListView, TQT_SIGNAL( doubleClicked( TQListViewItem *, const TQPoint &, int ) ), this, TQT_SLOT( slotEdit() ) );
KButtonBox *buttonBox = new KButtonBox( groupBox, TQt::Vertical );
- mAddButton = buttonBox->addButton( i18n( "&Add..." ), TQT_TQOBJECT(this), TQT_SLOT(slotAdd()) );
- mRemoveButton = buttonBox->addButton( i18n( "&Remove" ), TQT_TQOBJECT(this), TQT_SLOT(slotRemove()) );
+ mAddButton = buttonBox->addButton( i18n( "&Add..." ), this, TQT_SLOT(slotAdd()) );
+ mRemoveButton = buttonBox->addButton( i18n( "&Remove" ), this, TQT_SLOT(slotRemove()) );
mRemoveButton->setEnabled( false );
- mEditButton = buttonBox->addButton( i18n( "&Edit..." ), TQT_TQOBJECT(this), TQT_SLOT(slotEdit()) );
+ mEditButton = buttonBox->addButton( i18n( "&Edit..." ), this, TQT_SLOT(slotEdit()) );
mEditButton->setEnabled( false );
- mStandardButton = buttonBox->addButton( i18n( "&Use as Standard" ), TQT_TQOBJECT(this), TQT_SLOT(slotStandard()) );
+ mStandardButton = buttonBox->addButton( i18n( "&Use as Standard" ), this, TQT_SLOT(slotStandard()) );
mStandardButton->setEnabled( false );
buttonBox->layout();
diff --git a/tderesources/selectdialog.cpp b/tderesources/selectdialog.cpp
index e6207cc3c..55adffcb1 100644
--- a/tderesources/selectdialog.cpp
+++ b/tderesources/selectdialog.cpp
@@ -57,8 +57,8 @@ SelectDialog::SelectDialog( TQPtrList<Resource> list, TQWidget *parent,
KButtonBox *buttonBox = new KButtonBox( this );
buttonBox->addStretch();
- buttonBox->addButton( KStdGuiItem::ok(), TQT_TQOBJECT(this), TQT_SLOT( accept() ) );
- buttonBox->addButton( KStdGuiItem::cancel(), TQT_TQOBJECT(this), TQT_SLOT( reject() ) );
+ buttonBox->addButton( KStdGuiItem::ok(), this, TQT_SLOT( accept() ) );
+ buttonBox->addButton( KStdGuiItem::cancel(), this, TQT_SLOT( reject() ) );
buttonBox->layout();
mainLayout->addWidget( buttonBox );