summaryrefslogtreecommitdiffstats
path: root/kexi/formeditor/widgetwithsubpropertiesinterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/formeditor/widgetwithsubpropertiesinterface.h')
-rw-r--r--kexi/formeditor/widgetwithsubpropertiesinterface.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/kexi/formeditor/widgetwithsubpropertiesinterface.h b/kexi/formeditor/widgetwithsubpropertiesinterface.h
index 878fefca..b0d86710 100644
--- a/kexi/formeditor/widgetwithsubpropertiesinterface.h
+++ b/kexi/formeditor/widgetwithsubpropertiesinterface.h
@@ -20,11 +20,11 @@
#ifndef WIDGETWITHSUBPROPERTIESINTERFACE_H
#define WIDGETWITHSUBPROPERTIESINTERFACE_H
-#include <qcstring.h>
-#include <qvaluelist.h>
-#include <qwidget.h>
-#include <qguardedptr.h>
-#include <qvariant.h>
+#include <tqcstring.h>
+#include <tqvaluelist.h>
+#include <tqwidget.h>
+#include <tqguardedptr.h>
+#include <tqvariant.h>
namespace KFormDesigner {
@@ -32,7 +32,7 @@ namespace KFormDesigner {
/*! Currently used in KexiDBAutoField to allow editing specific properties
of its internal editor. For example, if the autofield is of type Image Box,
the Image Box widget has some specific properties like "lineWidth".
- Such properties are provided by the parent KexiDBAutoField object as subproperties. */
+ Such properties are provided by the tqparent KexiDBAutoField object as subproperties. */
class KFORMEDITOR_EXPORT WidgetWithSubpropertiesInterface
{
public:
@@ -41,31 +41,31 @@ class KFORMEDITOR_EXPORT WidgetWithSubpropertiesInterface
//! Sets \a widget subwidget handling subproperties. Setting 0 clears subwidget.
//! @todo maybe someone wants to add more than one widget here?
- void setSubwidget(QWidget *widget);
+ void setSubwidget(TQWidget *widget);
//! \return the assigned subwidget.
- QWidget* subwidget() const;
+ TQWidget* subwidget() const;
//! \return a list of subproperties available for this widget.
//! This is achieved by only listing those properties that are available in the
- QValueList<QCString> subproperies() const;
+ TQValueList<TQCString> subproperies() const;
//! \return a meta property for a widget's subproperty or 0 if there
//! is no such subproperty.
- const QMetaProperty *findMetaSubproperty(const char * name) const;
+ const TQMetaProperty *findMetaSubproperty(const char * name) const;
//! \return a value of widget's subproperty. \a ok is set to true on success
//! and to false on failure.
- QVariant subproperty( const char * name, bool &ok ) const;
+ TQVariant subproperty( const char * name, bool &ok ) const;
//! Sets a subproperty value \a value for a subproperty \a name
//! \return true on successful setting and false when there
- //! is no such a subproperty in the subwidget or QObject::setProperty() failed.
- bool setSubproperty( const char * name, const QVariant & value );
+ //! is no such a subproperty in the subwidget or TQObject::setProperty() failed.
+ bool setSubproperty( const char * name, const TQVariant & value );
protected:
- QGuardedPtr<QWidget> m_subwidget;
- QValueList<QCString> m_subproperies;
+ TQGuardedPtr<TQWidget> m_subwidget;
+ TQValueList<TQCString> m_subproperies;
};
}