summaryrefslogtreecommitdiffstats
path: root/src/filemetainfo.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-29 16:05:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-29 16:05:55 +0000
commit87a016680e3677da3993f333561e79eb0cead7d5 (patch)
treecbda2b4df8b8ee0d8d1617e6c75bec1e3ee0ccba /src/filemetainfo.h
parent6ce3d1ad09c1096b5ed3db334e02859e45d5c32b (diff)
downloadktechlab-87a016680e3677da3993f333561e79eb0cead7d5.tar.gz
ktechlab-87a016680e3677da3993f333561e79eb0cead7d5.zip
TQt4 port ktechlab
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktechlab@1238801 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/filemetainfo.h')
-rw-r--r--src/filemetainfo.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/filemetainfo.h b/src/filemetainfo.h
index 9004217..45d85de 100644
--- a/src/filemetainfo.h
+++ b/src/filemetainfo.h
@@ -17,7 +17,7 @@
class TextDocument;
class TextView;
class KConfig;
-typedef QValueList<int> IntList;
+typedef TQValueList<int> IntList;
class MetaInfo
{
@@ -59,12 +59,12 @@ class MetaInfo
* Convert the id (e.g. "Direct") to a method, used when reading in the
* config file.
*/
- OutputMethodInfo::Method::Type toMethod( const QString & id );
+ OutputMethodInfo::Method::Type toMethod( const TQString & id );
/**
* Conver the method (e.g. OutputMethodInfo::Method::Direct) to an id
* that can be saved in the config file.
*/
- QString toID( OutputMethodInfo::Method::Type method );
+ TQString toID( OutputMethodInfo::Method::Type method );
IntList m_bookmarks;
IntList m_breakpoints;
@@ -72,16 +72,17 @@ class MetaInfo
unsigned m_cursorLine;
unsigned m_cursorColumn;
};
-typedef QMap<KURL,MetaInfo> MetaInfoMap;
+typedef TQMap<KURL,MetaInfo> MetaInfoMap;
/**
Looks after per-file metainfo; e.g. bookmarks, breakpoints, compiling options, etc
@author David Saxton
*/
-class FileMetaInfo : public QObject
+class FileMetaInfo : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
~FileMetaInfo();