KApplication template

From Trinity Desktop Project Wiki
Revision as of 21:34, 22 August 2021 by Blu256 (talk | contribs) (Updated)
Jump to navigation Jump to search
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");
}