summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kofficepart/kopart_aboutdata.h
blob: 8a141a5e0ceab02afa3cc43902d5395d7c21e9e2 (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 <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