summaryrefslogtreecommitdiffstats
path: root/src/focusedwidgets.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/focusedwidgets.h')
-rw-r--r--src/focusedwidgets.h39
1 files changed, 22 insertions, 17 deletions
diff --git a/src/focusedwidgets.h b/src/focusedwidgets.h
index 4d1bfcb..dc188e5 100644
--- a/src/focusedwidgets.h
+++ b/src/focusedwidgets.h
@@ -27,22 +27,23 @@
#include <kcombobox.h>
#include <klineedit.h>
#include <kapplication.h>
-#include <qclipboard.h>
+#include <tqclipboard.h>
class FocusedTextEdit : public KTextEdit
{
Q_OBJECT
+ TQ_OBJECT
public:
- FocusedTextEdit(bool disableUpdatesOnKeyPress, QWidget *parent = 0, const char *name = 0);
+ FocusedTextEdit(bool disableUpdatesOnKeyPress, TQWidget *tqparent = 0, const char *name = 0);
~FocusedTextEdit();
void paste();
- QTextCursor* textCursor() const;
+ TQTextCursor* textCursor() const;
protected:
- void adaptClipboardText(QClipboard::Mode mode);
- void keyPressEvent(QKeyEvent *event);
- void wheelEvent(QWheelEvent *event);
- void enterEvent(QEvent *event);
- QPopupMenu* createPopupMenu(const QPoint &pos);
+ void adaptClipboardText(TQClipboard::Mode mode);
+ void keyPressEvent(TQKeyEvent *event);
+ void wheelEvent(TQWheelEvent *event);
+ void enterEvent(TQEvent *event);
+ TQPopupMenu* createPopupMenu(const TQPoint &pos);
signals:
void escapePressed();
void mouseEntered();
@@ -54,11 +55,12 @@ class FocusedTextEdit : public KTextEdit
class FocusedColorCombo : public KColorCombo
{
Q_OBJECT
+ TQ_OBJECT
public:
- FocusedColorCombo(QWidget *parent = 0, const char *name = 0);
+ FocusedColorCombo(TQWidget *tqparent = 0, const char *name = 0);
~FocusedColorCombo();
protected:
- void keyPressEvent(QKeyEvent *event);
+ void keyPressEvent(TQKeyEvent *event);
signals:
void escapePressed();
void returnPressed2();
@@ -68,11 +70,12 @@ class FocusedColorCombo : public KColorCombo
class FocusedFontCombo : public KFontCombo
{
Q_OBJECT
+ TQ_OBJECT
public:
- FocusedFontCombo(QWidget *parent = 0, const char *name = 0);
+ FocusedFontCombo(TQWidget *tqparent = 0, const char *name = 0);
~FocusedFontCombo();
protected:
- void keyPressEvent(QKeyEvent *event);
+ void keyPressEvent(TQKeyEvent *event);
signals:
void escapePressed();
void returnPressed2();
@@ -82,11 +85,12 @@ class FocusedFontCombo : public KFontCombo
class FocusedComboBox : public KComboBox
{
Q_OBJECT
+ TQ_OBJECT
public:
- FocusedComboBox(QWidget *parent = 0, const char *name = 0);
+ FocusedComboBox(TQWidget *tqparent = 0, const char *name = 0);
~FocusedComboBox();
protected:
- void keyPressEvent(QKeyEvent *event);
+ void keyPressEvent(TQKeyEvent *event);
signals:
void escapePressed();
void returnPressed2();
@@ -96,12 +100,13 @@ class FocusedComboBox : public KComboBox
class FocusedLineEdit : public KLineEdit
{
Q_OBJECT
+ TQ_OBJECT
public:
- FocusedLineEdit(QWidget *parent = 0, const char *name = 0);
+ FocusedLineEdit(TQWidget *tqparent = 0, const char *name = 0);
~FocusedLineEdit();
protected:
- void keyPressEvent(QKeyEvent *event);
- void enterEvent(QEvent *event);
+ void keyPressEvent(TQKeyEvent *event);
+ void enterEvent(TQEvent *event);
signals:
void escapePressed();
void mouseEntered();