summaryrefslogtreecommitdiffstats
path: root/kregexpeditor/characterswidget.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
commit5f5ee2367157176ed223b86343eb0a9e4022e020 (patch)
tree6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /kregexpeditor/characterswidget.h
parent4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff)
downloadtdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.tar.gz
tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kregexpeditor/characterswidget.h')
-rw-r--r--kregexpeditor/characterswidget.h52
1 files changed, 26 insertions, 26 deletions
diff --git a/kregexpeditor/characterswidget.h b/kregexpeditor/characterswidget.h
index 9df89b3..f6f2d66 100644
--- a/kregexpeditor/characterswidget.h
+++ b/kregexpeditor/characterswidget.h
@@ -26,7 +26,7 @@
#include <kmultiformlistbox.h>
#include "regexpwidget.h"
-#include <qvgroupbox.h>
+#include <tqvgroupbox.h>
class KDialogBase;
class CharacterEdits;
@@ -41,28 +41,28 @@ class QCheckBox;
class CharactersWidget :public RegExpWidget
{
public:
- CharactersWidget(RegExpEditorWindow* editorWindow, QWidget *parent,
+ CharactersWidget(RegExpEditorWindow* editorWindow, TQWidget *parent,
const char *label = 0);
CharactersWidget( TextRangeRegExp* regexp, RegExpEditorWindow* editorWindow,
- QWidget* parent, const char* name = 0 );
+ TQWidget* parent, const char* name = 0 );
~CharactersWidget();
- virtual QSize sizeHint() const;
+ virtual TQSize sizeHint() const;
virtual RegExp* regExp() const;
virtual RegExpType type() const { return CHARSET; }
- virtual RegExpWidget* findWidgetToEdit( QPoint globalPos );
+ virtual RegExpWidget* findWidgetToEdit( TQPoint globalPos );
virtual int edit();
protected:
- virtual void paintEvent(QPaintEvent *event);
- QString text() const;
- QString title() const;
+ virtual void paintEvent(TQPaintEvent *event);
+ TQString text() const;
+ TQString title() const;
private:
TextRangeRegExp *_regexp;
static CharacterEdits *_configWindow;
- mutable QSize _textSize;
- mutable QSize _contentSize;
+ mutable TQSize _textSize;
+ mutable TQSize _contentSize;
};
@@ -72,9 +72,9 @@ private:
class SingleEntry :public KMultiFormListBoxEntry
{
public:
- SingleEntry(QWidget* parent, const char* name = 0 );
- QString text() const;
- void setText( QString text );
+ SingleEntry(TQWidget* parent, const char* name = 0 );
+ TQString text() const;
+ void setText( TQString text );
bool isEmpty() const;
private:
@@ -87,11 +87,11 @@ private:
class RangeEntry :public KMultiFormListBoxEntry
{
public:
- RangeEntry(QWidget* parent, const char* name = 0 );
- QString fromText() const;
- QString toText() const;
- void setFrom( QString text );
- void setTo( QString text );
+ RangeEntry(TQWidget* parent, const char* name = 0 );
+ TQString fromText() const;
+ TQString toText() const;
+ void setFrom( TQString text );
+ void setTo( TQString text );
bool isEmpty() const;
private:
CharSelector *_from, *_to;
@@ -103,8 +103,8 @@ private:
class SingleFactory :public KMultiFormListBoxFactory
{
public:
- KMultiFormListBoxEntry *create(QWidget *parent) { return new SingleEntry( parent ); }
- QWidget *separator( QWidget* ) { return 0; }
+ KMultiFormListBoxEntry *create(TQWidget *parent) { return new SingleEntry( parent ); }
+ TQWidget *separator( TQWidget* ) { return 0; }
};
/**
@@ -113,8 +113,8 @@ public:
class RangeFactory :public KMultiFormListBoxFactory
{
public:
- KMultiFormListBoxEntry *create(QWidget *parent) { return new RangeEntry( parent ); }
- QWidget *separator( QWidget* ) { return 0; }
+ KMultiFormListBoxEntry *create(TQWidget *parent) { return new RangeEntry( parent ); }
+ TQWidget *separator( TQWidget* ) { return 0; }
};
/**
@@ -124,7 +124,7 @@ class CharacterEdits : public KDialogBase
{
Q_OBJECT
public:
- CharacterEdits(QWidget *parent = 0, const char *name = 0);
+ CharacterEdits(TQWidget *parent = 0, const char *name = 0);
public slots:
int exec( TextRangeRegExp* regexp );
@@ -133,11 +133,11 @@ protected slots:
void slotOK();
private:
- QCheckBox *negate, *wordChar, *_nonWordChar, *digit, *_nonDigit, *space, *_nonSpace;
+ TQCheckBox *negate, *wordChar, *_nonWordChar, *digit, *_nonDigit, *space, *_nonSpace;
KMultiFormListBox *_single, *_range;
- void addCharacter( QString txt );
- void addRange( QString from, QString to );
+ void addCharacter( TQString txt );
+ void addRange( TQString from, TQString to );
TextRangeRegExp* _regexp;
};