diff -r 85eab6b8120b -r fa05daf043a8 aboutdialog.h --- a/aboutdialog.h Wed Aug 10 06:26:20 2005 +0000 +++ b/aboutdialog.h Fri Aug 19 07:42:31 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