Lines 106-115
Link Here
|
106 |
class BaghiraClient; |
106 |
class BaghiraClient; |
107 |
|
107 |
|
108 |
#if KDE_IS_VERSION(3,3,91) |
108 |
#if KDE_IS_VERSION(3,3,91) |
|
|
109 |
#define myQObject Q_OBJECT |
110 |
#endif |
111 |
|
112 |
#if KDE_IS_VERSION(3,3,91) |
109 |
class ResizeHandle : public QWidget |
113 |
class ResizeHandle : public QWidget |
110 |
{ |
114 |
{ |
111 |
friend class BaghiraClient; |
115 |
friend class BaghiraClient; |
112 |
Q_OBJECT |
116 |
myQObject |
113 |
public: |
117 |
public: |
114 |
ResizeHandle(BaghiraClient *parent); |
118 |
ResizeHandle(BaghiraClient *parent); |
115 |
protected: |
119 |
protected: |
Lines 384-390
Link Here
|
384 |
class BaghiraClient : public KDecoration |
388 |
class BaghiraClient : public KDecoration |
385 |
{ |
389 |
{ |
386 |
friend class BaghiraButton; |
390 |
friend class BaghiraButton; |
|
|
391 |
#if KDE_IS_VERSION(3,3,91) |
387 |
friend class ResizeHandle; |
392 |
friend class ResizeHandle; |
|
|
393 |
#endif |
388 |
Q_OBJECT |
394 |
Q_OBJECT |
389 |
public: |
395 |
public: |
390 |
BaghiraClient(KDecorationBridge *b, KDecorationFactory *f); |
396 |
BaghiraClient(KDecorationBridge *b, KDecorationFactory *f); |
Lines 457-463
Link Here
|
457 |
// QWidget *inactiveOverlay; |
463 |
// QWidget *inactiveOverlay; |
458 |
QHBoxLayout *windowlayout; |
464 |
QHBoxLayout *windowlayout; |
459 |
int ICONX, ICONY; |
465 |
int ICONX, ICONY; |
|
|
466 |
#if KDE_IS_VERSION(3,3,91) |
460 |
ResizeHandle *grip; |
467 |
ResizeHandle *grip; |
|
|
468 |
#endif |
461 |
// QSizeGrip *grip; |
469 |
// QSizeGrip *grip; |
462 |
// KDecorationBridge *myBridge_; |
470 |
// KDecorationBridge *myBridge_; |
463 |
// QImage* ActiveDecoImage_; |
471 |
// QImage* ActiveDecoImage_; |