Rename KInstance and KAboutData to avoid conflicts with KDE4

pull/2/head
Timothy Pearson 12 years ago
parent f854fc56b3
commit 407c4ef989

@ -38,11 +38,11 @@ static KCmdLineOptions options[] =
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
// specify data for About dialog // specify data for About dialog
KAboutData* about = new KAboutData("kdpkg-install", I18N_NOOP("kdpkg-install"), ""); TDEAboutData* about = new TDEAboutData("kdpkg-install", I18N_NOOP("kdpkg-install"), "");
about->setProgramLogo( TQImage("/usr/share/icons/hicolor/32x32/apps/kdpkg.png") ); about->setProgramLogo( TQImage("/usr/share/icons/hicolor/32x32/apps/kdpkg.png") );
about->setShortDescription( I18N_NOOP("Frontend for dpkg.") ); about->setShortDescription( I18N_NOOP("Frontend for dpkg.") );
about->setLicense(KAboutData::License_GPL_V2); about->setLicense(TDEAboutData::License_GPL_V2);
about->setHomepage("http://trinity.pearsoncomputing.net"); about->setHomepage("http://trinity.pearsoncomputing.net");
about->setBugAddress("http://bugs.pearsoncomputing.net"); about->setBugAddress("http://bugs.pearsoncomputing.net");
about->setCopyrightStatement("(c) 2010 Timothy Pearson\n(c) 2007 Fabian Würtz"); about->setCopyrightStatement("(c) 2010 Timothy Pearson\n(c) 2007 Fabian Würtz");

@ -38,11 +38,11 @@ static KCmdLineOptions options[] =
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
// specify data for About dialog // specify data for About dialog
KAboutData* about = new KAboutData("kdpkg", I18N_NOOP("kdpkg"), ""); TDEAboutData* about = new TDEAboutData("kdpkg", I18N_NOOP("kdpkg"), "");
about->setProgramLogo( TQImage("/usr/share/icons/hicolor/32x32/apps/kdpkg.png") ); about->setProgramLogo( TQImage("/usr/share/icons/hicolor/32x32/apps/kdpkg.png") );
about->setShortDescription( I18N_NOOP("Frontend for dpkg.") ); about->setShortDescription( I18N_NOOP("Frontend for dpkg.") );
about->setLicense(KAboutData::License_GPL_V2); about->setLicense(TDEAboutData::License_GPL_V2);
about->setHomepage("http://trinity.pearsoncomputing.net"); about->setHomepage("http://trinity.pearsoncomputing.net");
about->setBugAddress("http://bugs.pearsoncomputing.net"); about->setBugAddress("http://bugs.pearsoncomputing.net");
about->setCopyrightStatement("(c) 2010 Timothy Pearson\n(c) 2007 Fabian Würtz"); about->setCopyrightStatement("(c) 2010 Timothy Pearson\n(c) 2007 Fabian Würtz");

Loading…
Cancel
Save