summaryrefslogtreecommitdiffstats
path: root/src/tools/custom
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 00:15:53 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 00:15:53 +0000
commit0aaa8e3fc8f8a1481333b564f0922277c8d8ad59 (patch)
treeb95c0ca86c4876dd139af376b9f4afd8917cf0cd /src/tools/custom
parentb79a2c28534cf09987eeeba3077fff9236df182a (diff)
downloadpiklab-0aaa8e3fc8f8a1481333b564f0922277c8d8ad59.tar.gz
piklab-0aaa8e3fc8f8a1481333b564f0922277c8d8ad59.zip
TQt4 port piklab
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/piklab@1238822 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/tools/custom')
-rw-r--r--src/tools/custom/custom.cpp6
-rw-r--r--src/tools/custom/custom.h8
2 files changed, 7 insertions, 7 deletions
diff --git a/src/tools/custom/custom.cpp b/src/tools/custom/custom.cpp
index 3779957..26d2bc7 100644
--- a/src/tools/custom/custom.cpp
+++ b/src/tools/custom/custom.cpp
@@ -11,10 +11,10 @@
#include "devices/list/device_list.h"
#include "devices/base/device_group.h"
-QValueList<const Device::Data *> CustomTool::Group::getSupportedDevices(const QString &) const
+TQValueList<const Device::Data *> CustomTool::Group::getSupportedDevices(const TQString &) const
{
- QValueVector<QString> devices = Device::lister().supportedDevices();
- QValueList<const Device::Data *> list;
+ TQValueVector<TQString> devices = Device::lister().supportedDevices();
+ TQValueList<const Device::Data *> list;
for (uint i=0; i<devices.count(); i++) {
const Device::Data *data = Device::lister().data(devices[i]);
list.append(data);
diff --git a/src/tools/custom/custom.h b/src/tools/custom/custom.h
index 770515a..a0d33b9 100644
--- a/src/tools/custom/custom.h
+++ b/src/tools/custom/custom.h
@@ -17,9 +17,9 @@ namespace CustomTool
class Group : public Tool::Group
{
public:
- virtual QString name() const { return CUSTOM_NAME; }
- virtual QString label() const { return i18n("Custom"); }
- virtual QString informationText() const { return QString::null; }
+ virtual TQString name() const { return CUSTOM_NAME; }
+ virtual TQString label() const { return i18n("Custom"); }
+ virtual TQString informationText() const { return TQString(); }
virtual Tool::Category checkDevicesCategory() const { return Tool::Category::Nb_Types; }
virtual Tool::ExecutableType preferedExecutableType() const { return Tool::ExecutableType::Unix; }
virtual Tool::CompileType compileType() const { return Tool::AllFiles; }
@@ -27,7 +27,7 @@ public:
protected:
virtual BaseData baseFactory(Tool::Category) const { return BaseData(); }
- virtual QValueList<const Device::Data *> getSupportedDevices(const QString &s) const;
+ virtual TQValueList<const Device::Data *> getSupportedDevices(const TQString &s) const;
virtual Compile::Process *processFactory(const Compile::Data &) const { return 0; }
virtual Compile::Config *configFactory(::Project *) const { return 0; }
virtual Tool::SourceGenerator *sourceGeneratorFactory() const { return 0; }