author | alwin <alwin> | 2004-01-02 23:58:44 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-01-02 23:58:44 (UTC) |
commit | 86cac2c819dd683ac3f13be2c3bf1f28e0b83dab (patch) (side-by-side diff) | |
tree | 3ee125def2a60097d19c22bbd155ef1353f68f85 /noncore/net/mail/opiemail.h | |
parent | 9dbd01bcb23a56171d7ec24a9ca3fcd6f62bc6ab (diff) | |
download | opie-86cac2c819dd683ac3f13be2c3bf1f28e0b83dab.zip opie-86cac2c819dd683ac3f13be2c3bf1f28e0b83dab.tar.gz opie-86cac2c819dd683ac3f13be2c3bf1f28e0b83dab.tar.bz2 |
settings dialog will show when clicked.
slots are all virtual so always the right one is called!
Note: It is better to make all slots declared virtual - or do not make any
child-classes!
-rw-r--r-- | noncore/net/mail/opiemail.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/noncore/net/mail/opiemail.h b/noncore/net/mail/opiemail.h index 8cbcaa4..4e3c974 100644 --- a/noncore/net/mail/opiemail.h +++ b/noncore/net/mail/opiemail.h @@ -10,20 +10,20 @@ class OpieMail : public MainWindow public: OpieMail( QWidget *parent = 0, const char *name = 0, WFlags flags = 0 ); static QString appName() { return QString::fromLatin1("opiemail"); } public slots: - void slotwriteMail(const QString&name,const QString&email); - void slotComposeMail(); - void appMessage(const QCString &msg, const QByteArray &data); + virtual void slotwriteMail(const QString&name,const QString&email); + virtual void slotComposeMail(); + virtual void appMessage(const QCString &msg, const QByteArray &data); protected slots: - void slotSendQueued(); - void slotSearchMails(); - void slotEditSettings(); - void slotEditAccounts(); + virtual void slotSendQueued(); + virtual void slotSearchMails(); + virtual void slotEditSettings(); + virtual void slotEditAccounts(); private: Settings *settings; }; #endif |