• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeui
 

tdeui

  • tdeui
tdeabouttde.cpp
1 /*
2  * This file is part of the KDE Libraries
3  * Copyright (C) 2000 Espen Sand (espen@kde.org)
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Library General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Library General Public License for more details.
14  *
15  * You should have received a copy of the GNU Library General Public License
16  * along with this library; see the file COPYING.LIB. If not, write to
17  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  * Boston, MA 02110-1301, USA.
19  *
20  */
21 
22 // I (espen) prefer that header files are included alphabetically
23 #include <tdeabouttde.h>
24 #include <tdeapplication.h>
25 #include <tdelocale.h>
26 #include <kstandarddirs.h>
27 
28 
29 TDEAboutKDE::TDEAboutKDE( TQWidget *parent, const char *name, bool modal )
30  :TDEAboutDialog( TDEAboutDialog::AbtKDEStandard, TQString::fromLatin1("TDE"),
31  KDialogBase::Help|KDialogBase::Close, KDialogBase::Close,
32  parent, name, modal )
33 {
34  const TQString text1 = i18n(""
35  "<p>The <b>Trinity Desktop Environment</b> was born as a fork of the "
36  "K Desktop Environment version 3.5, which was originally written by the KDE Team, "
37  "a world-wide network of software engineers committed to <a "
38  "href=\"http://www.gnu.org/philosophy/free-sw.html\">Free Software</a> "
39  "development. The name <i>Trinity</i> was chosen because the word means "
40  "<i>Three</i> as in <i>continuation of KDE 3</i>.</p><p>Since then, TDE has evolved to "
41  "be an independent and standalone computer desktop environment project. The developers "
42  "have molded the code to its own identity without giving up on the efficiency, "
43  "productivity and traditional user interface experience characteristic of the "
44  "original KDE 3 series.</p><p>No single group, company or organization controls the "
45  "Trinity source code. Everyone is welcome to contribute to Trinity.<br><br>Visit <a "
46  "href=\"http://www.trinitydesktop.org\">http://www.trinitydesktop.org</a> for more information "
47  "about Trinity, and <a href=\"http://www.kde.org\">http://www.kde.org</a> "
48  "for more information on the KDE project.</p>");
49 
50  const TQString text2 = i18n(""
51  "<p>Software can always be improved, and the Trinity Team is ready to "
52  "do so. However, you - the user - must tell us when "
53  "something does not work as expected or could be done better.</p><p>"
54  "The Trinity Desktop Environment has a bug tracking system. Visit "
55  "<a href=\"http://bugs.trinitydesktop.org\">http://bugs.trinitydesktop.org</a> or "
56  "use the \"Report Bug...\" dialog from the \"Help\" menu to report bugs.</p><p>"
57  "If you have a suggestion for improvement then you are welcome to use "
58  "the bug tracking system to register your wish. Make sure you use the "
59  "severity called \"Wishlist\".</p>" );
60 
61  const TQString text3 = i18n(""
62  "<p>You do not have to be a software developer to be a member of the "
63  "Trinity team. You can join the national teams that translate "
64  "program interfaces. You can provide graphics, themes, sounds, and "
65  "improved documentation. You decide!"
66  "</p><p>"
67  "Visit the "
68  "<a href=\"https://wiki.trinitydesktop.org/TDE_Gitea_Workspace\">TDE Gitea Workspace (TGW)</a> "
69  "to find out how you can contribute or mail us using one of the "
70  "available <a href=\"http://www.trinitydesktop.org/mailinglist.php\">mailing lists</a>."
71  "</p><p>"
72  "If you need more information or documentation, then a visit to "
73  "<a href=\"http://www.trinitydesktop.org/docs\">http://www.trinitydesktop.org/docs</a> "
74  "will provide you with what you need.</p>");
75 
76  const TQString text4 = i18n(""
77  "<p>TDE is available free of charge, but making it is not free.</p><p>"
78  "The Trinity team <i>does need</i> financial support. The money is used to "
79  "support the expenses incurred to keep the TDE servers running, so that you - "
80  "the user - can access them at any time. You are encouraged to support Trinity "
81  "through a financial or hardware donation, using one of the ways described at "
82  "<a href=\"http://www.trinitydesktop.org/donate.php\">http://www.trinitydesktop.org/donate.php</a>."
83  "</p><p>Thank you very much in advance for your support!</p>");
84 
85  setHelp( TQString::fromLatin1("khelpcenter/main.html"), TQString::null );
86  setTitle(i18n("Trinity Desktop Environment. Release %1").
87  arg(TQString::fromLatin1(TDE_VERSION_STRING)) );
88  addTextPage( i18n("About Trinity","&About"), text1, true );
89  addTextPage( i18n("&Report Bugs/Request Enhancements"), text2, true );
90  addTextPage( i18n("&Join the Trinity Team"), text3, true );
91  addTextPage( i18n("&Support Trinity"), text4, true );
92  setImage( locate( "data", TQString::fromLatin1("tdeui/pics/abouttde.png")) );
93  setImageBackgroundColor( white );
94 }
TDEAboutDialog
A KDialogBase with predefined main widget.
Definition: tdeaboutdialog.h:283
KDialogBase
A dialog base class with standard buttons and predefined layouts.
Definition: kdialogbase.h:191
TDEAboutDialog::setTitle
void setTitle(const TQString &title)
(Constructor II only) Sets a title (not caption) in the uppermost area of the dialog.
Definition: tdeaboutdialog.cpp:1691
TDEAboutKDE::TDEAboutKDE
TDEAboutKDE(TQWidget *parent=0, const char *name=0, bool modal=true)
Constructor.
Definition: tdeabouttde.cpp:29
tdelocale.h
TDEAboutDialog::setImage
void setImage(const TQString &fileName)
(Constructor II only) Define an image to be shown in the dialog.
Definition: tdeaboutdialog.cpp:1698
TDEAboutDialog::addTextPage
TQFrame * addTextPage(const TQString &title, const TQString &text, bool richText=false, int numLines=10)
(Constructor II only) Adds a text page to a tab box.
Definition: tdeaboutdialog.cpp:1642
TDEAboutDialog::setImageBackgroundColor
void setImageBackgroundColor(const TQColor &color)
(Constructor II only) The image has a minimum size, but is centered within an area if the dialog box ...
Definition: tdeaboutdialog.cpp:1723
locate
TQString locate(const char *type, const TQString &filename, const TDEInstance *instance=TDEGlobal::instance())
KDialogBase::setHelp
void setHelp(const TQString &anchor, const TQString &appname=TQString::null)
Sets the help path and topic.
Definition: kdialogbase.cpp:1279

tdeui

Skip menu "tdeui"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

tdeui

Skip menu "tdeui"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  •     tdecore
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  • tdeioslave
  •   http
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeui by doxygen 1.8.8
This website is maintained by Timothy Pearson.