diff options
Diffstat (limited to 'kdecore/tests/kipctest.cpp')
-rw-r--r-- | kdecore/tests/kipctest.cpp | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/kdecore/tests/kipctest.cpp b/kdecore/tests/kipctest.cpp deleted file mode 100644 index 136aa6d70..000000000 --- a/kdecore/tests/kipctest.cpp +++ /dev/null @@ -1,33 +0,0 @@ -#include <stdio.h> -#include <stdlib.h> -#include <tqobject.h> -#include <kapplication.h> -#include <kipc.h> -#include "kipctest.h" - -MyObject::MyObject() - : TQObject(0L, "testobj") -{ - connect(kapp, TQT_SIGNAL(kdisplayPaletteChanged()), TQT_SLOT(slotPaletteChanged())); - connect(kapp, TQT_SIGNAL(kdisplayFontChanged()), TQT_SLOT(slotFontChanged())); - connect(kapp, TQT_SIGNAL(kdisplayStyleChanged()), TQT_SLOT(slotStyleChanged())); - connect(kapp, TQT_SIGNAL(backgroundChanged(int)), TQT_SLOT(slotBackgroundChanged(int))); - connect(kapp, TQT_SIGNAL(appearanceChanged()), TQT_SLOT(slotAppearanceChanged())); - connect(kapp, TQT_SIGNAL(kipcMessage(int,int)), TQT_SLOT(slotMessage(int,int))); -} - -int main(int argc, char **argv) -{ - KApplication app(argc, argv, "kipc"); - - if (argc == 3) - { - KIPC::sendMessageAll((KIPC::Message) atoi(argv[1]), atoi(argv[2])); - return 0; - } - - MyObject obj; - return app.exec(); -} - -#include "kipctest.moc" |