summaryrefslogtreecommitdiffstats
path: root/quanta/components/framewizard/selectablearea.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
commitdc6b8e72fed2586239e3514819238c520636c9d9 (patch)
tree88b200df0a0b7fab9d6f147596173556f1ed9a13 /quanta/components/framewizard/selectablearea.cpp
parent6927d4436e54551917f600b706a8d6109e49de1c (diff)
downloadtdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.tar.gz
tdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1157656 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'quanta/components/framewizard/selectablearea.cpp')
-rw-r--r--quanta/components/framewizard/selectablearea.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/quanta/components/framewizard/selectablearea.cpp b/quanta/components/framewizard/selectablearea.cpp
index 32ea234b..c168e323 100644
--- a/quanta/components/framewizard/selectablearea.cpp
+++ b/quanta/components/framewizard/selectablearea.cpp
@@ -16,34 +16,34 @@
***************************************************************************/
#include "selectablearea.h"
-#include <qframe.h>
+#include <tqframe.h>
//#include <kdebug.h>
#include "fwglobal.h"
-SelectableArea::SelectableArea(QWidget *parent, const char *name ) : KHTMLPart(parent,name) {
- view()->setFrameShape(QFrame::NoFrame);
- view()->setMinimumSize(QSize(1,1));
+SelectableArea::SelectableArea(TQWidget *parent, const char *name ) : KHTMLPart(parent,name) {
+ view()->setFrameShape(TQFrame::NoFrame);
+ view()->setMinimumSize(TQSize(1,1));
view()->installEventFilter(this);
}
SelectableArea::~SelectableArea(){}
-bool SelectableArea::eventFilter(QObject *o, QEvent *event){
+bool SelectableArea::eventFilter(TQObject *o, TQEvent *event){
switch ( event->type() ) {
- case QEvent::FocusIn : {
- view()->setFrameShape(QFrame::Box);
- view()->setFrameShadow ( QFrame::Plain );
+ case TQEvent::FocusIn : {
+ view()->setFrameShape(TQFrame::Box);
+ view()->setFrameShadow ( TQFrame::Plain );
view()->setLineWidth(2);
emit selected(m_idLabel);
return true;
};
break;
- case QEvent::FocusOut : {
- view()->setFrameShape(QFrame::NoFrame);
+ case TQEvent::FocusOut : {
+ view()->setFrameShape(TQFrame::NoFrame);
return true;
}
break;
- case QEvent::Resize : {
+ case TQEvent::Resize : {
emit Resized( view()->geometry() );
view()->hide();
view()->show();