23 #include <tdeabouttde.h>
24 #include <tdeapplication.h>
26 #include <kstandarddirs.h>
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>");
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>" );
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!"
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>."
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>");
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>");
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 TDE",
"&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")) );
A dialog base class with standard buttons and predefined layouts.
void setHelp(const TQString &anchor, const TQString &appname=TQString::null)
Sets the help path and topic.
A KDialogBase with predefined main widget.
void setImage(const TQString &fileName)
(Constructor II only) Define an image to be shown in the dialog.
void setImageBackgroundColor(const TQColor &color)
(Constructor II only) The image has a minimum size, but is centered within an area if the dialog box ...
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.
void setTitle(const TQString &title)
(Constructor II only) Sets a title (not caption) in the uppermost area of the dialog.
TDEAboutKDE(TQWidget *parent=0, const char *name=0, bool modal=true)
Constructor.
TQString locate(const char *type, const TQString &filename, const TDEInstance *instance=TDEGlobal::instance())