summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kofficepart/kopart_aboutdata.h
blob: 208932713d41297bf4e63b512a9e60c1d3fe8509 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

/* This template is based off of the KOffice example written by Torben Weis <[email protected]
   It was converted to a KDevelop template by Ian Reinhart Geiser <[email protected]>
*/

#ifndef %{APPNAME}_ABOUTDATA
#define %{APPNAME}_ABOUTDATA

#include <kaboutdata.h>
#include <klocale.h>

static const char description[] = I18N_NOOP("%{APPNAME} KOffice Program");
static const char version[]     = "%{VERSION}";

TDEAboutData * new%{APPNAME}AboutData()
{
    TDEAboutData * aboutData=new TDEAboutData( "%{APPNAMELC}", I18N_NOOP("%{APPNAME}"),
                                           version, description, TDEAboutData::License_%{LICENSE},
                                           "(c) %{YEAR}, %{AUTHOR}");
    aboutData->addAuthor("%{AUTHOR}",0, "%{EMAIL}");
    return aboutData;
}

#endif