summaryrefslogtreecommitdiffstats
path: root/kwin/clients/b2/b2client.h
diff options
context:
space:
mode:
Diffstat (limited to 'kwin/clients/b2/b2client.h')
-rw-r--r--kwin/clients/b2/b2client.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/kwin/clients/b2/b2client.h b/kwin/clients/b2/b2client.h
index 198dfbb9b..e7616157c 100644
--- a/kwin/clients/b2/b2client.h
+++ b/kwin/clients/b2/b2client.h
@@ -25,10 +25,10 @@ namespace B2 {
class B2Client;
-class B2Button : public QButton
+class B2Button : public TQButton
{
public:
- B2Button(B2Client *_client=0, TQWidget *parent=0, const TQString& tip=NULL, const int realizeBtns = LeftButton);
+ B2Button(B2Client *_client=0, TQWidget *parent=0, const TQString& tip=NULL, const int realizeBtns = Qt::LeftButton);
~B2Button() {};
void setBg(const TQColor &c){bg = c;}
@@ -38,7 +38,7 @@ public:
void setToggle(){setToggleType(Toggle);}
void setActive(bool on){setOn(on);}
void setUseMiniIcon(){useMiniIcon = true;}
- TQSize sizeHint() const;
+ TQSize tqsizeHint() const;
TQSizePolicy sizePolicy() const;
protected:
virtual void drawButton(TQPainter *p);
@@ -61,7 +61,7 @@ public:
bool hover;
};
-class B2Titlebar : public QWidget
+class B2Titlebar : public TQWidget
{
friend class B2Client;
public:
@@ -119,7 +119,7 @@ protected:
Position mousePosition( const TQPoint& p ) const;
void resize(const TQSize&);
void borders(int &, int &, int &, int &) const;
- TQSize minimumSize() const;
+ TQSize tqminimumSize() const;
bool eventFilter(TQObject *, TQEvent *);
private slots:
void menuButtonPressed();