~ubuntu-branches/debian/sid/kdevelop/sid

« back to all changes in this revision

Viewing changes to languages/cpp/app_templates/kofficepart/kopart_aboutdata.h

  • Committer: Bazaar Package Importer
  • Author(s): Jeremy Lainé
  • Date: 2010-05-05 07:21:55 UTC
  • mfrom: (1.2.3 upstream) (5.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100505072155-h78lx19pu04sbhtn
Tags: 4:4.0.0-2
* Upload to unstable (Closes: #579947, #481832).
* Acknowledge obsolete NMU fixes (Closes: #562410, #546961).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
/* This template is based off of the KOffice example written by Torben Weis <weis@kde.org
3
 
   It was converted to a KDevelop template by Ian Reinhart Geiser <geiseri@yahoo.com>
4
 
*/
5
 
 
6
 
#ifndef %{APPNAME}_ABOUTDATA
7
 
#define %{APPNAME}_ABOUTDATA
8
 
 
9
 
#include <kaboutdata.h>
10
 
#include <klocale.h>
11
 
 
12
 
static const char description[] = I18N_NOOP("%{APPNAME} KOffice Program");
13
 
static const char version[]     = "%{VERSION}";
14
 
 
15
 
KAboutData * new%{APPNAME}AboutData()
16
 
{
17
 
    KAboutData * aboutData=new KAboutData( "%{APPNAMELC}", I18N_NOOP("%{APPNAME}"),
18
 
                                           version, description, KAboutData::License_%{LICENSE},
19
 
                                           "(c) %{YEAR}, %{AUTHOR}");
20
 
    aboutData->addAuthor("%{AUTHOR}",0, "%{EMAIL}");
21
 
    return aboutData;
22
 
}
23
 
 
24
 
#endif