diff options
Diffstat (limited to 'noatun/library/plugin.cpp')
-rw-r--r-- | noatun/library/plugin.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/noatun/library/plugin.cpp b/noatun/library/plugin.cpp index 033ccace..02c2f743 100644 --- a/noatun/library/plugin.cpp +++ b/noatun/library/plugin.cpp @@ -85,16 +85,16 @@ Visualization::Visualization(int timeout, int pid) // if this is a fork, do a cutesy arts thingy to get a remote // stack, otherwise, get it from localhost :) { - int tqparent=pid ? pid : getppid(); + int parent=pid ? pid : getppid(); if (getenv("NOATUN_PID")) - tqparent = TQString::tqfromLatin1(getenv("NOATUN_PID")).toInt(); + parent = TQString::tqfromLatin1(getenv("NOATUN_PID")).toInt(); DCOPClient c; c.attach(); TQCString appids[2]; - appids[0]=TQString("noatun-%1").tqarg(tqparent).local8Bit(); + appids[0]=TQString("noatun-%1").tqarg(parent).local8Bit(); appids[1]="noatun"; TQCString &appid=appids[0]; @@ -120,7 +120,7 @@ Visualization::Visualization(int timeout, int pid) if (!c.call(appid, "Noatun", "visStack()", TQByteArray(), replyType, replyData)) { - kdDebug(66666) << "Error communicating to tqparent noatun" << endl; + kdDebug(66666) << "Error communicating to parent noatun" << endl; } else { @@ -473,7 +473,7 @@ void StereoScope::setSamples(int len) -NoatunListener::NoatunListener(TQObject *tqparent) : TQObject(tqparent) +NoatunListener::NoatunListener(TQObject *parent) : TQObject(parent) { } NoatunListener::~NoatunListener() @@ -495,7 +495,7 @@ void NoatunListenerNotif::message() } -ExitNotifier::ExitNotifier(int pid, TQObject *tqparent) : NoatunListener(tqparent) +ExitNotifier::ExitNotifier(int pid, TQObject *parent) : NoatunListener(parent) { mNotif=new NoatunListenerNotif(this); @@ -528,7 +528,7 @@ ExitNotifier::ExitNotifier(int pid, TQObject *tqparent) : NoatunListener(tqparen if (!c.call(appid, "Noatun", "session()", TQByteArray(), replyType, replyData)) { - kdDebug(66666) << "Error communicating to tqparent noatun" << endl; + kdDebug(66666) << "Error communicating to parent noatun" << endl; } else { @@ -563,8 +563,8 @@ ExitNotifier::~ExitNotifier() delete mNotif; } -BoolNotifier::BoolNotifier(bool *value, NoatunListener *listener, TQObject *tqparent) - : TQObject(tqparent) +BoolNotifier::BoolNotifier(bool *value, NoatunListener *listener, TQObject *parent) + : TQObject(parent) { connect(listener, TQT_SIGNAL(event()), TQT_SLOT(event())); mValue=value; |