summaryrefslogtreecommitdiffstats
path: root/tdecore/tests
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-12-15 22:06:44 +0900
committerMichele Calgaro <[email protected]>2024-12-15 22:06:44 +0900
commitaf644c020106e7096d4fe9c648f25eede98c972f (patch)
treee20b7c4bc22bca994e80e6a798313b5800efce21 /tdecore/tests
parenta876c10e905fa357d43de03cf0fcb922cac9e4d5 (diff)
downloadtdelibs-master.tar.gz
tdelibs-master.zip
Rename class KProcIO to TDEProcIOHEADmaster
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdecore/tests')
-rw-r--r--tdecore/tests/CMakeLists.txt2
-rw-r--r--tdecore/tests/Makefile.am6
-rw-r--r--tdecore/tests/tdeprociotest.cpp (renamed from tdecore/tests/kprociotest.cpp)12
-rw-r--r--tdecore/tests/tdeprociotest.h (renamed from tdecore/tests/kprociotest.h)4
4 files changed, 12 insertions, 12 deletions
diff --git a/tdecore/tests/CMakeLists.txt b/tdecore/tests/CMakeLists.txt
index b0c1fb36b..e79dbfdeb 100644
--- a/tdecore/tests/CMakeLists.txt
+++ b/tdecore/tests/CMakeLists.txt
@@ -36,7 +36,7 @@ set( CHECKS
ksocktest kstringhandlertest kcmdlineargstest tdeapptest kmemtest
dcopkonqtest kipctest cplusplustest kiconloadertest kresolvertest
kmdcodectest knotifytest ksortablevaluelisttest krfcdatetest testqtargs
- kprociotest kcharsetstest kcalendartest kmacroexpandertest kshelltest
+ tdeprociotest kcharsetstest kcalendartest kmacroexpandertest kshelltest
kxerrorhandlertest startserviceby kglobaltest ktimezonestest
)
diff --git a/tdecore/tests/Makefile.am b/tdecore/tests/Makefile.am
index c7b1f7d0e..cbf12cb2c 100644
--- a/tdecore/tests/Makefile.am
+++ b/tdecore/tests/Makefile.am
@@ -26,14 +26,14 @@ check_PROGRAMS = tdeconfigtestgui klocaletest tdeprocesstest ksimpleconfigtest \
kdebugtest ksocktest kstringhandlertest kcmdlineargstest tdeapptest \
kmemtest kidlservertest kidlclienttest dcopkonqtest kipctest \
cplusplustest kiconloadertest kresolvertest kmdcodectest knotifytest \
- ksortablevaluelisttest krfcdatetest testqtargs kprociotest \
+ ksortablevaluelisttest krfcdatetest testqtargs tdeprociotest \
kcharsetstest kcalendartest kmacroexpandertest kshelltest \
kxerrorhandlertest startserviceby tdestdacceltest kglobaltest ktimezonestest
TESTS = kurltest tdestdacceltest
noinst_HEADERS = klocaletest.h tdeprocesstest.h KIDLTest.h \
- kipctest.h kprociotest.h
+ kipctest.h tdeprociotest.h
METASOURCES = AUTO
@@ -68,7 +68,7 @@ knotifytest_SOURCES = knotifytest.cpp
ksortablevaluelisttest_SOURCES = ksortablevaluelisttest.cpp
krfcdatetest_SOURCES = krfcdatetest.cpp
testqtargs_SOURCES = testqtargs.cpp
-kprociotest_SOURCES = kprociotest.cpp
+tdeprociotest_SOURCES = tdeprociotest.cpp
kcharsetstest_SOURCES = kcharsetstest.cpp
kcalendartest_SOURCES = kcalendartest.cpp
kmacroexpandertest_SOURCES = kmacroexpandertest.cpp
diff --git a/tdecore/tests/kprociotest.cpp b/tdecore/tests/tdeprociotest.cpp
index 81522f394..16c9b14b6 100644
--- a/tdecore/tests/kprociotest.cpp
+++ b/tdecore/tests/tdeprociotest.cpp
@@ -17,7 +17,7 @@
#include <signal.h>
-#include "kprociotest.h"
+#include "tdeprociotest.h"
@@ -32,17 +32,17 @@ werke\nmerkt\nich\nund\nden\nbrauch\nund\nmit\ngeistesstaerke\ntu\nich\nwunder\n
int main(int argc, char *argv[])
{
Dummy dummy;
- TDEApplication app(argc, argv, TQCString("kprociotest"));
+ TDEApplication app(argc, argv, TQCString("tdeprociotest"));
- printf("Welcome to the KProcIO Demo Application!\n");
+ printf("Welcome to the TDEProcIO Demo Application!\n");
- KProcIO p;
+ TDEProcIO p;
p << "rev";
p.connect(&p, TQ_SIGNAL(processExited(TDEProcess*)), &dummy, TQ_SLOT(printMessage(TDEProcess*)));
- p.connect(&p, TQ_SIGNAL(readReady(KProcIO*)), &dummy, TQ_SLOT(gotOutput(KProcIO*)));
+ p.connect(&p, TQ_SIGNAL(readReady(TDEProcIO*)), &dummy, TQ_SLOT(gotOutput(TDEProcIO*)));
bool b;
@@ -62,4 +62,4 @@ int main(int argc, char *argv[])
return 0;
}
-#include "kprociotest.moc"
+#include "tdeprociotest.moc"
diff --git a/tdecore/tests/kprociotest.h b/tdecore/tests/tdeprociotest.h
index 78b5ad926..194a26504 100644
--- a/tdecore/tests/kprociotest.h
+++ b/tdecore/tests/tdeprociotest.h
@@ -13,7 +13,7 @@
#include <stdio.h>
#include <tqobject.h>
-#include "kprocio.h"
+#include "tdeprocio.h"
class Dummy : public TQObject
{
@@ -25,7 +25,7 @@ class Dummy : public TQObject
printf("Process %d exited!\n", (int)proc->getPid());
}
- void gotOutput(KProcIO*proc)
+ void gotOutput(TDEProcIO*proc)
{
TQString line;
while(true) {