summaryrefslogtreecommitdiffstats
path: root/kexi
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-10-31 10:46:45 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-10-31 10:46:45 -0500
commitaa0e597d69c5fee77817b37b89407137893b3baf (patch)
tree422e2369183d90bf9e03cabad1eacd1e1d2ee76c /kexi
parentd2b03dad3d0b458ab4146b4e51756e3ce8efe7cc (diff)
downloadkoffice-aa0e597d69c5fee77817b37b89407137893b3baf.tar.gz
koffice-aa0e597d69c5fee77817b37b89407137893b3baf.zip
Fix FTBFS on TQt3
Diffstat (limited to 'kexi')
-rw-r--r--kexi/formeditor/factories/stdwidgetfactory.h8
-rw-r--r--kexi/formeditor/spring.h8
2 files changed, 8 insertions, 8 deletions
diff --git a/kexi/formeditor/factories/stdwidgetfactory.h b/kexi/formeditor/factories/stdwidgetfactory.h
index 087ffdc8..a99bf6a8 100644
--- a/kexi/formeditor/factories/stdwidgetfactory.h
+++ b/kexi/formeditor/factories/stdwidgetfactory.h
@@ -41,14 +41,14 @@ class KFORMEDITOR_EXPORT Line : public TQFrame
{
Q_OBJECT
- TQ_PROPERTY(Qt::Orientation orientation READ orientation WRITE setOrientation)
+ TQ_PROPERTY(Orientation orientation READ orientation WRITE setOrientation)
public:
- Line(Qt::Orientation orient, TQWidget *parent, const char *name);
+ Line(Orientation orient, TQWidget *parent, const char *name);
~Line(){;}
- void setOrientation(Qt::Orientation orient);
- Qt::Orientation orientation() const;
+ void setOrientation(Orientation orient);
+ Orientation orientation() const;
};
//! Factory for all basic widgets, including Spring (not containers)
diff --git a/kexi/formeditor/spring.h b/kexi/formeditor/spring.h
index 09f9cccb..dac4a2fb 100644
--- a/kexi/formeditor/spring.h
+++ b/kexi/formeditor/spring.h
@@ -38,7 +38,7 @@ class KFORMEDITOR_EXPORT Spring : public TQWidget
Q_OBJECT
TQ_ENUMS(SizeType)
- TQ_PROPERTY(Qt::Orientation orientation READ orientation WRITE setOrientation)
+ TQ_PROPERTY(Orientation orientation READ orientation WRITE setOrientation)
TQ_PROPERTY(SizeType sizeType READ sizeType WRITE setSizeType)
private:
@@ -54,8 +54,8 @@ class KFORMEDITOR_EXPORT Spring : public TQWidget
static bool isPropertyVisible(const TQCString &name);
static void saveSpring(KFormDesigner::ObjectTreeItem *item, TQDomElement &parent, TQDomDocument &domDoc, bool insideGridLayout);
- void setOrientation(Qt::Orientation orient);
- Qt::Orientation orientation() const { return m_orient;}
+ void setOrientation(Orientation orient);
+ Orientation orientation() const { return m_orient;}
void setSizeType(SizeType size);
SizeType sizeType() const;
@@ -65,7 +65,7 @@ class KFORMEDITOR_EXPORT Spring : public TQWidget
void paintEvent(TQPaintEvent *ev);
private:
- Qt::Orientation m_orient;
+ Orientation m_orient;
bool m_edit;
};