summaryrefslogtreecommitdiffstats
path: root/lib/widgets/propeditor/propertywidgetproxy.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /lib/widgets/propeditor/propertywidgetproxy.h
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/widgets/propeditor/propertywidgetproxy.h')
-rw-r--r--lib/widgets/propeditor/propertywidgetproxy.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/widgets/propeditor/propertywidgetproxy.h b/lib/widgets/propeditor/propertywidgetproxy.h
index 31c28e76..e1183d91 100644
--- a/lib/widgets/propeditor/propertywidgetproxy.h
+++ b/lib/widgets/propeditor/propertywidgetproxy.h
@@ -20,8 +20,8 @@
#ifndef PROPERTYWIDGETPROXY_H
#define PROPERTYWIDGETPROXY_H
-#include <qwidget.h>
-#include <qvariant.h>
+#include <tqwidget.h>
+#include <tqvariant.h>
#include "multiproperty.h"
@@ -45,7 +45,7 @@ Q_OBJECT
Q_PROPERTY( int propertyType READ propertyType WRITE setPropertyType DESIGNABLE true )
Q_PROPERTY( PropertyType propertyType2 READ propertyType2 WRITE setPropertyType2 DESIGNABLE false )
public:
- PropertyWidgetProxy(QWidget *parent = 0, const char *name = 0);
+ PropertyWidgetProxy(TQWidget *parent = 0, const char *name = 0);
~PropertyWidgetProxy();
/**Sets the type of a property editor to appear.*/
@@ -55,13 +55,13 @@ public:
void setPropertyType2(PropertyType propertyType);
PropertyType propertyType2() const { return m_propertyType; }
- QVariant value() const;
- void setValue(const QVariant &value);
+ TQVariant value() const;
+ void setValue(const TQVariant &value);
/**Sets the type of an editor basing on the @p value if the name is "value".
- Otherwise works as QWidget::setProperty.*/
- bool setProperty( const char *name, const QVariant &value);
- QVariant property( const char *name) const;
+ Otherwise works as TQWidget::setProperty.*/
+ bool setProperty( const char *name, const TQVariant &value);
+ TQVariant property( const char *name) const;
protected:
virtual void setWidget();
@@ -73,7 +73,7 @@ private:
PropertyType m_propertyType;
PropertyWidget *m_editor;
- QHBoxLayout *m_layout;
+ TQHBoxLayout *m_layout;
};
}