Difference between revisions of "KApplication template"
Jump to navigation
Jump to search
(Updated) |
m (Correct syntax highlighter) |
||
Line 4: | Line 4: | ||
{{Applicable to TDE}} |
{{Applicable to TDE}} |
||
− | <syntaxhighlight lang=" |
+ | <syntaxhighlight lang="cpp"> |
#include <tqstring.h> |
#include <tqstring.h> |
||
#include <tdeapplication.h> |
#include <tdeapplication.h> |
Latest revision as of 21:35, 22 August 2021
Information on this page is applicable to TDE
This page contains archived KDE 3.x content from various sources which is directly applicable to (or has been updated for) the Trinity Desktop Environment.#include <tqstring.h>
#include <tdeapplication.h>
#include <tdeaboutdata.h>
#include <tdemessagebox.h>
#include <tdecmdlineargs.h>
int main (int argc, char *argv[])
{
TDEAboutData aboutData( "test", "test",
"1.0", "test", TDEAboutData::License_GPL,
"(c) 2021" );
TDECmdLineArgs::init( argc, argv, &aboutData );
TDEApplication hello_tde;
KMessageBox::information(0,"This is an example");
}