summaryrefslogtreecommitdiffstats
path: root/src/kreplacements
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-29 16:27:29 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-31 22:18:23 +0900
commit79daa6a12bd88ee9b3283d43e6a3bcd955d39cd1 (patch)
treeb576c84d85d824994f7fdaf8c5412475a5c7c185 /src/kreplacements
parent835702ea8d041b2521be63dfe0faf75ece29c7f7 (diff)
downloadkdiff3-79daa6a12bd88ee9b3283d43e6a3bcd955d39cd1.tar.gz
kdiff3-79daa6a12bd88ee9b3283d43e6a3bcd955d39cd1.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 2065ffa4d02f8a0a799cb7907879ba184949b52c)
Diffstat (limited to 'src/kreplacements')
-rw-r--r--src/kreplacements/kreplacements.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/kreplacements/kreplacements.cpp b/src/kreplacements/kreplacements.cpp
index a6b7a81..e6d9065 100644
--- a/src/kreplacements/kreplacements.cpp
+++ b/src/kreplacements/kreplacements.cpp
@@ -172,9 +172,9 @@ KDialogBase::KDialogBase( int, const TQString& caption, int, int, TQWidget* pare
setOkButton();
setDefaultButton();
- connect( this, TQT_SIGNAL( defaultButtonPressed() ), this, TQT_SLOT(slotDefault()) );
- connect( this, TQT_SIGNAL( helpButtonPressed() ), this, TQT_SLOT(slotHelp()));
- connect( this, TQT_SIGNAL( applyButtonPressed() ), this, TQT_SLOT( slotApply() ));
+ connect( this, TQ_SIGNAL( defaultButtonPressed() ), this, TQ_SLOT(slotDefault()) );
+ connect( this, TQ_SIGNAL( helpButtonPressed() ), this, TQ_SLOT(slotHelp()));
+ connect( this, TQ_SIGNAL( applyButtonPressed() ), this, TQ_SLOT( slotApply() ));
}
KDialogBase::~KDialogBase()
@@ -352,8 +352,8 @@ TDEActionCollection* TDEMainWindow::actionCollection()
void TDEMainWindow::createGUI()
{
- KStdAction::help(this, TQT_SLOT(slotHelp()), actionCollection());
- KStdAction::about(this, TQT_SLOT(slotAbout()), actionCollection());
+ KStdAction::help(this, TQ_SLOT(slotHelp()), actionCollection());
+ KStdAction::about(this, TQ_SLOT(slotAbout()), actionCollection());
KStdAction::aboutTQt(actionCollection());
}
@@ -480,10 +480,10 @@ void TDEAction::init(TQObject* receiver, const char* slot, TDEActionCollection*
if( slot!=0 )
{
if (!bToggle)
- connect(this, TQT_SIGNAL(activated()), receiver, slot);
+ connect(this, TQ_SIGNAL(activated()), receiver, slot);
else
{
- connect(this, TQT_SIGNAL(toggled(bool)), receiver, slot);
+ connect(this, TQ_SIGNAL(toggled(bool)), receiver, slot);
}
}
@@ -696,7 +696,7 @@ TDEAction* KStdAction::about( TQWidget* parent, const char* slot, TDEActionColle
TDEAction* KStdAction::aboutTQt( TDEActionCollection* actionCollection )
{
TDEMainWindow* p = actionCollection->m_pMainWindow;
- TDEAction* a = new TDEAction( i18n("About")+" TQt", 0, tqApp, TQT_SLOT(aboutTQt()), actionCollection, "about_qt", false, false );
+ TDEAction* a = new TDEAction( i18n("About")+" TQt", 0, tqApp, TQ_SLOT(aboutTQt()), actionCollection, "about_qt", false, false );
if(p) a->addTo( p->helpMenu );
return a;
}
@@ -733,7 +733,7 @@ TDEFontChooser::TDEFontChooser( TQWidget* pParent, const TQString& /*name*/, boo
m_pParent = pParent;
TQVBoxLayout* pLayout = new TQVBoxLayout( this );
m_pSelectFont = new TQPushButton(i18n("Select Font"), this );
- connect(m_pSelectFont, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotSelectFont()));
+ connect(m_pSelectFont, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSelectFont()));
pLayout->addWidget(m_pSelectFont);
m_pLabel = new TQLabel( "", this );
@@ -788,7 +788,7 @@ void TDEFontChooser::slotSelectFont()
KColorButton::KColorButton(TQWidget* parent)
: TQPushButton(parent)
{
- connect( this, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotClicked()));
+ connect( this, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotClicked()));
}
TQColor KColorButton::color()