summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kofficepart/kopart_aboutdata.h
blob: ab66d0881506bff63426a449db9af9d54330582e (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 <kaboutdata.h>
#include <klocale.h>

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

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

#endif