summaryrefslogtreecommitdiffstats
path: root/konsole/konsole/TEmulation.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/TEmulation.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/TEmulation.h')
-rw-r--r--konsole/konsole/TEmulation.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/konsole/konsole/TEmulation.h b/konsole/konsole/TEmulation.h
index 53f05c6e7..7d3ba65d6 100644
--- a/konsole/konsole/TEmulation.h
+++ b/konsole/konsole/TEmulation.h
@@ -23,10 +23,10 @@
#include "TEWidget.h"
#include "TEScreen.h"
-#include <qtimer.h>
+#include <tqtimer.h>
#include <stdio.h>
-#include <qtextcodec.h>
-#include <qguardedptr.h>
+#include <tqtextcodec.h>
+#include <tqguardedptr.h>
#include <keytrans.h>
enum { NOTIFYNORMAL=0, NOTIFYBELL=1, NOTIFYACTIVITY=2, NOTIFYSILENCE=3 };
@@ -41,21 +41,21 @@ public:
~TEmulation();
public:
- QSize imageSize();
+ TQSize imageSize();
virtual void setHistory(const HistoryType&);
- const QTextCodec *codec() { return m_codec; }
- void setCodec(const QTextCodec *);
+ const TQTextCodec *codec() { return m_codec; }
+ void setCodec(const TQTextCodec *);
virtual const HistoryType& history();
- virtual void streamHistory(QTextStream*);
+ virtual void streamHistory(TQTextStream*);
virtual void findTextBegin();
- virtual bool findTextNext( const QString &str, bool forward, bool caseSensitive, bool regExp );
+ virtual bool findTextNext( const TQString &str, bool forward, bool caseSensitive, bool regExp );
public slots: // signals incoming from TEWidget
virtual void onImageSizeChange(int lines, int columns);
virtual void onHistoryCursorChange(int cursor);
- virtual void onKeyPress(QKeyEvent*);
+ virtual void onKeyPress(TQKeyEvent*);
virtual void clearSelection();
virtual void copySelection();
@@ -102,16 +102,16 @@ public:
void setColumns(int columns);
void setKeymap(int no);
- void setKeymap(const QString &id);
+ void setKeymap(const TQString &id);
int keymapNo();
- QString keymap();
+ TQString keymap();
virtual void clearEntireScreen() =0;
virtual void reset() =0;
protected:
- QGuardedPtr<TEWidget> gui;
+ TQGuardedPtr<TEWidget> gui;
TEScreen* scr; // referes to one `screen'
TEScreen* screen[2]; // 0 = primary, 1 = alternate
void setScreen(int n); // set `scr' to `screen[n]'
@@ -121,8 +121,8 @@ protected:
void setCodec(int c); // codec number, 0 = locale, 1=utf8
- const QTextCodec* m_codec;
- QTextDecoder* decoder;
+ const TQTextCodec* m_codec;
+ TQTextDecoder* decoder;
KeyTrans* keytrans;
@@ -140,8 +140,8 @@ private:
private:
- QTimer bulk_timer1;
- QTimer bulk_timer2;
+ TQTimer bulk_timer1;
+ TQTimer bulk_timer2;
int m_findPos;
};