summaryrefslogtreecommitdiffstats
path: root/libkdepim/kwidgetlister.h
diff options
context:
space:
mode:
Diffstat (limited to 'libkdepim/kwidgetlister.h')
-rw-r--r--libkdepim/kwidgetlister.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/libkdepim/kwidgetlister.h b/libkdepim/kwidgetlister.h
index 19616aa1f..9af7bb9b3 100644
--- a/libkdepim/kwidgetlister.h
+++ b/libkdepim/kwidgetlister.h
@@ -19,11 +19,11 @@
In addition, as a special exception, the copyright holders give
permission to link the code of this library with any edition of
- the Qt library by Trolltech AS, Norway (or with modified versions
- of Qt that use the same license as Qt), and distribute linked
+ the TQt library by Trolltech AS, Norway (or with modified versions
+ of TQt that use the same license as TQt), and distribute linked
combinations including the two. You must obey the GNU General
Public License in all respects for all of the code used other than
- Qt. If you modify this file, you may extend this exception to
+ TQt. If you modify this file, you may extend this exception to
your version of the file, but you are not obligated to do so. If
you do not wish to do so, delete this exception statement from
your version.
@@ -62,11 +62,12 @@ class TQHBox;
*/
-class KDE_EXPORT KWidgetLister : public QWidget
+class KDE_EXPORT KWidgetLister : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- KWidgetLister( int minWidgets=1, int maxWidgets=8, TQWidget* parent=0, const char* name=0 );
+ KWidgetLister( int minWidgets=1, int maxWidgets=8, TQWidget* tqparent=0, const char* name=0 );
virtual ~KWidgetLister();
protected slots:
@@ -99,7 +100,7 @@ protected:
when showing it on screen. Make sure you call this
implementaion, though, since you cannot put the widget on screen
from derived classes (@p mLayout is private).
- Make sure the parent of the TQWidget to add is this KWidgetLister. */
+ Make sure the tqparent of the TQWidget to add is this KWidgetLister. */
virtual void addWidgetAtEnd(TQWidget *w =0);
/** Removes a single (always the last) widget. Doesn't care if there
are still only @ref mMinWidgets left on screen and whether it
@@ -115,8 +116,8 @@ protected:
/** Because QT 2.x does not support signals/slots in template
classes, we are forced to emulate this by forcing the
implementers of subclasses of KWidgetLister to reimplement this
- function which tqreplaces the "@p new @p T" call. */
- virtual TQWidget* createWidget( TQWidget *parent );
+ function which replaces the "@p new @p T" call. */
+ virtual TQWidget* createWidget( TQWidget *tqparent );
/** Sets the number of widgets on scrren to exactly @p aNum. Doesn't
check if @p aNum is inside the range @p
[mMinWidgets,mMaxWidgets]. */