diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-05 10:21:43 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-05 10:21:43 +0900 |
commit | da70e67374de03d147c7502dfdca05df38ef1760 (patch) | |
tree | 985ab81040620d6662e6ab4b91c52b66c2a8d101 | |
parent | 6ed6d24fcff4589286ee0b35476edfb2c62773db (diff) | |
download | tdesudo-da70e67374de03d147c7502dfdca05df38ef1760.tar.gz tdesudo-da70e67374de03d147c7502dfdca05df38ef1760.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | tdesudo/tdesudo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tdesudo/tdesudo.cpp b/tdesudo/tdesudo.cpp index 83158ab..b7337c4 100644 --- a/tdesudo/tdesudo.cpp +++ b/tdesudo/tdesudo.cpp @@ -168,9 +168,9 @@ TdeSudo::TdeSudo(TQWidget *parent, const char *name,const TQString& icon, const kdeSycoca = TQFile::encodeName(locateLocal("cache", "tdesycoca")); } - connect( p, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)), this, TQT_SLOT(receivedOut(TDEProcess*, char*, int)) ); - connect( p, TQT_SIGNAL(receivedStderr(TDEProcess*, char*, int)), this, TQT_SLOT(receivedOut(TDEProcess*, char*, int)) ); - connect( p, TQT_SIGNAL(processExited (TDEProcess *)), this, TQT_SLOT(procExited(TDEProcess*))); + connect( p, TQ_SIGNAL(receivedStdout(TDEProcess*, char*, int)), this, TQ_SLOT(receivedOut(TDEProcess*, char*, int)) ); + connect( p, TQ_SIGNAL(receivedStderr(TDEProcess*, char*, int)), this, TQ_SLOT(receivedOut(TDEProcess*, char*, int)) ); + connect( p, TQ_SIGNAL(processExited (TDEProcess *)), this, TQ_SLOT(procExited(TDEProcess*))); TQString xauthenv = TQString(getenv("HOME")) + "/.Xauthority"; p->setEnvironment("XAUTHORITY", xauthenv); |