diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-12 11:17:33 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-12 12:39:52 +0900 |
commit | ba3b5b77e1a430dc7197df20872ba46ce2fb6fa7 (patch) | |
tree | d8b80b41bf117fe1d5caa7e7faecfab523e81153 /tderesources | |
parent | 5d320b587ba28fa3c4745e1555aff74d5651783e (diff) | |
download | tdelibs-ba3b5b77e1a430dc7197df20872ba46ce2fb6fa7.tar.gz tdelibs-ba3b5b77e1a430dc7197df20872ba46ce2fb6fa7.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tderesources')
-rw-r--r-- | tderesources/configdialog.cpp | 8 | ||||
-rw-r--r-- | tderesources/configpage.cpp | 22 | ||||
-rw-r--r-- | tderesources/kcmtderesources.cpp | 2 | ||||
-rw-r--r-- | tderesources/selectdialog.cpp | 12 |
4 files changed, 22 insertions, 22 deletions
diff --git a/tderesources/configdialog.cpp b/tderesources/configdialog.cpp index 932996e65..a2520380b 100644 --- a/tderesources/configdialog.cpp +++ b/tderesources/configdialog.cpp @@ -74,12 +74,12 @@ ConfigDialog::ConfigDialog( TQWidget *parent, const TQString& resourceFamily, mConfigWidget->setInEditMode( false ); mConfigWidget->loadSettings( mResource ); mConfigWidget->show(); - connect( mConfigWidget, TQT_SIGNAL( setReadOnly( bool ) ), - TQT_SLOT( setReadOnly( bool ) ) ); + connect( mConfigWidget, TQ_SIGNAL( setReadOnly( bool ) ), + TQ_SLOT( setReadOnly( bool ) ) ); } - connect( mName, TQT_SIGNAL( textChanged(const TQString &)), - TQT_SLOT( slotNameChanged(const TQString &))); + connect( mName, TQ_SIGNAL( textChanged(const TQString &)), + TQ_SLOT( slotNameChanged(const TQString &))); slotNameChanged( mName->text() ); setMinimumSize( sizeHint() ); diff --git a/tderesources/configpage.cpp b/tderesources/configpage.cpp index 50173beae..8b1443168 100644 --- a/tderesources/configpage.cpp +++ b/tderesources/configpage.cpp @@ -121,14 +121,14 @@ ConfigPage::ConfigPage( TQWidget *parent, const char *name ) mListView->addColumn( i18n( "Standard" ) ); groupBoxLayout->addWidget( mListView, 1, 0 ); - connect( mListView, TQT_SIGNAL( doubleClicked( TQListViewItem *, const TQPoint &, int ) ), this, TQT_SLOT( slotEdit() ) ); + connect( mListView, TQ_SIGNAL( doubleClicked( TQListViewItem *, const TQPoint &, int ) ), this, TQ_SLOT( slotEdit() ) ); KButtonBox *buttonBox = new KButtonBox( groupBox, TQt::Vertical ); - mAddButton = buttonBox->addButton( i18n( "&Add..." ), this, TQT_SLOT(slotAdd()) ); - mRemoveButton = buttonBox->addButton( i18n( "&Remove" ), this, TQT_SLOT(slotRemove()) ); + mAddButton = buttonBox->addButton( i18n( "&Add..." ), this, TQ_SLOT(slotAdd()) ); + mRemoveButton = buttonBox->addButton( i18n( "&Remove" ), this, TQ_SLOT(slotRemove()) ); mRemoveButton->setEnabled( false ); - mEditButton = buttonBox->addButton( i18n( "&Edit..." ), this, TQT_SLOT(slotEdit()) ); + mEditButton = buttonBox->addButton( i18n( "&Edit..." ), this, TQ_SLOT(slotEdit()) ); mEditButton->setEnabled( false ); - mStandardButton = buttonBox->addButton( i18n( "&Use as Standard" ), this, TQT_SLOT(slotStandard()) ); + mStandardButton = buttonBox->addButton( i18n( "&Use as Standard" ), this, TQ_SLOT(slotStandard()) ); mStandardButton->setEnabled( false ); buttonBox->layout(); @@ -136,12 +136,12 @@ ConfigPage::ConfigPage( TQWidget *parent, const char *name ) mainLayout->addWidget( groupBox ); - connect( mFamilyCombo, TQT_SIGNAL( activated( int ) ), - TQT_SLOT( slotFamilyChanged( int ) ) ); - connect( mListView, TQT_SIGNAL( selectionChanged() ), - TQT_SLOT( slotSelectionChanged() ) ); - connect( mListView, TQT_SIGNAL( clicked( TQListViewItem * ) ), - TQT_SLOT( slotItemClicked( TQListViewItem * ) ) ); + connect( mFamilyCombo, TQ_SIGNAL( activated( int ) ), + TQ_SLOT( slotFamilyChanged( int ) ) ); + connect( mListView, TQ_SIGNAL( selectionChanged() ), + TQ_SLOT( slotSelectionChanged() ) ); + connect( mListView, TQ_SIGNAL( clicked( TQListViewItem * ) ), + TQ_SLOT( slotItemClicked( TQListViewItem * ) ) ); mLastItem = 0; diff --git a/tderesources/kcmtderesources.cpp b/tderesources/kcmtderesources.cpp index 60eda28b2..a5c8cdc2e 100644 --- a/tderesources/kcmtderesources.cpp +++ b/tderesources/kcmtderesources.cpp @@ -38,7 +38,7 @@ KCMTDEResources::KCMTDEResources( TQWidget *parent, const char *name, const TQSt TQVBoxLayout *layout = new TQVBoxLayout( this ); mConfigPage = new KRES::ConfigPage( this ); layout->addWidget( mConfigPage ); - connect( mConfigPage, TQT_SIGNAL( changed( bool ) ), TQT_SIGNAL( changed( bool ) ) ); + connect( mConfigPage, TQ_SIGNAL( changed( bool ) ), TQ_SIGNAL( changed( bool ) ) ); setButtons( Help | Apply ); TDEAboutData *about = new TDEAboutData( I18N_NOOP( "kcmtderesources" ), diff --git a/tderesources/selectdialog.cpp b/tderesources/selectdialog.cpp index 55adffcb1..baba01039 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(), this, TQT_SLOT( accept() ) ); - buttonBox->addButton( KStdGuiItem::cancel(), this, TQT_SLOT( reject() ) ); + buttonBox->addButton( KStdGuiItem::ok(), this, TQ_SLOT( accept() ) ); + buttonBox->addButton( KStdGuiItem::cancel(), this, TQ_SLOT( reject() ) ); buttonBox->layout(); mainLayout->addWidget( buttonBox ); @@ -75,10 +75,10 @@ SelectDialog::SelectDialog( TQPtrList<Resource> list, TQWidget *parent, } mResourceId->setCurrentItem( 0 ); - connect( mResourceId, TQT_SIGNAL(returnPressed(TQListBoxItem*)), - TQT_SLOT(accept()) ); - connect( mResourceId, TQT_SIGNAL( executed( TQListBoxItem* ) ), - TQT_SLOT( accept() ) ); + connect( mResourceId, TQ_SIGNAL(returnPressed(TQListBoxItem*)), + TQ_SLOT(accept()) ); + connect( mResourceId, TQ_SIGNAL( executed( TQListBoxItem* ) ), + TQ_SLOT( accept() ) ); } Resource *SelectDialog::resource() |