diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-22 19:55:40 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-22 19:55:40 -0600 |
commit | 73ff676f11662d6178c8854a7832ebffe2ae409d (patch) | |
tree | 9e89ea7d87940087d2d3c5db9b378ef989dd1346 /example/example_aboutdata.h | |
parent | c2ba2f56121c21a762619faf195e8332ef5b224f (diff) | |
download | koffice-73ff676f11662d6178c8854a7832ebffe2ae409d.tar.gz koffice-73ff676f11662d6178c8854a7832ebffe2ae409d.zip |
Rename KInstance and KAboutData to avoid conflicts with KDE4
Diffstat (limited to 'example/example_aboutdata.h')
-rw-r--r-- | example/example_aboutdata.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/example/example_aboutdata.h b/example/example_aboutdata.h index a4ed180d0..895368761 100644 --- a/example/example_aboutdata.h +++ b/example/example_aboutdata.h @@ -26,14 +26,14 @@ static const char* description=I18N_NOOP("Example KOffice Program"); static const char* version="0.1"; -KAboutData * newExampleAboutData() +TDEAboutData * newExampleAboutData() { // Change this, of course - // The first argument of the KAboutData constructor is the instance name. + // The first argument of the TDEAboutData constructor is the instance name. // It is very important, it's what's used for many things, like the subdir in share/apps, etc. // It must also match the name of the application's .desktop file. - KAboutData * aboutData=new KAboutData( "example", I18N_NOOP("Example"), - version, description, KAboutData::License_GPL, + TDEAboutData * aboutData=new TDEAboutData( "example", I18N_NOOP("Example"), + version, description, TDEAboutData::License_GPL, "(c) 1998-2000, Torben Weis"); aboutData->addAuthor("Torben Weis",0, "weis@kde.org"); return aboutData; |