summaryrefslogtreecommitdiffstats
path: root/klinkstatus/src/utils/xsl.h
diff options
context:
space:
mode:
Diffstat (limited to 'klinkstatus/src/utils/xsl.h')
-rw-r--r--klinkstatus/src/utils/xsl.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/klinkstatus/src/utils/xsl.h b/klinkstatus/src/utils/xsl.h
index 7fb6af70..93d6a74b 100644
--- a/klinkstatus/src/utils/xsl.h
+++ b/klinkstatus/src/utils/xsl.h
@@ -32,14 +32,15 @@ class XSLTPrivate;
* This class provides an easy to use interface to basic
* libxslt transformations.
*/
-class XSLT : public QObject
+class XSLT : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
- Q_PROPERTY( Flags flags READ flags WRITE setFlags )
- Q_PROPERTY( bool isValid READ isValid )
+ TQ_PROPERTY( Flags flags READ flagsProperty WRITE setFlagsProperty )
+ TQ_PROPERTY( bool isValid READ isValid )
- Q_SETS( Flags )
+ TQ_SETS( Flags )
public:
/**
@@ -56,7 +57,7 @@ public:
*
* Constructs a new XSLT parser using the provided XSLT document
*/
- XSLT( const TQString &xsltDocument, TQObject *parent = 0L );
+ XSLT( const TQString &xsltDocument, TQObject *tqparent = 0L );
virtual ~XSLT();
@@ -104,6 +105,9 @@ public:
*/
void setFlags( unsigned int flags );
+ inline XSLT::Flags flagsProperty() const { return (XSLT::Flags)flags(); }
+ inline void setFlagsProperty( XSLT::Flags newflags ) { setFlags((XSLT::Flags)newflags); }
+
private:
XSLTPrivate *d;
};