summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/forms/widgets/kexiframe.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/forms/widgets/kexiframe.cpp')
-rw-r--r--kexi/plugins/forms/widgets/kexiframe.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kexi/plugins/forms/widgets/kexiframe.cpp b/kexi/plugins/forms/widgets/kexiframe.cpp
index b49386da..b33581d7 100644
--- a/kexi/plugins/forms/widgets/kexiframe.cpp
+++ b/kexi/plugins/forms/widgets/kexiframe.cpp
@@ -19,8 +19,8 @@
#include "kexiframe.h"
-#include <qpainter.h>
-#include <qdrawutil.h>
+#include <tqpainter.h>
+#include <tqdrawutil.h>
#include <kexiutils/utils.h>
//! @internal
@@ -33,7 +33,7 @@ class KexiFrame::Private
~Private()
{
}
- QColor frameColor;
+ TQColor frameColor;
#if 0
//todo
KexiFrame::Shape frameShape;
@@ -43,15 +43,15 @@ class KexiFrame::Private
//=========================================================
-KexiFrame::KexiFrame( QWidget * parent, const char * name, WFlags f )
- : QFrame(parent, name, f)
+KexiFrame::KexiFrame( TQWidget * tqparent, const char * name, WFlags f )
+ : TQFrame(tqparent, name, f)
, d( new Private() )
{
//defaults
- d->frameColor = palette().active().foreground();
+ d->frameColor = tqpalette().active().foreground();
//! @todo obtain these defaults from current template's style...
setLineWidth(2);
- setFrameStyle(QFrame::StyledPanel|QFrame::Raised);
+ setFrameStyle(TQFrame::StyledPanel|TQFrame::Raised);
}
KexiFrame::~KexiFrame()
@@ -59,19 +59,19 @@ KexiFrame::~KexiFrame()
delete d;
}
-void KexiFrame::dragMoveEvent( QDragMoveEvent *e )
+void KexiFrame::dragMoveEvent( TQDragMoveEvent *e )
{
- QFrame::dragMoveEvent(e);
+ TQFrame::dragMoveEvent(e);
emit handleDragMoveEvent(e);
}
-void KexiFrame::dropEvent( QDropEvent *e )
+void KexiFrame::dropEvent( TQDropEvent *e )
{
- QFrame::dropEvent(e);
+ TQFrame::dropEvent(e);
emit handleDropEvent(e);
}
#define ClassName KexiFrame
-#define SuperClassName QFrame
+#define SuperClassName TQFrame
#include "kexiframeutils_p.cpp"
#include "kexiframe.moc"