summaryrefslogtreecommitdiffstats
path: root/src/piklab-prog/cmdline.h
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/piklab-prog/cmdline.h
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/piklab-prog/cmdline.h')
-rw-r--r--src/piklab-prog/cmdline.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/piklab-prog/cmdline.h b/src/piklab-prog/cmdline.h
index 03d4091..6390ace 100644
--- a/src/piklab-prog/cmdline.h
+++ b/src/piklab-prog/cmdline.h
@@ -21,16 +21,17 @@ namespace CLI
class Main : public MainBase
{
Q_OBJECT
+ TQ_OBJECT
public:
Main();
virtual ~Main();
virtual ExitCode prepareRun(bool &interactive);
- virtual ExitCode prepareCommand(const QString &command);
- virtual ExitCode executeCommand(const QString &command);
- virtual ExitCode executeSetCommand(const QString &property, const QString &value);
- virtual QString executeGetCommand(const QString &property);
- virtual ExitCode list(const QString &command);
- ExitCode extractRange(const QString &range);
+ virtual ExitCode prepareCommand(const TQString &command);
+ virtual ExitCode executeCommand(const TQString &command);
+ virtual ExitCode executeSetCommand(const TQString &property, const TQString &value);
+ virtual TQString executeGetCommand(const TQString &property);
+ virtual ExitCode list(const TQString &command);
+ ExitCode extractRange(const TQString &range);
private:
Device::MemoryRange *_range;
@@ -45,10 +46,10 @@ private:
};
extern const Programmer::Group *_progGroup;
-extern QString _hardware;
+extern TQString _hardware;
extern const Device::Data *_device;
extern HexBuffer::Format _format;
-extern QString _port, _targetSelfPowered;
+extern TQString _port, _targetSelfPowered;
extern PURL::Directory _firmwareDir;
extern PURL::Url _hexUrl, _coffUrl;
extern Device::Memory *_memory;