1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#ifndef BUG_MAILER_H #define BUG_MAILER_H "$Id$" #include <qobject.h> class SMTP; class BugMailer : public QObject { Q_OBJECT public: BugMailer(SMTP* s) : QObject(0, "mailer"), sm(s) {} public slots: void slotError(int); void slotSend(); private: SMTP *sm; }; #endif