summaryrefslogtreecommitdiffstats
path: root/src/gui/contexthelp.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-29 16:05:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-29 16:05:55 +0000
commit87a016680e3677da3993f333561e79eb0cead7d5 (patch)
treecbda2b4df8b8ee0d8d1617e6c75bec1e3ee0ccba /src/gui/contexthelp.h
parent6ce3d1ad09c1096b5ed3db334e02859e45d5c32b (diff)
downloadktechlab-87a016680e3677da3993f333561e79eb0cead7d5.tar.gz
ktechlab-87a016680e3677da3993f333561e79eb0cead7d5.zip
TQt4 port ktechlab
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktechlab@1238801 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/contexthelp.h')
-rw-r--r--src/gui/contexthelp.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/src/gui/contexthelp.h b/src/gui/contexthelp.h
index 90159b7..c363e39 100644
--- a/src/gui/contexthelp.h
+++ b/src/gui/contexthelp.h
@@ -11,12 +11,12 @@
#ifndef CONTEXTHELP_H
#define CONTEXTHELP_H
-#include <qwidget.h>
+#include <tqwidget.h>
class Item;
class ContextHelp;
-class QLabel;
-class QTextBrowser;
+class TQLabel;
+class TQTextBrowser;
namespace KateMDI { class ToolView; }
/**
@@ -27,30 +27,31 @@ in a ICNDocument.
@author David Saxton
*/
-class ContextHelp : public QWidget
+class ContextHelp : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- static ContextHelp * self( KateMDI::ToolView * parent = 0l );
- static QString toolViewIdentifier() { return "ContextHelp"; }
+ static ContextHelp * self( KateMDI::ToolView * tqparent = 0l );
+ static TQString toolViewIdentifier() { return "ContextHelp"; }
~ContextHelp();
/**
* Replace special tags with appropriate html formatting code.
*/
- void parseInfo( QString &info );
+ void parseInfo( TQString &info );
public slots:
void slotClear();
void slotMultipleSelected();
void slotUpdate( Item *item );
- void setContextHelp(const QString& name, const QString &help);
+ void setContextHelp(const TQString& name, const TQString &help);
private:
- ContextHelp( KateMDI::ToolView * parent );
+ ContextHelp( KateMDI::ToolView * tqparent );
- QLabel *m_nameLbl;
- QTextBrowser *m_info;
+ TQLabel *m_nameLbl;
+ TQTextBrowser *m_info;
static ContextHelp * m_pSelf;
};