diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-23 01:42:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-23 01:42:07 +0000 |
commit | a2277b6bc715464e83882b90c2a058139b8a6b54 (patch) | |
tree | ab09b14014f59b4d8e2ddd12226aa0b22e4dfc5d /kregexpeditor/regexpwidget.h | |
parent | d3f79e04b34bd1f70a458b81b28fc8799498c8dc (diff) | |
download | tdeutils-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/regexpwidget.h')
-rw-r--r-- | kregexpeditor/regexpwidget.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/kregexpeditor/regexpwidget.h b/kregexpeditor/regexpwidget.h index b6e44cd..27a57d1 100644 --- a/kregexpeditor/regexpwidget.h +++ b/kregexpeditor/regexpwidget.h @@ -29,26 +29,27 @@ class RegExpEditorWindow; Base class for all regular expression widgets. @internal */ -class RegExpWidget :public QWidget +class RegExpWidget :public TQWidget { Q_OBJECT + TQ_OBJECT public: - RegExpWidget(RegExpEditorWindow* editorWindow, TQWidget *parent, + RegExpWidget(RegExpEditorWindow* editorWindow, TQWidget *tqparent, const char *label = 0); /*====================================================================== Construction, child management ======================================================================*/ /** - Add `child' to the parent of this widget in place of `accepter' + Add `child' to the tqparent of this widget in place of `accepter' This method only applies to container widgets (see @ref SingleContainerWidget, and @ref MultiContainerWidget). */ virtual void addNewChild(DragAccepter *accepter, RegExpWidget *child); /** - Inserts all the children of `child' into this widget in place of + Inserts all the tqchildren of `child' into this widget in place of `accepter'. This method only applies to container widgets (see @ref SingleContainerWidget, and @ref MultiContainerWidget). @@ -82,7 +83,7 @@ public: virtual bool isSelected() const; /** - Returns true if this widget or one of its children is selected. + Returns true if this widget or one of its tqchildren is selected. */ virtual bool hasSelection() const; @@ -90,15 +91,15 @@ public: /** Update selection information for this widget. - @param parentSelected indicates whether the parent is selected. + @param tqparentSelected indicates whether the tqparent is selected. @return true if the selection state has changed for the widget since - the last time the widget was painted. `repaint' is invoked on the widget if + the last time the widget was painted. `tqrepaint' is invoked on the widget if selection state is changed, to ensure that selection is visible. */ - virtual bool updateSelection(bool parentSelected); + virtual bool updateSelection(bool tqparentSelected); /** - Clears the selection and repaints the widget if `update' is true. + Clears the selection and tqrepaints the widget if `update' is true. */ virtual void clearSelection(); @@ -147,7 +148,7 @@ public: @li accept cursor for insert/paste @li reject cursor for insert/paste */ - void updateCursorShape(); + void updatetqCursorShape(); virtual void updateCursorRecursively(); |