summaryrefslogtreecommitdiffstats
path: root/lib/interfaces/kdevplugininfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/interfaces/kdevplugininfo.cpp')
-rw-r--r--lib/interfaces/kdevplugininfo.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/interfaces/kdevplugininfo.cpp b/lib/interfaces/kdevplugininfo.cpp
index 81d58902..4af7fb8e 100644
--- a/lib/interfaces/kdevplugininfo.cpp
+++ b/lib/interfaces/kdevplugininfo.cpp
@@ -42,7 +42,7 @@ struct KDevPluginInfo::Private {
TQValueList<KAboutPerson> m_authors;
TQValueList<KAboutPerson> m_credits;
- KAboutData *m_data;
+ TDEAboutData *m_data;
};
@@ -67,21 +67,21 @@ KDevPluginInfo::KDevPluginInfo(const TQString &pluginName)
TQString lic = offer->property("X-TDevelop-Plugin-License").toString();
if (lic == "GPL")
- d->m_licenseType = KAboutData::License_GPL;
+ d->m_licenseType = TDEAboutData::License_GPL;
else if (lic == "LGPL")
- d->m_licenseType = KAboutData::License_LGPL;
+ d->m_licenseType = TDEAboutData::License_LGPL;
else if (lic == "BSD")
- d->m_licenseType = KAboutData::License_BSD;
+ d->m_licenseType = TDEAboutData::License_BSD;
else if (lic == "QPL")
- d->m_licenseType = KAboutData::License_QPL;
+ d->m_licenseType = TDEAboutData::License_QPL;
else if (lic == "Artistic")
- d->m_licenseType = KAboutData::License_Artistic;
+ d->m_licenseType = TDEAboutData::License_Artistic;
else if (lic == "Custom")
- d->m_licenseType = KAboutData::License_Custom;
+ d->m_licenseType = TDEAboutData::License_Custom;
else
- d->m_licenseType = KAboutData::License_Unknown;
+ d->m_licenseType = TDEAboutData::License_Unknown;
- d->m_data = new KAboutData(d->m_pluginName.ascii(), d->m_rawGenericName.ascii(), "1", 0, d->m_licenseType);
+ d->m_data = new TDEAboutData(d->m_pluginName.ascii(), d->m_rawGenericName.ascii(), "1", 0, d->m_licenseType);
}
else
kdDebug() << "Unable to load information for plugin: " << pluginName
@@ -89,7 +89,7 @@ KDevPluginInfo::KDevPluginInfo(const TQString &pluginName)
}
-KDevPluginInfo::operator KAboutData *() const
+KDevPluginInfo::operator TDEAboutData *() const
{
return d->m_data;
}
@@ -127,8 +127,8 @@ int KDevPluginInfo::licenseType() const
TQString KDevPluginInfo::license() const
{
KDevPluginInfo &info = *const_cast<KDevPluginInfo*>(this);
-// return KAboutData(info).license();
- KAboutData *data = info;
+// return TDEAboutData(info).license();
+ TDEAboutData *data = info;
return data->license();
}