summaryrefslogtreecommitdiffstats
path: root/src/modules/tip/libkvitip.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/tip/libkvitip.h')
-rw-r--r--src/modules/tip/libkvitip.h28
1 files changed, 15 insertions, 13 deletions
diff --git a/src/modules/tip/libkvitip.h b/src/modules/tip/libkvitip.h
index 1387f8df..45339308 100644
--- a/src/modules/tip/libkvitip.h
+++ b/src/modules/tip/libkvitip.h
@@ -23,33 +23,35 @@
// Inc. ,51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//
-#include <qwidget.h>
-#include <qframe.h>
-#include <qpixmap.h>
-#include <qcheckbox.h>
+#include <tqwidget.h>
+#include <tqframe.h>
+#include <tqpixmap.h>
+#include <tqcheckbox.h>
#include "kvi_styled_controls.h"
#include "kvi_string.h"
#include "kvi_config.h"
-class KviTipFrame : public QFrame
+class KviTipFrame : public TQFrame
{
Q_OBJECT
+ TQ_OBJECT
public:
- KviTipFrame(QWidget * par);
+ KviTipFrame(TQWidget * par);
~KviTipFrame();
protected:
- QString m_szText;
- QPixmap * m_pTipPixmap;
+ TQString m_szText;
+ TQPixmap * m_pTipPixmap;
protected:
- virtual void drawContents(QPainter *p);
+ virtual void drawContents(TQPainter *p);
public:
- void setText(const QString &text);
+ void setText(const TQString &text);
};
-class KviTipWindow : public QWidget
+class KviTipWindow : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
KviTipWindow();
~KviTipWindow();
@@ -59,8 +61,8 @@ protected:
KviConfig * m_pConfig;
KviStr m_szConfigFileName; // no path!
protected:
- virtual void showEvent(QShowEvent *e);
- virtual void closeEvent(QCloseEvent *e);
+ virtual void showEvent(TQShowEvent *e);
+ virtual void closeEvent(TQCloseEvent *e);
public:
bool openConfig(const char * filename,bool bEnsureExists = true);
void closeConfig();