summaryrefslogtreecommitdiffstats
path: root/src/entryview.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/entryview.h')
-rw-r--r--src/entryview.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/entryview.h b/src/entryview.h
index ddca518..f6d4744 100644
--- a/src/entryview.h
+++ b/src/entryview.h
@@ -21,7 +21,7 @@ class KTempFile;
#include <khtml_part.h>
-#include <qguardedptr.h>
+#include <tqguardedptr.h>
namespace Tellico {
class XSLTHandler;
@@ -33,15 +33,16 @@ namespace Tellico {
*/
class EntryView : public KHTMLPart {
Q_OBJECT
+ TQ_OBJECT
public:
/**
* The EntryView shows a HTML representation of the data in the entry.
*
- * @param parent QWidget parent
- * @param name QObject name
+ * @param tqparent TQWidget tqparent
+ * @param name TQObject name
*/
- EntryView(QWidget* parent, const char* name=0);
+ EntryView(TQWidget* tqparent, const char* name=0);
/**
*/
virtual ~EntryView();
@@ -52,7 +53,7 @@ public:
* @param entry The entry to show
*/
void showEntry(Data::EntryPtr entry);
- void showText(const QString& text);
+ void showText(const TQString& text);
/**
* Clear the widget and set Entry pointer to NULL
@@ -64,7 +65,7 @@ public:
*
* @param file The XSLT file name
*/
- void setXSLTFile(const QString& file);
+ void setXSLTFile(const TQString& file);
void setXSLTOptions(const StyleOptions& options);
void setUseGradientImages(bool b) { m_useGradientImages = b; }
@@ -92,11 +93,11 @@ private:
Data::EntryPtr m_entry;
XSLTHandler* m_handler;
- QString m_xsltFile;
- QString m_textToShow;
+ TQString m_xsltFile;
+ TQString m_textToShow;
// to run any clicked processes
- QGuardedPtr<KRun> m_run;
+ TQGuardedPtr<KRun> m_run;
KTempFile* m_tempFile;
bool m_useGradientImages : 1;
bool m_checkCommonFile : 1;