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-07 19:44:21 +0900 |
commit | 6b4a51a0227ba8e68eb8e42166d2a19c7aeb8b77 (patch) | |
tree | 985ab81040620d6662e6ab4b91c52b66c2a8d101 /tdesudo/tdesudo.cpp | |
parent | da05d2b426318da41d5d865adfbf634495ef3f4b (diff) | |
download | tdesudo-6b4a51a0227ba8e68eb8e42166d2a19c7aeb8b77.tar.gz tdesudo-6b4a51a0227ba8e68eb8e42166d2a19c7aeb8b77.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit da70e67374de03d147c7502dfdca05df38ef1760)
Diffstat (limited to 'tdesudo/tdesudo.cpp')
-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); |