summaryrefslogtreecommitdiffstats
path: root/src/xosd.h
diff options
context:
space:
mode:
authorPascal Viandier <midi-pascal@videotron.ca>2015-10-01 19:38:38 +0200
committerSlávek Banko <slavek.banko@axis.cz>2015-10-01 19:38:38 +0200
commit1e0e72fceb542e4eb984b50f747c38314f055b8f (patch)
tree40d35ec3682c465348f8d8d73509aeda4729a8bb /src/xosd.h
parentc9e33e7d3fcd5b21a00e13dcbb5742a6c8da6106 (diff)
downloadkooldock-1e0e72fceb542e4eb984b50f747c38314f055b8f.tar.gz
kooldock-1e0e72fceb542e4eb984b50f747c38314f055b8f.zip
Fix remaining issues and build warnings
Cleanup code Signed-off-by: Pascal Viandier <midi-pascal@videotron.ca>
Diffstat (limited to 'src/xosd.h')
-rw-r--r--src/xosd.h77
1 files changed, 39 insertions, 38 deletions
diff --git a/src/xosd.h b/src/xosd.h
index 89bd230..6d1b206 100644
--- a/src/xosd.h
+++ b/src/xosd.h
@@ -16,43 +16,44 @@
class xosd : public TQWidget
{
-Q_OBJECT
- public:
- xosd(TQWidget* parent=0, const char *name=0);
-
- virtual ~xosd();
- void setText(const TQString& t);
- void setFont(const TQString& font);
- void setItalic();
- void setBold();
- void setSize(int size);
- void setColor(const TQString& color);
- void setShadowColor(const TQString& color);
- void setShadowOffset(int off);
- void move2(int x, int y);
- void setOrientation(int orientation, int w, int mh);
- void setClear(int nClean);
- int yOffset;
- int w, h;
- int fontSize;
- int fontStyle;
- TQString fontFamily;
-
- private:
- NETWinInfo *info;
- TQString text;
- TQFont f;
- TQString fontColor;
- TQString shadowColor;
- int shadowOffset;
- int fOrientation;
- TQPixmap bgBuffer;
- int dw, rdh;
- int lastX, lastY;
- int fCleaner;
- TQPixmap maskBuffer;
-
- protected:
- void paintEvent(TQPaintEvent *);
+ Q_OBJECT
+ public:
+ xosd(TQWidget* parent = 0, const char* name = 0);
+
+ virtual ~xosd();
+ void setText(const TQString& t);
+ void setFont(const TQString& font);
+ void setItalic();
+ void setBold();
+ void setSize(int size);
+ void setColor(const TQString& color);
+ void setShadowColor(const TQString& color);
+ void setShadowOffset(int off);
+ void move2(int x, int y);
+ void setOrientation(int orientation, int w, int mh);
+ void setClear(int nClean);
+ int yOffset;
+ int w, h;
+ int fontSize;
+ int fontStyle;
+ TQString fontFamily;
+
+ private:
+ NETWinInfo* info;
+ TQString text;
+ TQFont f;
+ TQString fontColor;
+ TQString shadowColor;
+ int shadowOffset;
+ int fOrientation;
+ TQPixmap bgBuffer;
+ int dw, rdh;
+ int lastX, lastY;
+ int fCleaner;
+ TQPixmap maskBuffer;
+
+ protected:
+ void paintEvent(TQPaintEvent*);
};
+
#endif // XOSD_H_