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., 51 Franklin Street, Fifth Floor, 00018 * Boston, MA 02110-1301, 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( TQWidget *parent, const char *name, bool modal ) 00030 :KAboutDialog( KAboutDialog::AbtKDEStandard, TQString::fromLatin1("TDE"), 00031 KDialogBase::Help|KDialogBase::Close, KDialogBase::Close, 00032 parent, name, modal ) 00033 { 00034 const TQString text1 = i18n("" 00035 "The <b>Trinity Desktop Environment</b> was born as a fork of the " 00036 "K Desktop Environment version 3.5, which was originally written by the KDE Team, " 00037 "a world-wide network of software engineers committed to <a " 00038 "href=\"http://www.gnu.org/philosophy/free-sw.html\">Free Software</a> " 00039 "development. The name <i>Trinity</i> was chosen because the word means " 00040 "<i>Three</i> as in <i>continuation of KDE 3</i>.<br>Since then, TDE has evolved to be " 00041 "an indipendent and standalone computer desktop environment project. The developers " 00042 "have molded the code to its own identity without giving up on the efficiency, " 00043 "productivity and traditional user interface experience characteristic of the " 00044 "original KDE 3 series.<br><br>No single group, company or organization controls the " 00045 "Trinity source code. Everyone is welcome to contribute to Trinity.<br><br>Visit <A " 00046 "HREF=\"http://www.trinitydesktop.org\">http://www.trinitydesktop.org</A> for more information " 00047 "about Trinity, and <A HREF=\"http://www.kde.org\">http://www.kde.org</A> " 00048 "for more information on the KDE project. "); 00049 00050 const TQString text2 = i18n("" 00051 "Software can always be improved, and the Trinity Team is ready to " 00052 "do so. However, you - the user - must tell us when " 00053 "something does not work as expected or could be done better.<br><br>" 00054 "The Trinity Desktop Environment has a bug tracking system. Visit " 00055 "<a href=\"http://bugs.trinitydesktop.org\">http://bugs.trinitydesktop.org</a> or " 00056 "use the \"Report Bug...\" dialog from the \"Help\" menu to report bugs.<br><br>" 00057 "If you have a suggestion for improvement then you are welcome to use " 00058 "the bug tracking system to register your wish. Make sure you use the " 00059 "severity called \"Wishlist\"." ); 00060 00061 const TQString text3 = i18n("" 00062 "You do not have to be a software developer to be a member of the " 00063 "Trinity team. You can join the national teams that translate " 00064 "program interfaces. You can provide graphics, themes, sounds, and " 00065 "improved documentation. You decide!" 00066 "<br><br>" 00067 "Visit the " 00068 "<A HREF=\"http://www.trinitydesktop.org/jobs\">TDE Development</A> " 00069 "webpage to find out how you can contribute or mail us using one of the " 00070 "available <A HREF=\"http://www.trinitydesktop.org/mailinglist.php\">mailing lists</A>." 00071 "<br><br>" 00072 "If you need more information or documentation, then a visit to " 00073 "<A HREF=\"http://www.trinitydesktop.org/docs\">http://www.trinitydesktop.org/docs</A> " 00074 "will provide you with what you need."); 00075 00076 const TQString text4 = i18n("" 00077 "TDE is available free of charge, but making it is not free.<br><br>" 00078 "The Trinity team <i>does need</i> financial support. The money is used to " 00079 "support the expenses incurred to keep the TDE servers running, so that you - " 00080 "the user - can access them at any time. You are encouraged to support Trinity " 00081 "through a financial or hardware donation, using one of the ways described at " 00082 "<a href=\"http://www.trinitydesktop.org/donate.php\">http://www.trinitydesktop.org/donate.php</a>." 00083 "<br><br>Thank you very much in advance for your support!"); 00084 00085 setHelp( TQString::fromLatin1("khelpcenter/main.html"), TQString::null ); 00086 setTitle(i18n("Trinity Desktop Environment. Release %1"). 00087 arg(TQString::fromLatin1(KDE_VERSION_STRING)) ); 00088 addTextPage( i18n("About Trinity","&About"), text1, true ); 00089 addTextPage( i18n("&Report Bugs/Request Enhancements"), text2, true ); 00090 addTextPage( i18n("&Join the Trinity Team"), text3, true ); 00091 addTextPage( i18n("&Support Trinity"), text4, true ); 00092 setImage( locate( "data", TQString::fromLatin1("kdeui/pics/aboutkde.png")) ); 00093 setImageBackgroundColor( white ); 00094 }