/***************************************************************************
* Copyright (C) 2005-08 by the Quassel IRC Team *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) version 3. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#include "aboutdlg.h"
#include "global.h"
AboutDlg::AboutDlg(QWidget *parent) : QDialog(parent) {
ui.setupUi(this);
ui.versionLabel->setText(QString(tr("Version %1
Protocol version: %2
Built: %3 %4")).arg(Global::quasselVersion)
.arg(Global::protocolVersion)
.arg(Global::quasselBuildDate).arg(Global::quasselBuildTime));
ui.aboutTextBrowser->setHtml(about());
ui.authorTextBrowser->setHtml(authors());
ui.contributorTextBrowser->setHtml(contributors());
ui.thanksToTextBrowser->setHtml(thanksTo());
}
QString AboutDlg::about() const {
QString res;
res = tr("A modern, distributed IRC Client
"
"©2005-2008 by the Quassel Project
"
"http://quassel-irc.org
"
"#quassel on Freenode
"
"Quassel IRC is dual-licensed under GPLv2 and "
"GPLv3.
"
"Most icons are © by the Oxygen Team and used under the "
"LGPL.
"
"Please use http://bugs.quassel-irc.org to report bugs."
);
return res;
}
QString AboutDlg::authors() const {
QString res;
res = tr("Quassel IRC is mainly developed by:") +
"