summaryrefslogtreecommitdiffstats
path: root/konsole/konsole/TEHistory.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /konsole/konsole/TEHistory.h
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konsole/konsole/TEHistory.h')
-rw-r--r--konsole/konsole/TEHistory.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/konsole/konsole/TEHistory.h b/konsole/konsole/TEHistory.h
index 446611e0a..dd5ba7a67 100644
--- a/konsole/konsole/TEHistory.h
+++ b/konsole/konsole/TEHistory.h
@@ -21,9 +21,9 @@
#ifndef TEHISTORY_H
#define TEHISTORY_H
-#include <qcstring.h>
-#include <qptrvector.h>
-#include <qbitarray.h>
+#include <tqcstring.h>
+#include <tqptrvector.h>
+#include <tqbitarray.h>
#include <ktempfile.h>
@@ -95,7 +95,7 @@ protected:
class HistoryScrollFile : public HistoryScroll
{
public:
- HistoryScrollFile(const QString &logFileName);
+ HistoryScrollFile(const TQString &logFileName);
virtual ~HistoryScrollFile();
virtual int getLines();
@@ -109,7 +109,7 @@ public:
private:
int startOfLine(int lineno);
- QString m_logFileName;
+ TQString m_logFileName;
HistoryFile index; // lines Row(int)
HistoryFile cells; // text Row(ca)
HistoryFile lineflags; // flags Row(unsigned char)
@@ -122,7 +122,7 @@ private:
class HistoryScrollBuffer : public HistoryScroll
{
public:
- typedef QMemArray<ca> histline;
+ typedef TQMemArray<ca> histline;
HistoryScrollBuffer(unsigned int maxNbLines = 1000);
virtual ~HistoryScrollBuffer();
@@ -146,8 +146,8 @@ private:
void normalize();
bool m_hasScroll;
- QPtrVector<histline> m_histBuffer;
- QBitArray m_wrappedLine;
+ TQPtrVector<histline> m_histBuffer;
+ TQBitArray m_wrappedLine;
unsigned int m_maxNbLines;
unsigned int m_nbLines;
unsigned int m_arrayIndex;
@@ -181,7 +181,7 @@ public:
// BlockArray-based history
//////////////////////////////////////////////////////////////////////
#include "BlockArray.h"
-#include <qintdict.h>
+#include <tqintdict.h>
class HistoryScrollBlockArray : public HistoryScroll
{
public:
@@ -198,7 +198,7 @@ public:
protected:
BlockArray m_blockArray;
- QIntDict<size_t> m_lineLengths;
+ TQIntDict<size_t> m_lineLengths;
};
//////////////////////////////////////////////////////////////////////
@@ -246,16 +246,16 @@ protected:
class HistoryTypeFile : public HistoryType
{
public:
- HistoryTypeFile(const QString& fileName=QString::null);
+ HistoryTypeFile(const TQString& fileName=TQString::null);
virtual bool isOn() const;
- virtual const QString& getFileName() const;
+ virtual const TQString& getFileName() const;
virtual unsigned int getSize() const;
virtual HistoryScroll* getScroll(HistoryScroll *) const;
protected:
- QString m_fileName;
+ TQString m_fileName;
};