summaryrefslogtreecommitdiffstats
path: root/kexi/core/kexipartinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/core/kexipartinfo.cpp')
-rw-r--r--kexi/core/kexipartinfo.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kexi/core/kexipartinfo.cpp b/kexi/core/kexipartinfo.cpp
index 22f7cc55..6907474a 100644
--- a/kexi/core/kexipartinfo.cpp
+++ b/kexi/core/kexipartinfo.cpp
@@ -33,7 +33,7 @@ Info::Private::Private(const KService::Ptr& aPtr)
, broken(false)
, idStoredInPartDatabase(false)
{
- QVariant val = ptr->property("X-Kexi-NoObject");
+ TQVariant val = ptr->property("X-Kexi-NoObject");
isVisibleInNavigator = val.isValid() ? (val.toInt() != 1) : true;
//! @todo (js)..... now it's hardcoded!
@@ -72,15 +72,15 @@ Info::~Info()
delete d;
}
-QString Info::groupName() const { return d->groupName; }
+TQString Info::groupName() const { return d->groupName; }
-QCString Info::mimeType() const { return d->mimeType; }
+TQCString Info::mimeType() const { return d->mimeType; }
-QString Info::itemIcon() const { return d->itemIcon; }
+TQString Info::itemIcon() const { return d->itemIcon; }
-QString Info::createItemIcon() const { return d->itemIcon+"_newobj"; }
+TQString Info::createItemIcon() const { return d->itemIcon+"_newobj"; }
-QString Info::objectName() const { return d->objectName; }
+TQString Info::objectName() const { return d->objectName; }
KService::Ptr Info::ptr() const { return d->ptr; }
@@ -92,10 +92,10 @@ int Info::projectPartID() const { return d->projectPartID; }
void Info::setProjectPartID(int id) { d->projectPartID=id; }
-void Info::setBroken(bool broken, const QString& errorMessage)
+void Info::setBroken(bool broken, const TQString& errorMessage)
{ d->broken = broken; d->errorMessage = errorMessage; }
-QString Info::errorMessage() const { return d->errorMessage; }
+TQString Info::errorMessage() const { return d->errorMessage; }
void Info::setIdStoredInPartDatabase(bool set)
{
@@ -109,25 +109,25 @@ bool Info::isIdStoredInPartDatabase() const
bool Info::isDataExportSupported() const
{
- QVariant val = d->ptr ? d->ptr->property("X-Kexi-SupportsDataExport") : QVariant();
+ TQVariant val = d->ptr ? d->ptr->property("X-Kexi-SupportsDataExport") : TQVariant();
return val.isValid() ? val.toBool() : false;
}
bool Info::isPrintingSupported() const
{
- QVariant val = d->ptr ? d->ptr->property("X-Kexi-SupportsPrinting") : QVariant();
+ TQVariant val = d->ptr ? d->ptr->property("X-Kexi-SupportsPrinting") : TQVariant();
return val.isValid() ? val.toBool() : false;
}
bool Info::isExecuteSupported() const
{
- QVariant val = d->ptr ? d->ptr->property("X-Kexi-SupportsExecution") : QVariant();
+ TQVariant val = d->ptr ? d->ptr->property("X-Kexi-SupportsExecution") : TQVariant();
return val.isValid() ? val.toBool() : false;
}
//--------------
-QCString KexiPart::nameForCreateAction(const Info& info)
+TQCString KexiPart::nameForCreateAction(const Info& info)
{
return (info.objectName()+"part_create").latin1();
}