TDE core libraries
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

kdirwatchtest.h 734B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. This file is or will be part of KDE desktop environment
  3. Copyright 1998 Sven Radej <sven@lisa.exp.univie.ac.at>
  4. It is licensed under GPL version 2.
  5. If it is part of KDE libraries than this file is licensed under
  6. LGPL version 2.
  7. */
  8. #ifndef _KDIRWATCHTEST_H_
  9. #define _KDIRWATCHTEST_H_
  10. #include <stdlib.h>
  11. #include <stdio.h>
  12. #include <tqobject.h>
  13. #include "kdirwatch.h"
  14. #include "tdeapplication.h"
  15. class myTest : public TQObject
  16. {
  17. Q_OBJECT
  18. public:
  19. myTest() { };
  20. public slots:
  21. void dirty(const TQString &a) { printf("Dirty: %s\n", a.ascii()); };
  22. void created(const TQString& f) { printf("Created: %s\n", f.ascii()); }
  23. void deleted(const TQString& f) { printf("Deleted: %s\n", f.ascii()); }
  24. };
  25. #endif