summaryrefslogtreecommitdiffstats
path: root/lib/interfaces/kdevplugininfo.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /lib/interfaces/kdevplugininfo.cpp
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/interfaces/kdevplugininfo.cpp')
-rw-r--r--lib/interfaces/kdevplugininfo.cpp60
1 files changed, 30 insertions, 30 deletions
diff --git a/lib/interfaces/kdevplugininfo.cpp b/lib/interfaces/kdevplugininfo.cpp
index c5572ccd..daa64c2b 100644
--- a/lib/interfaces/kdevplugininfo.cpp
+++ b/lib/interfaces/kdevplugininfo.cpp
@@ -18,7 +18,7 @@
*/
#include "kdevplugininfo.h"
-#include <qvariant.h>
+#include <tqvariant.h>
#include <kservice.h>
#include <kdebug.h>
@@ -26,27 +26,27 @@
#include "kdevplugincontroller.h"
struct KDevPluginInfo::Private {
- QString m_pluginName;
- QString m_rawGenericName;
+ TQString m_pluginName;
+ TQString m_rawGenericName;
- QString m_genericName;
- QString m_description;
- QString m_icon;
+ TQString m_genericName;
+ TQString m_description;
+ TQString m_icon;
- QString m_version;
+ TQString m_version;
int m_licenseType;
- QString m_copyrightStatement;
- QString m_homePageAddress;
- QString m_bugsEmailAddress;
+ TQString m_copyrightStatement;
+ TQString m_homePageAddress;
+ TQString m_bugsEmailAddress;
- QValueList<KAboutPerson> m_authors;
- QValueList<KAboutPerson> m_credits;
+ TQValueList<KAboutPerson> m_authors;
+ TQValueList<KAboutPerson> m_credits;
KAboutData *m_data;
};
-KDevPluginInfo::KDevPluginInfo(const QString &pluginName)
+KDevPluginInfo::KDevPluginInfo(const TQString &pluginName)
:d(new Private())
{
d->m_pluginName = pluginName;
@@ -65,7 +65,7 @@ KDevPluginInfo::KDevPluginInfo(const QString &pluginName)
d->m_bugsEmailAddress = offer->property("X-KDevelop-Plugin-BugsEmailAddress").toString();
d->m_copyrightStatement = offer->property("X-KDevelop-Plugin-Copyright").toString();
- QString lic = offer->property("X-KDevelop-Plugin-License").toString();
+ TQString lic = offer->property("X-KDevelop-Plugin-License").toString();
if (lic == "GPL")
d->m_licenseType = KAboutData::License_GPL;
else if (lic == "LGPL")
@@ -94,27 +94,27 @@ KDevPluginInfo::operator KAboutData *() const
return d->m_data;
}
-QString KDevPluginInfo::pluginName() const
+TQString KDevPluginInfo::pluginName() const
{
return d->m_pluginName;
}
-QString KDevPluginInfo::genericName() const
+TQString KDevPluginInfo::genericName() const
{
return d->m_genericName;
}
-QString KDevPluginInfo::icon() const
+TQString KDevPluginInfo::icon() const
{
return d->m_icon;
}
-QString KDevPluginInfo::description() const
+TQString KDevPluginInfo::description() const
{
return d->m_description;
}
-QString KDevPluginInfo::version() const
+TQString KDevPluginInfo::version() const
{
return d->m_version;
}
@@ -124,7 +124,7 @@ int KDevPluginInfo::licenseType() const
return d->m_licenseType;
}
-QString KDevPluginInfo::license() const
+TQString KDevPluginInfo::license() const
{
KDevPluginInfo &info = *const_cast<KDevPluginInfo*>(this);
// return KAboutData(info).license();
@@ -132,40 +132,40 @@ QString KDevPluginInfo::license() const
return data->license();
}
-QString KDevPluginInfo::copyrightStatement() const
+TQString KDevPluginInfo::copyrightStatement() const
{
return d->m_copyrightStatement;
}
-QString KDevPluginInfo::homePageAddress() const
+TQString KDevPluginInfo::homePageAddress() const
{
return d->m_homePageAddress;
}
-QString KDevPluginInfo::bugsEmailAddress() const
+TQString KDevPluginInfo::bugsEmailAddress() const
{
return d->m_bugsEmailAddress;
}
-QVariant KDevPluginInfo::property(const QString &name) const
+TQVariant KDevPluginInfo::property(const TQString &name) const
{
- KTrader::OfferList offers = KDevPluginController::queryPlugins(QString("Name='%1'").arg(d->m_pluginName));
+ KTrader::OfferList offers = KDevPluginController::queryPlugins(TQString("Name='%1'").arg(d->m_pluginName));
if (offers.count() == 1)
return offers.first()->property(name);
- return QVariant();
+ return TQVariant();
}
-QVariant KDevPluginInfo::operator [](const QString &name) const
+TQVariant KDevPluginInfo::operator [](const TQString &name) const
{
return property(name);
}
-QStringList KDevPluginInfo::propertyNames( ) const
+TQStringList KDevPluginInfo::propertyNames( ) const
{
- KTrader::OfferList offers = KDevPluginController::queryPlugins(QString("Name='%1'").arg(d->m_pluginName));
+ KTrader::OfferList offers = KDevPluginController::queryPlugins(TQString("Name='%1'").arg(d->m_pluginName));
if (offers.count() == 1)
return offers.first()->propertyNames();
- return QStringList();
+ return TQStringList();
}
void KDevPluginInfo::addAuthor(const char *name, const char *task,