1234567891011121314151617181920212223242526272829303132333435363738 |
- /*
- * The MiniQt Library
- *
- * Copyright (C) 1999 Sandro Sigala <ssigala@globalnet.it>
- */
- #ifndef QMINIQT_H
- #define QMINIQT_H
- #undef TRUE
- #undef FALSE
- #define TRUE 1
- #define FALSE 0
- #define Q_OBJECT \
- public: \
- const char *className() const; \
- protected: \
- void initMetaObject(); \
- private: \
- QMetaObjectCheck moc_check;
- #define signals protected
- #define slots
- #define emit
- #define SIGNAL(x) #x
- #define SLOT(x) #x
- #ifdef DEBUG
- void qDebugSetTypes(int no, ...);
- void qDebug(const char *type, const char *fmt, ...);
- #endif
- void qWarning(const char *fmt, ...);
- void qFatal(const char *fmt, ...);
- #endif // !QMINIQT_H
|