diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-29 16:27:29 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-29 16:27:29 +0900 |
commit | 2065ffa4d02f8a0a799cb7907879ba184949b52c (patch) | |
tree | 4fd65ff91aba795276930a1ef3a771d755e58567 /src/kreplacements | |
parent | 1efbeb497b0498457a48efe0a4c0ea28a809effb (diff) | |
download | kdiff3-2065ffa4d02f8a0a799cb7907879ba184949b52c.tar.gz kdiff3-2065ffa4d02f8a0a799cb7907879ba184949b52c.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/kreplacements')
-rw-r--r-- | src/kreplacements/kreplacements.cpp | 20 |
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() |