summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kofficepart/kopart_aboutdata.h
blob: b1ac0f5a0a44462edca32357ed1272b4fe3e514e (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 <weis@kde.org
   It was converted to a KDevelop template by Ian Reinhart Geiser <geiseri@yahoo.com>
*/

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

#include <tdeaboutdata.h>
#include <tdelocale.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