summaryrefslogtreecommitdiffstats
path: root/part/kxe_viewelement.h
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-03-26 12:35:35 +0100
committerSlávek Banko <slavek.banko@axis.cz>2016-03-26 14:10:15 +0100
commit38dca4b75c471ddf950e2f9f03801c550d7d26fd (patch)
treef5923ce5d84971f1f394baf7411146f078c02fab /part/kxe_viewelement.h
parente28665ce3b2e9ec6f09b4c021db7443cac3c4128 (diff)
downloadkxmleditor-38dca4b75c471ddf950e2f9f03801c550d7d26fd.tar.gz
kxmleditor-38dca4b75c471ddf950e2f9f03801c550d7d26fd.zip
Initial TQt conversion
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'part/kxe_viewelement.h')
-rw-r--r--part/kxe_viewelement.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/part/kxe_viewelement.h b/part/kxe_viewelement.h
index bac7669..f838079 100644
--- a/part/kxe_viewelement.h
+++ b/part/kxe_viewelement.h
@@ -18,9 +18,9 @@
#ifndef KXE_VIEWELEMENT_H
#define KXE_VIEWELEMENT_H
-#include <qsplitter.h>
+#include <tqsplitter.h>
-#include <qdom.h>
+#include <tqdom.h>
// forward declarations
class KXE_ViewAttributes;
@@ -35,17 +35,17 @@ class KXESyntaxHighlighter;
*
* @short Widget for XML elements.
*/
-class KXE_ViewElement : public QSplitter
+class KXE_ViewElement : public TQSplitter
{
Q_OBJECT
public:
- KXE_ViewElement( QWidget * pParent, KConfig *pConfig, const char * pszName = 0 );
+ KXE_ViewElement( TQWidget * pParent, KConfig *pConfig, const char * pszName = 0 );
~KXE_ViewElement();
/** Returns a pointer to the currently selected attribute or a null pointer. */
- QDomAttr getSelectedAttribute() const;
+ TQDomAttr getSelectedAttribute() const;
/** Changes the behaviour of this view to readonly or readwrite. */
void setReadWrite( bool fReadWrite );
@@ -53,7 +53,7 @@ class KXE_ViewElement : public QSplitter
public slots:
/** Changes/Rebuilds the whole widget according to the given element. */
- void slotChange( const QDomElement & );
+ void slotChange( const TQDomElement & );
/**
* Changes syntax highlighting colors.
@@ -76,19 +76,19 @@ class KXE_ViewElement : public QSplitter
signals:
/** Emitted, when a context menu is requested (see @ref KXE_ViewAttributes::sigContextMenuRequested) */
- void sigContextMenuRequested( const QString & szMenuName, const QPoint & pos );
+ void sigContextMenuRequested( const TQString & szMenuName, const TQPoint & pos );
/**
* Emitted, when an attributes name was renamed via inplace editing
* (see @ref KXE_ViewAttributes::sigAttributeChangedInplace).
*/
- void sigAttributeNameChangedInplace( const QDomAttr &, const QString );
+ void sigAttributeNameChangedInplace( const TQDomAttr &, const TQString );
/**
* Emitted, when an attributes value was renamed via inplace editing
* (see @ref KXE_ViewAttributes::sigAttributeChangedInplace).
*/
- void sigAttributeValueChangedInplace( const QDomAttr &, const QString );
+ void sigAttributeValueChangedInplace( const TQDomAttr &, const TQString );
};
#endif