diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-02 06:40:27 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-02 06:40:27 +0000 |
commit | 2595a15ebeb6fc46b7cb241d01ec0c2460ec2111 (patch) | |
tree | 18a8f0f4ac5a86dacfa74c3537551ec39bc85e75 /src/entryview.h | |
parent | 1d90725a4001fab9d3922b2cbcceeee5e2d1686f (diff) | |
download | tellico-2595a15ebeb6fc46b7cb241d01ec0c2460ec2111.tar.gz tellico-2595a15ebeb6fc46b7cb241d01ec0c2460ec2111.zip |
TQt4 port tellico
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/tellico@1239054 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/entryview.h')
-rw-r--r-- | src/entryview.h | 19 |
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; |