diff options
author | Michele Calgaro <[email protected]> | 2024-01-13 17:34:53 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-18 09:59:16 +0900 |
commit | 40393e30bb743346b6b40bf130da35419c12ebdc (patch) | |
tree | 9330d82486c7b3125b8275914565b324f9af523e /ksirc/KSTicker/ksttest.cpp | |
parent | 05594058244ba6a1866d5758ae412fb5afd6d727 (diff) | |
download | tdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.tar.gz tdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 1329ec6abbcb7b79cd960e0ca138f16598d5f11f)
Diffstat (limited to 'ksirc/KSTicker/ksttest.cpp')
-rw-r--r-- | ksirc/KSTicker/ksttest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ksirc/KSTicker/ksttest.cpp b/ksirc/KSTicker/ksttest.cpp index f11be8da..88669f8d 100644 --- a/ksirc/KSTicker/ksttest.cpp +++ b/ksirc/KSTicker/ksttest.cpp @@ -80,10 +80,10 @@ int main(int argc, char **argv){ StdInTicker *kst = new StdInTicker(); TQSocketNotifier *sn = new TQSocketNotifier(0, TQSocketNotifier::Read); - TQObject::connect(sn, TQT_SIGNAL(activated(int)), - kst, TQT_SLOT(readsocket(int))); - TQObject::connect(kst, TQT_SIGNAL(doubleClick()), kst, TQT_SLOT(end())); - TQObject::connect(kst, TQT_SIGNAL(closing()), kst, TQT_SLOT(end())); + TQObject::connect(sn, TQ_SIGNAL(activated(int)), + kst, TQ_SLOT(readsocket(int))); + TQObject::connect(kst, TQ_SIGNAL(doubleClick()), kst, TQ_SLOT(end())); + TQObject::connect(kst, TQ_SIGNAL(closing()), kst, TQ_SLOT(end())); a.setMainWidget(kst); kst->show(); return a.exec(); |