qminiqt.h 692 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * The MiniQt Library
  3. *
  4. * Copyright (C) 1999 Sandro Sigala <ssigala@globalnet.it>
  5. */
  6. #ifndef QMINIQT_H
  7. #define QMINIQT_H
  8. #undef TRUE
  9. #undef FALSE
  10. #define TRUE 1
  11. #define FALSE 0
  12. #define Q_OBJECT \
  13. public: \
  14. const char *className() const; \
  15. protected: \
  16. void initMetaObject(); \
  17. private: \
  18. QMetaObjectCheck moc_check;
  19. #define signals protected
  20. #define slots
  21. #define emit
  22. #define SIGNAL(x) #x
  23. #define SLOT(x) #x
  24. #ifdef DEBUG
  25. void qDebugSetTypes(int no, ...);
  26. void qDebug(const char *type, const char *fmt, ...);
  27. #endif
  28. void qWarning(const char *fmt, ...);
  29. void qFatal(const char *fmt, ...);
  30. #endif // !QMINIQT_H