diff -r 8429b60b68e6 -r 47cd4ae30000 aboutdialog.h --- a/aboutdialog.h Tue Aug 16 17:26:55 2005 +0000 +++ b/aboutdialog.h Tue Aug 16 17:27:34 2005 +0000 @@ -1,3 +1,4 @@ +/* emacs: -*- Mode: C; c-style: "bsd"; c-basic-offset: 4; c-recognize-knr-p: nil; -*- */ #ifndef ABOUTDIALOG_H #define ABOUTDIALOG_H @@ -8,7 +9,7 @@ #include #include - +class AboutTextBrowser; ///////////////////////////////////////////////////////////////////////////// class AboutDialog :public QDialog { @@ -17,14 +18,10 @@ public: AboutDialog(QWidget* parent = 0, const char* name = 0); - -public slots: - virtual void openLink (const QString &); - private: QTabWidget *tabs; - QTextBrowser *credits; - QTextBrowser *license; + AboutTextBrowser *credits; + AboutTextBrowser *license; QBoxLayout *mainLayout; QBoxLayout *topLayout; @@ -33,4 +30,13 @@ }; +class AboutTextBrowser : public QTextBrowser +{ + Q_OBJECT; + public: + AboutTextBrowser(QWidget *parent, const char *name = 0); + public slots: + void setSource(const QString &name); +}; + #endif