diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-14 14:38:52 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-14 14:38:52 +0900 |
commit | 931991843ab3b6b0b0157dd433c226f7fc2ebc1b (patch) | |
tree | a13f719941f2a6bcde02ef743d26f553ef5ed530 /kommander/widgets/execbutton.cpp | |
parent | dfaa5c55fe83e439b4404143f254da811bc0d7c6 (diff) | |
download | tdewebdev-931991843ab3b6b0b0157dd433c226f7fc2ebc1b.tar.gz tdewebdev-931991843ab3b6b0b0157dd433c226f7fc2ebc1b.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kommander/widgets/execbutton.cpp')
-rw-r--r-- | kommander/widgets/execbutton.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kommander/widgets/execbutton.cpp b/kommander/widgets/execbutton.cpp index 15043c15..9ab99d1f 100644 --- a/kommander/widgets/execbutton.cpp +++ b/kommander/widgets/execbutton.cpp @@ -56,7 +56,7 @@ ExecButton::ExecButton(TQWidget* a_parent, const char* a_name) setDisplayStates(states); setWriteStdout(true); setBlockGUI(Button); - connect(this, TQT_SIGNAL(clicked()), this, TQT_SLOT(startProcess())); + connect(this, TQ_SIGNAL(clicked()), this, TQ_SLOT(startProcess())); KommanderPlugin::setDefaultGroup(Group::DCOP); KommanderPlugin::registerFunction(EB_isOn, "isOn(TQString widget)", i18n("For use only when button is togle type."), 1); @@ -120,7 +120,7 @@ void ExecButton::startProcess() TDEApplication::setOverrideCursor(TQCursor(TQt::WaitCursor)); MyProcess* process = new MyProcess(this); process->setBlocking(m_blockGUI == GUI); - connect(process, TQT_SIGNAL(processExited(MyProcess*)), TQT_SLOT(processExited(MyProcess*))); + connect(process, TQ_SIGNAL(processExited(MyProcess*)), TQ_SLOT(processExited(MyProcess*))); m_output = process->run(at); if (m_blockGUI == GUI) { |