diff -r 4426ecd854bb -r 85eab6b8120b aboutdialog.cpp --- a/aboutdialog.cpp Mon Aug 08 16:16:42 2005 +0000 +++ b/aboutdialog.cpp Wed Aug 10 06:26:20 2005 +0000 @@ -3,9 +3,8 @@ #include "icons/vym-48x48.xpm" -AboutDialog::AboutDialog( QWidget *parent, const char *name ) - : QDialog ( parent, name) - +AboutDialog::AboutDialog( QWidget *parent, const char *name) + : QDialog( parent, name) { mainLayout=new QVBoxLayout( this); @@ -23,7 +22,7 @@ ", with one exception (see the file \"LICENSE\"which " "comes with vym). This exception is needed to build vym with QT libraries for proprietary operating systems." "
  • Project homepage " - "http:/www.InSilmaril.de/vym
  • " + "http://www.InSilmaril.de/vym" "
  • Credits " "" "
  • "); credits->setFrameStyle( QFrame::Panel | QFrame::Plain ); + credits->mimeSourceFactory(); tabs->addTab (credits,"Credits"); license=new QTextBrowser (this,"license"); @@ -52,18 +52,16 @@ okbutton->setAutoDefault (true); mainLayout->addWidget( okbutton); - connect (credits,SIGNAL (linkClicked(const QString&)),this ,SLOT - (openLnk(const QString&))); + connect (credits,SIGNAL ( linkClicked(const QString&)),this ,SLOT ( openLink(const QString&))); +// connect( credits, SIGNAL( sourceChanged(const QString& ) ), +// this, SLOT( openLink( const QString&) ) ); + connect( okbutton, SIGNAL( clicked() ), this, SLOT( accept() ) ); } -AboutDialog::~AboutDialog() + +void AboutDialog::openLink(const QString &url) { +// okbutton->setText (url); } - - -void AboutDialog::openLnk(const QString &url) -{ - okbutton->setText (url); -}