summaryrefslogtreecommitdiffstats
path: root/kicker/extensions/kasbar/kasbar.h
diff options
context:
space:
mode:
Diffstat (limited to 'kicker/extensions/kasbar/kasbar.h')
-rw-r--r--kicker/extensions/kasbar/kasbar.h21
1 files changed, 8 insertions, 13 deletions
diff --git a/kicker/extensions/kasbar/kasbar.h b/kicker/extensions/kasbar/kasbar.h
index d875dd00f..5aad7392a 100644
--- a/kicker/extensions/kasbar/kasbar.h
+++ b/kicker/extensions/kasbar/kasbar.h
@@ -1,5 +1,3 @@
-// -*- c++ -*-
-
/* kasbar.h
**
** Copyright (C) 2001-2004 Richard Moore <rich@kde.org>
@@ -53,9 +51,6 @@
/*
** Bug reports and questions can be sent to kde-devel@kde.org
*/
-// -*- c++ -*-
-
-
#ifndef __KASBAR_H
#define __KASBAR_H
@@ -79,7 +74,7 @@ typedef TQPtrList<KasItem> KasItemList;
*/
class KDE_EXPORT KasBar : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY( int maxBoxes READ maxBoxes )
TQ_PROPERTY( uint boxesPerLine READ boxesPerLine )
TQ_PROPERTY( Direction direction READ direction )
@@ -89,8 +84,8 @@ class KDE_EXPORT KasBar : public TQWidget
friend class KasItem;
public:
- KasBar( Qt::Orientation o, TQWidget *parent=0, const char *name=0, WFlags f=0 );
- KasBar( Qt::Orientation o, KasBar *master,
+ KasBar( TQt::Orientation o, TQWidget *parent=0, const char *name=0, WFlags f=0 );
+ KasBar( TQt::Orientation o, KasBar *master,
TQWidget* parent=0, const char* name=0, WFlags f=0 );
virtual ~KasBar();
@@ -104,7 +99,7 @@ public:
KasBar *master() const { return master_; }
/** Creates a child bar of the kasbar. The child will inherit the appearance options. */
- virtual KasBar *createChildBar( Qt::Orientation o, TQWidget *parent, const char *name=0 );
+ virtual KasBar *createChildBar( TQt::Orientation o, TQWidget *parent, const char *name=0 );
/** Factory method that returns the singleton resources object. */
virtual KasResources *resources();
@@ -141,8 +136,8 @@ public:
int maxBoxes() const { return maxBoxes_; }
uint boxesPerLine() const { return boxesPerLine_; }
- void setOrientation( Qt::Orientation o );
- Qt::Orientation orientation() const { return orient; }
+ void setOrientation( TQt::Orientation o );
+ TQt::Orientation orientation() const { return orient; }
void setDirection( Direction dir );
Direction direction() const { return direction_; }
@@ -152,7 +147,7 @@ public:
bool isDrag() const { return inDrag; }
- TQSize sizeHint( Qt::Orientation, TQSize max );
+ TQSize sizeHint( TQt::Orientation, TQSize max );
//
// Look and feel options
@@ -287,7 +282,7 @@ private:
TQPixmap offscreen;
KasBar *master_;
KasItemList items;
- Qt::Orientation orient;
+ TQt::Orientation orient;
Direction direction_;
KasItem *itemUnderMouse_;
uint boxesPerLine_;