KApplication template

From Trinity Desktop Project Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
TDE Logo.png
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");
}