summaryrefslogtreecommitdiffstats
path: root/kregexpeditor/characterswidget.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-23 01:42:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-23 01:42:07 +0000
commita2277b6bc715464e83882b90c2a058139b8a6b54 (patch)
treeab09b14014f59b4d8e2ddd12226aa0b22e4dfc5d /kregexpeditor/characterswidget.h
parentd3f79e04b34bd1f70a458b81b28fc8799498c8dc (diff)
downloadtdeutils-a2277b6bc715464e83882b90c2a058139b8a6b54.tar.gz
tdeutils-a2277b6bc715464e83882b90c2a058139b8a6b54.zip
TQt4 port kdeutils
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1238125 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kregexpeditor/characterswidget.h')
-rw-r--r--kregexpeditor/characterswidget.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/kregexpeditor/characterswidget.h b/kregexpeditor/characterswidget.h
index faff294..f8cf390 100644
--- a/kregexpeditor/characterswidget.h
+++ b/kregexpeditor/characterswidget.h
@@ -18,7 +18,7 @@
#ifndef characterswidget
#define characterswidget
-#ifdef QT_ONLY
+#ifdef TQT_ONLY
#include "compat.h"
#else
#include <kdialogbase.h>
@@ -41,12 +41,12 @@ class TQCheckBox;
class CharactersWidget :public RegExpWidget
{
public:
- CharactersWidget(RegExpEditorWindow* editorWindow, TQWidget *parent,
+ CharactersWidget(RegExpEditorWindow* editorWindow, TQWidget *tqparent,
const char *label = 0);
CharactersWidget( TextRangeRegExp* regexp, RegExpEditorWindow* editorWindow,
- TQWidget* parent, const char* name = 0 );
+ TQWidget* tqparent, const char* name = 0 );
~CharactersWidget();
- virtual TQSize sizeHint() const;
+ virtual TQSize tqsizeHint() const;
virtual RegExp* regExp() const;
virtual RegExpType type() const { return CHARSET; }
virtual RegExpWidget* findWidgetToEdit( TQPoint globalPos );
@@ -72,7 +72,7 @@ private:
class SingleEntry :public KMultiFormListBoxEntry
{
public:
- SingleEntry(TQWidget* parent, const char* name = 0 );
+ SingleEntry(TQWidget* tqparent, const char* name = 0 );
TQString text() const;
void setText( TQString text );
bool isEmpty() const;
@@ -87,7 +87,7 @@ private:
class RangeEntry :public KMultiFormListBoxEntry
{
public:
- RangeEntry(TQWidget* parent, const char* name = 0 );
+ RangeEntry(TQWidget* tqparent, const char* name = 0 );
TQString fromText() const;
TQString toText() const;
void setFrom( TQString text );
@@ -103,7 +103,7 @@ private:
class SingleFactory :public KMultiFormListBoxFactory
{
public:
- KMultiFormListBoxEntry *create(TQWidget *parent) { return new SingleEntry( parent ); }
+ KMultiFormListBoxEntry *create(TQWidget *tqparent) { return new SingleEntry( tqparent ); }
TQWidget *separator( TQWidget* ) { return 0; }
};
@@ -113,7 +113,7 @@ public:
class RangeFactory :public KMultiFormListBoxFactory
{
public:
- KMultiFormListBoxEntry *create(TQWidget *parent) { return new RangeEntry( parent ); }
+ KMultiFormListBoxEntry *create(TQWidget *tqparent) { return new RangeEntry( tqparent ); }
TQWidget *separator( TQWidget* ) { return 0; }
};
@@ -123,8 +123,9 @@ public:
class CharacterEdits : public KDialogBase
{
Q_OBJECT
+ TQ_OBJECT
public:
- CharacterEdits(TQWidget *parent = 0, const char *name = 0);
+ CharacterEdits(TQWidget *tqparent = 0, const char *name = 0);
public slots:
int exec( TextRangeRegExp* regexp );