diff options
Diffstat (limited to 'src/xosd.h')
| -rw-r--r-- | src/xosd.h | 38 |
1 files changed, 19 insertions, 19 deletions
@@ -5,29 +5,29 @@ #include <config.h> #endif -#include <qstring.h> -#include <qwidget.h> -#include <qfont.h> -#include <qpixmap.h> -#include <qbitmap.h> +#include <ntqstring.h> +#include <ntqwidget.h> +#include <ntqfont.h> +#include <ntqpixmap.h> +#include <ntqbitmap.h> #include <netwm.h> #include <kwin.h> -class xosd : public QWidget +class xosd : public TQWidget { Q_OBJECT public: - xosd(QWidget* parent=0, const char *name=0); + xosd(TQWidget* parent=0, const char *name=0); virtual ~xosd(); - void setText(const QString& t); - void setFont(const QString& font); + void setText(const TQString& t); + void setFont(const TQString& font); void setItalic(); void setBold(); void setSize(int size); - void setColor(const QString& color); - void setShadowColor(const QString& color); + 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); @@ -36,23 +36,23 @@ Q_OBJECT int w, h; int fontSize; int fontStyle; - QString fontFamily; + TQString fontFamily; private: NETWinInfo *info; - QString text; - QFont f; - QString fontColor; - QString shadowColor; + TQString text; + TQFont f; + TQString fontColor; + TQString shadowColor; int shadowOffset; int fOrientation; - QPixmap bgBuffer; + TQPixmap bgBuffer; int dw, rdh; int lastX, lastY; int fCleaner; - QPixmap maskBuffer; + TQPixmap maskBuffer; protected: - void paintEvent(QPaintEvent *); + void paintEvent(TQPaintEvent *); }; #endif // XOSD_H_ |
