summaryrefslogtreecommitdiffstats
path: root/quanta/components/framewizard/selectablearea.cpp
diff options
context:
space:
mode:
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();