From e16866e072f94410321d70daedbcb855ea878cac Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 6 Nov 2011 15:56:40 -0600 Subject: Actually move the kde files that were renamed in the last commit --- kdecore/tests/kprociotest.h | 42 ------------------------------------------ 1 file changed, 42 deletions(-) delete mode 100644 kdecore/tests/kprociotest.h (limited to 'kdecore/tests/kprociotest.h') diff --git a/kdecore/tests/kprociotest.h b/kdecore/tests/kprociotest.h deleted file mode 100644 index 9f948e644..000000000 --- a/kdecore/tests/kprociotest.h +++ /dev/null @@ -1,42 +0,0 @@ -// -// DUMMY -- A dummy class with a slot to demonstrate KProcess signals -// -// version 0.2, Aug 2nd 1997 -// -// (C) Christian Czezatke -// e9025461@student.tuwien.ac.at -// - - -#ifndef __DUMMY_H__ -#define __DUMMY_H__ - -#include -#include -#include "kprocio.h" - -class Dummy : public TQObject -{ - Q_OBJECT - - public slots: - void printMessage(KProcess *proc) - { - printf("Process %d exited!\n", (int)proc->getPid()); - } - - void gotOutput(KProcIO*proc) - { - TQString line; - while(true) { - int result = proc->readln(line); - if (result == -1) return; - printf("OUTPUT>> [%d] '%s'\n", result, line.latin1()); - } - } - -}; - -#endif - - -- cgit v1.2.1