summaryrefslogtreecommitdiffstats
path: root/src/coff/base/coff_archive.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/coff/base/coff_archive.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/coff/base/coff_archive.h')
-rw-r--r--src/coff/base/coff_archive.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/coff/base/coff_archive.h b/src/coff/base/coff_archive.h
index ba43a38..e4d0032 100644
--- a/src/coff/base/coff_archive.h
+++ b/src/coff/base/coff_archive.h
@@ -17,12 +17,12 @@ namespace Coff
class Member
{
public:
- Member(const QByteArray &data, uint &offset, Log::Base &log);
- QString name() const { return _name; }
+ Member(const TQByteArray &data, uint &offset, Log::Base &log);
+ TQString name() const { return _name; }
uint nbBytes() const { return _nbBytes; }
private:
- QString _name;
+ TQString _name;
uint _nbBytes;
};
@@ -33,19 +33,19 @@ public:
Archive(const PURL::Url &url);
virtual ~Archive();
virtual bool parse(Log::Base &log);
- const QMap<QString, Member *>members() const { return _members; }
- const QMap<QString, Member *>symbols() const { return _symbols; }
+ const TQMap<TQString, Member *>members() const { return _members; }
+ const TQMap<TQString, Member *>symbols() const { return _symbols; }
virtual Log::KeyList information() const;
Log::KeyList membersInformation() const;
Log::KeyList symbolsInformation() const;
private:
- QMap<QString, Member *> _members; // name -> Member *
- QMap<uint, Member *> _offsets; // offset -> Member *
- QMap<QString, Member *> _symbols; // name -> Member *
+ TQMap<TQString, Member *> _members; // name -> Member *
+ TQMap<uint, Member *> _offsets; // offset -> Member *
+ TQMap<TQString, Member *> _symbols; // name -> Member *
- bool readSymbols(const QByteArray &data, uint offset, Log::Base &log);
+ bool readSymbols(const TQByteArray &data, uint offset, Log::Base &log);
};
} // namespace