/* This file is part of the KDE libraries Copyright (C) 2007 Urs Wolfer Parts of this class have been take from the KAboutKDE class, which was Copyright (C) 2000 Espen Sand This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License version 2 as published by the Free Software Foundation. This library 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 Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "kaboutkdedialog_p.h" #include #include #include #include #include #include #include #include #include namespace KDEPrivate { KAboutKdeDialog::KAboutKdeDialog(QWidget *parent) : KDialog(parent), d( 0 ) { setWindowTitle(i18n("About Katana")); setButtons(KDialog::Close); KTitleWidget *titleWidget = new KTitleWidget(this); titleWidget->setText(i18n("Katana - Be Free and Be Efficient!
Platform Version %1", QString(KDE_VERSION_STRING))); titleWidget->setPixmap(KIcon("kde").pixmap(48), KTitleWidget::ImageLeft); QLabel *about = new QLabel; about->setMargin(10); about->setAlignment(Qt::AlignTop); about->setWordWrap(true); about->setOpenExternalLinks(true); about->setTextInteractionFlags(Qt::TextBrowserInteraction); about->setText(i18n("" "Katana is fork of KDE Software Distribution with emphasis on efficiency." "

" "Software can always be improved, and the Katana team is ready to do so. " "However, you - the user - must tell us when something does not work as " "expected or could be done better. You do not have to be a software developer " "to be a member of the Katana team. You can join the national teams that " "translate program interfaces. You can provide graphics, themes, sounds, and " "improved documentation. You decide!" "

" "Visit %1 to learn more about Katana.", QLatin1String("http://fluxer.github.io/katana/"))); QLabel *image = new QLabel; image->setPixmap(KStandardDirs::locate("data", "kdeui/pics/aboutkde.png")); QHBoxLayout *midLayout = new QHBoxLayout; midLayout->addWidget(image); midLayout->addWidget(about); QVBoxLayout *mainLayout = new QVBoxLayout; mainLayout->addWidget(titleWidget); mainLayout->addLayout(midLayout); mainLayout->setMargin(0); QWidget *mainWidget = new QWidget; mainWidget->setLayout(mainLayout); setMainWidget(mainWidget); } } #include "moc_kaboutkdedialog_p.cpp"