kdeui Library API Documentation

kaboutkde.cpp

00001 /*
00002  * This file is part of the KDE Libraries
00003  * Copyright (C) 2000 Espen Sand (espen@kde.org)
00004  *
00005  * This library is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU Library General Public
00007  * License as published by the Free Software Foundation; either
00008  * version 2 of the License, or (at your option) any later version.
00009  *
00010  * This library is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013  * Library General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU Library General Public License
00016  * along with this library; see the file COPYING.LIB.  If not, write to
00017  * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00018  * Boston, MA 02111-1307, USA.
00019  *
00020  */
00021 
00022 // I (espen) prefer that header files are included alphabetically
00023 #include <kaboutkde.h>
00024 #include <kapplication.h>
00025 #include <klocale.h>
00026 #include <kstandarddirs.h>
00027 
00028 
00029 KAboutKDE::KAboutKDE( QWidget *parent, const char *name, bool modal )
00030   :KAboutDialog( KAboutDialog::AbtKDEStandard, QString::fromLatin1("KDE"),
00031                  KDialogBase::Help|KDialogBase::Close, KDialogBase::Close,
00032                  parent, name, modal )
00033 {
00034   const QString text1 = i18n(""
00035     "The <b>K Desktop Environment</b> is written and maintained by the "
00036     "KDE Team, a world-wide network of software engineers committed to "
00037     "free software development.<br><br>"
00038     "No single group, company or organization controls the KDE source "
00039     "code. Everyone is welcome to contribute to KDE.<br><br>"
00040     "Visit <A HREF=\"http://www.kde.org/\">http://www.kde.org/</A> for "
00041     "more information on the KDE Project. ");
00042 
00043   const QString text2 = i18n(""
00044     "Software can always be improved, and the KDE Team is ready to "
00045     "do so. However, you - the user - must tell us when "
00046     "something does not work as expected or could be done better.<br><br>"
00047     "The K Desktop Environment has a bug tracking system. Visit "
00048     "<A HREF=\"http://bugs.kde.org/\">http://bugs.kde.org/</A> or "
00049     "use the \"Report Bug\" dialog from the \"Help\" menu to report bugs.<br><br>"
00050     "If you have a suggestion for improvement then you are welcome to use "
00051     "the bug tracking system to register your wish. Make sure you use the "
00052     "Severity called \"Wishlist\"." );
00053 
00054   const QString text3 = i18n(""
00055     "You don't have to be a software developer to be a member of the "
00056     "KDE Team. You can join the national teams that translate "
00057     "program interfaces. You can provide graphics, themes, sounds and "
00058     "improved documentation. You decide!"
00059     "<br><br>"
00060     "Visit "
00061     "<A HREF=\"http://www.kde.org/jobs.html\">http://www.kde.org/jobs.html</A> "
00062     "for information on some projects in which you can participate."
00063     "<br><br>"
00064     "If you need more information or documentation, then a visit to "
00065     "<A HREF=\"http://developer.kde.org/\">http://developer.kde.org/</A> "
00066     "will provide you with what you need.");
00067   const QString text4 = i18n(""
00068     "KDE is available free of charge, but making it is not for free.<br><br>"
00069     "Thus, the KDE Team formed the KDE Association, a non-profit organization"
00070     " legally founded in Tuebingen, Germany. The KDE Association represents"
00071     " the KDE Project in legal and financial matters."
00072     " See <a href=\"http://www.kde.org/kde-ev/\">http://www.kde.org/kde-ev/</a>"
00073     " for information on the KDE Association.<br><br>"
00074     "The KDE Team does need financial support. Most of the money is used to "
00075     "reimburse members and others on expenses they experienced when "
00076     "contributing to KDE. You are encouraged to support KDE through a financial "
00077     "donation, using one of the ways described at "
00078     "<a href=\"http://www.kde.org/support.html\">http://www.kde.org/support"
00079     ".html</a>.<br><br>Thank you very much in advance for your support.");
00080   setHelp( QString::fromLatin1("khelpcenter/main.html"), QString::null );
00081   setTitle(i18n("K Desktop Environment. Release %1").
00082            arg(QString::fromLatin1(KDE_VERSION_STRING)) );
00083   addTextPage( i18n("About KDE","&About"), text1, true );
00084   addTextPage( i18n("&Report Bugs or Wishes"), text2, true );
00085   addTextPage( i18n("&Join the KDE Team"), text3, true );
00086   addTextPage( i18n("&Supporting KDE"), text4, true );
00087   setImage( locate( "data", QString::fromLatin1("kdeui/pics/aboutkde.png")) );
00088   setImageBackgroundColor( white );
00089 }
00090 
00091 
00092 
00093 
00094 
00095 
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.5.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Jan 28 12:55:51 2004 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001