From ce4a32fe52ef09d8f5ff1dd22c001110902b60a2 Mon Sep 17 00:00:00 2001 From: toma Date: Wed, 25 Nov 2009 17:56:58 +0000 Subject: Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdeui/kaboutkde.cpp | 89 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 kdeui/kaboutkde.cpp (limited to 'kdeui/kaboutkde.cpp') diff --git a/kdeui/kaboutkde.cpp b/kdeui/kaboutkde.cpp new file mode 100644 index 000000000..f6fe8cde9 --- /dev/null +++ b/kdeui/kaboutkde.cpp @@ -0,0 +1,89 @@ +/* + * This file is part of the KDE Libraries + * Copyright (C) 2000 Espen Sand (espen@kde.org) + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * 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. + * + */ + +// I (espen) prefer that header files are included alphabetically +#include +#include +#include +#include + + +KAboutKDE::KAboutKDE( QWidget *parent, const char *name, bool modal ) + :KAboutDialog( KAboutDialog::AbtKDEStandard, QString::fromLatin1("KDE"), + KDialogBase::Help|KDialogBase::Close, KDialogBase::Close, + parent, name, modal ) +{ + const QString text1 = i18n("" + "The K Desktop Environment is written and maintained by the " + "KDE Team, a world-wide network of software engineers committed to " + "Free Software development.

" + "No single group, company or organization controls the KDE source " + "code. Everyone is welcome to contribute to KDE.

" + "Visit http://www.kde.org for " + "more information on the KDE project. "); + + const QString text2 = i18n("" + "Software can always be improved, and the KDE 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.

" + "The K Desktop Environment has a bug tracking system. Visit " + "http://bugs.kde.org or " + "use the \"Report Bug...\" dialog from the \"Help\" menu to report bugs.

" + "If you have a suggestion for improvement then you are welcome to use " + "the bug tracking system to register your wish. Make sure you use the " + "severity called \"Wishlist\"." ); + + const QString text3 = i18n("" + "You do not have to be a software developer to be a member of the " + "KDE team. You can join the national teams that translate " + "program interfaces. You can provide graphics, themes, sounds, and " + "improved documentation. You decide!" + "

" + "Visit " + "http://www.kde.org/jobs/ " + "for information on some projects in which you can participate." + "

" + "If you need more information or documentation, then a visit to " + "http://developer.kde.org " + "will provide you with what you need."); + const QString text4 = i18n("" + "KDE is available free of charge, but making it is not free.

" + "Thus, the KDE team formed the KDE e.V., a non-profit organization" + " legally founded in Tuebingen, Germany. The KDE e.V. represents" + " the KDE project in legal and financial matters." + " See http://www.kde-ev.org" + " for information on the KDE e.V.

" + "The KDE team does need financial support. Most of the money is used to " + "reimburse members and others on expenses they experienced when " + "contributing to KDE. You are encouraged to support KDE through a financial " + "donation, using one of the ways described at " + "http://www.kde.org/support/." + "

Thank you very much in advance for your support."); + setHelp( QString::fromLatin1("khelpcenter/main.html"), QString::null ); + setTitle(i18n("K Desktop Environment. Release %1"). + arg(QString::fromLatin1(KDE_VERSION_STRING)) ); + addTextPage( i18n("About KDE","&About"), text1, true ); + addTextPage( i18n("&Report Bugs or Wishes"), text2, true ); + addTextPage( i18n("&Join the KDE Team"), text3, true ); + addTextPage( i18n("&Support KDE"), text4, true ); + setImage( locate( "data", QString::fromLatin1("kdeui/pics/aboutkde.png")) ); + setImageBackgroundColor( white ); +} -- cgit v1.2.1