summaryrefslogtreecommitdiffstats
path: root/kommander/widget
diff options
context:
space:
mode:
Diffstat (limited to 'kommander/widget')
-rw-r--r--kommander/widget/functionlib.cpp8
-rw-r--r--kommander/widget/invokeclass.cpp4
-rw-r--r--kommander/widget/kmdrmainwindow.cpp2
-rw-r--r--kommander/widget/myprocess.cpp6
4 files changed, 10 insertions, 10 deletions
diff --git a/kommander/widget/functionlib.cpp b/kommander/widget/functionlib.cpp
index bf08888a..47db3bd0 100644
--- a/kommander/widget/functionlib.cpp
+++ b/kommander/widget/functionlib.cpp
@@ -429,9 +429,9 @@ static ParseNode f_widgetExists(Parser* p, const ParameterList& params)
static ParseNode f_connect(Parser* p, const ParameterList& params)
{
TQString sender = params[0].toString();
- TQString signal = TQString::number(TQSIGNAL_CODE) + params[1].toString();
+ TQString signal = TQString::number(TQ_SIGNAL_CODE) + params[1].toString();
TQString receiver = params[2].toString();
- TQString slot = TQString::number(TQSLOT_CODE) + params[3].toString();
+ TQString slot = TQString::number(TQ_SLOT_CODE) + params[3].toString();
KommanderWidget *senderW = p->currentWidget()->widgetByName(sender);
if (!senderW)
return ParseNode::error("unknown widget");
@@ -445,9 +445,9 @@ static ParseNode f_connect(Parser* p, const ParameterList& params)
static ParseNode f_disconnect(Parser* p, const ParameterList& params)
{
TQString sender = params[0].toString();
- TQString signal = TQString::number(TQSIGNAL_CODE) + params[1].toString();
+ TQString signal = TQString::number(TQ_SIGNAL_CODE) + params[1].toString();
TQString receiver = params[2].toString();
- TQString slot = TQString::number(TQSLOT_CODE) + params[3].toString();
+ TQString slot = TQString::number(TQ_SLOT_CODE) + params[3].toString();
KommanderWidget *senderW = p->currentWidget()->widgetByName(sender);
if (!senderW)
return ParseNode::error("unknown widget");
diff --git a/kommander/widget/invokeclass.cpp b/kommander/widget/invokeclass.cpp
index ec360d69..033ea770 100644
--- a/kommander/widget/invokeclass.cpp
+++ b/kommander/widget/invokeclass.cpp
@@ -24,8 +24,8 @@ void InvokeClass::invokeSlot(TQObject *object, const TQString& slot, TQStringLis
{
TQString invokeName = slot;
invokeName = invokeName.mid(invokeName.find('('));
- invokeName.prepend(TQString::number(TQSIGNAL_CODE) + "invoke");
- TQString slotName = TQString::number(TQSLOT_CODE) + slot;
+ invokeName.prepend(TQString::number(TQ_SIGNAL_CODE) + "invoke");
+ TQString slotName = TQString::number(TQ_SLOT_CODE) + slot;
connect(this, invokeName.ascii(), object, slotName.ascii());
if (args.count() == 0)
diff --git a/kommander/widget/kmdrmainwindow.cpp b/kommander/widget/kmdrmainwindow.cpp
index 845cc905..c44ea4a6 100644
--- a/kommander/widget/kmdrmainwindow.cpp
+++ b/kommander/widget/kmdrmainwindow.cpp
@@ -21,7 +21,7 @@
KmdrMainWindow::KmdrMainWindow(TQWidget *parent, const char *name, WFlags f)
: TDEMainWindow(parent, name, f)
{
- TQTimer::singleShot(10, this, TQT_SIGNAL(initialize()));
+ TQTimer::singleShot(10, this, TQ_SIGNAL(initialize()));
}
diff --git a/kommander/widget/myprocess.cpp b/kommander/widget/myprocess.cpp
index 5b56ec8d..943589c7 100644
--- a/kommander/widget/myprocess.cpp
+++ b/kommander/widget/myprocess.cpp
@@ -85,9 +85,9 @@ TQString MyProcess::run(const TQString& a_command, const TQString& a_shell)
mProcess = new TDEProcess;
(*mProcess) << shellName.latin1();
- connect(mProcess, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)),
- TQT_SLOT(slotReceivedStdout(TDEProcess*, char*, int)));
- connect(mProcess, TQT_SIGNAL(processExited(TDEProcess*)), TQT_SLOT(slotProcessExited(TDEProcess*)));
+ connect(mProcess, TQ_SIGNAL(receivedStdout(TDEProcess*, char*, int)),
+ TQ_SLOT(slotReceivedStdout(TDEProcess*, char*, int)));
+ connect(mProcess, TQ_SIGNAL(processExited(TDEProcess*)), TQ_SLOT(slotProcessExited(TDEProcess*)));
if(!mProcess->start(TDEProcess::NotifyOnExit, TDEProcess::All))
{