summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/umlviewcanvas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'umbrello/umbrello/umlviewcanvas.cpp')
-rw-r--r--umbrello/umbrello/umlviewcanvas.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/umbrello/umbrello/umlviewcanvas.cpp b/umbrello/umbrello/umlviewcanvas.cpp
index 15de4169..134bdf47 100644
--- a/umbrello/umbrello/umlviewcanvas.cpp
+++ b/umbrello/umbrello/umlviewcanvas.cpp
@@ -13,20 +13,20 @@
#include "umlviewcanvas.h"
// qt/kde includes
-#include <qpainter.h>
+#include <tqpainter.h>
// app includes
#include "umlview.h"
-UMLViewCanvas::UMLViewCanvas( UMLView * pView ) : QCanvas( pView ) {
+UMLViewCanvas::UMLViewCanvas( UMLView * pView ) : TQCanvas( pView ) {
m_pView = pView;
}
UMLViewCanvas::~UMLViewCanvas() {}
-void UMLViewCanvas::drawBackground( QPainter & painter, const QRect & clip ) {
- QCanvas::drawBackground( painter, clip );
+void UMLViewCanvas::drawBackground( TQPainter & painter, const TQRect & clip ) {
+ TQCanvas::drawBackground( painter, clip );
if( m_pView -> getShowSnapGrid() ) {
painter.setPen( Qt::gray );
int gridX = m_pView -> getSnapX();