summaryrefslogtreecommitdiffstats
path: root/tdeutils/tests
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-12 11:17:33 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-12 12:39:52 +0900
commitba3b5b77e1a430dc7197df20872ba46ce2fb6fa7 (patch)
treed8b80b41bf117fe1d5caa7e7faecfab523e81153 /tdeutils/tests
parent5d320b587ba28fa3c4745e1555aff74d5651783e (diff)
downloadtdelibs-ba3b5b77e1a430dc7197df20872ba46ce2fb6fa7.tar.gz
tdelibs-ba3b5b77e1a430dc7197df20872ba46ce2fb6fa7.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeutils/tests')
-rw-r--r--tdeutils/tests/kfindtest.cpp8
-rw-r--r--tdeutils/tests/kreplacetest.cpp12
2 files changed, 10 insertions, 10 deletions
diff --git a/tdeutils/tests/kfindtest.cpp b/tdeutils/tests/kfindtest.cpp
index c913e5ec6..6a724d6a3 100644
--- a/tdeutils/tests/kfindtest.cpp
+++ b/tdeutils/tests/kfindtest.cpp
@@ -59,10 +59,10 @@ void KFindTest::find(const TQString &pattern, long options)
delete m_find;
m_find = new KFind(pattern, options, 0);
- connect(m_find, TQT_SIGNAL(highlight(const TQString &, int, int)),
- TQT_SLOT(slotHighlight(const TQString &, int, int)));
- connect(m_find, TQT_SIGNAL(highlight(int, int, int)),
- TQT_SLOT(slotHighlight(int, int, int)));
+ connect(m_find, TQ_SIGNAL(highlight(const TQString &, int, int)),
+ TQ_SLOT(slotHighlight(const TQString &, int, int)));
+ connect(m_find, TQ_SIGNAL(highlight(int, int, int)),
+ TQ_SLOT(slotHighlight(int, int, int)));
m_line = 0;
KFind::Result result = KFind::NoMatch;
diff --git a/tdeutils/tests/kreplacetest.cpp b/tdeutils/tests/kreplacetest.cpp
index 19ead8e77..df21d0c81 100644
--- a/tdeutils/tests/kreplacetest.cpp
+++ b/tdeutils/tests/kreplacetest.cpp
@@ -38,14 +38,14 @@ void KReplaceTest::replace( const TQString &pattern, const TQString &replacement
// Connect highlight signal to code which handles highlighting
// of found text.
- connect(m_replace, TQT_SIGNAL( highlight( const TQString &, int, int ) ),
- this, TQT_SLOT( slotHighlight( const TQString &, int, int ) ) );
+ connect(m_replace, TQ_SIGNAL( highlight( const TQString &, int, int ) ),
+ this, TQ_SLOT( slotHighlight( const TQString &, int, int ) ) );
// Connect findNext signal - called when pressing the button in the dialog
- connect(m_replace, TQT_SIGNAL( findNext() ),
- this, TQT_SLOT( slotReplaceNext() ) );
+ connect(m_replace, TQ_SIGNAL( findNext() ),
+ this, TQ_SLOT( slotReplaceNext() ) );
// Connect replace signal - called when doing a replacement
- connect(m_replace, TQT_SIGNAL( replace(const TQString &, int, int, int) ),
- this, TQT_SLOT( slotReplace(const TQString &, int, int, int) ) );
+ connect(m_replace, TQ_SIGNAL( replace(const TQString &, int, int, int) ),
+ this, TQ_SLOT( slotReplace(const TQString &, int, int, int) ) );
// Go to initial position
if ( (options & KReplaceDialog::FromCursor) == 0 )