diff options
Diffstat (limited to 'kugar')
-rw-r--r-- | kugar/kudesigner_lib/canvas.cpp | 4 | ||||
-rw-r--r-- | kugar/kudesigner_lib/kugartemplate.cpp | 2 | ||||
-rw-r--r-- | kugar/kudesigner_lib/view.cpp | 28 | ||||
-rw-r--r-- | kugar/lib/mreportsection.cpp | 2 |
4 files changed, 18 insertions, 18 deletions
diff --git a/kugar/kudesigner_lib/canvas.cpp b/kugar/kudesigner_lib/canvas.cpp index 3d4ba603..2bad9157 100644 --- a/kugar/kudesigner_lib/canvas.cpp +++ b/kugar/kudesigner_lib/canvas.cpp @@ -77,10 +77,10 @@ void Canvas::scaleCanvas( int scale ) void Canvas::drawForeground ( TQPainter & painter, const TQRect & /*clip*/ ) { //kdDebug()<<"Canvas::drawForeGround"<<endl; - // qWarning("drawForeground "); + // tqWarning("drawForeground "); for ( BoxList::iterator it = selected.begin(); it != selected.end(); ++it ) { - // qWarning("sel:"); + // tqWarning("sel:"); ( *it ) ->drawHolders( painter ); } } diff --git a/kugar/kudesigner_lib/kugartemplate.cpp b/kugar/kudesigner_lib/kugartemplate.cpp index 28dc10d7..1945b714 100644 --- a/kugar/kudesigner_lib/kugartemplate.cpp +++ b/kugar/kudesigner_lib/kugartemplate.cpp @@ -307,7 +307,7 @@ bool KugarTemplate::removeReportItem( TQCanvasItem *item ) if ( ritem != 0 ) { ritem->section() ->items.remove( ritem ); - qWarning( "good" ); + tqWarning( "good" ); } //delete item; // section = 0; diff --git a/kugar/kudesigner_lib/view.cpp b/kugar/kudesigner_lib/view.cpp index a7b3ca1f..e26da923 100644 --- a/kugar/kudesigner_lib/view.cpp +++ b/kugar/kudesigner_lib/view.cpp @@ -154,7 +154,7 @@ void View::selectItemFromList( TQCanvasItemList &l ) m_canvas->unselectAll(); m_canvas->selectItem( b, false ); m_canvas->update(); - // qWarning("selected item set"); + // tqWarning("selected item set"); // selected->drawHolders(); return ; } @@ -171,7 +171,7 @@ void View::selectItemFromList( TQCanvasItemList &l ) } } m_canvas->unselectAll(); - // qWarning("unselect"); + // tqWarning("unselect"); } @@ -206,8 +206,8 @@ bool View::startResizing( TQMouseEvent * /*e*/, TQPoint &p ) { Kudesigner::Box *cbx = *it; resizing_type = cbx->isInHolder( p ); - /* qWarning("POINT: %d %d", p.x(), p.y()); - qWarning("RESIZE: %d", resizing_type);*/ + /* tqWarning("POINT: %d %d", p.x(), p.y()); + tqWarning("RESIZE: %d", resizing_type);*/ if ( resizing_type ) { m_canvas->selectItem( cbx, false ); @@ -280,14 +280,14 @@ void View::startMoveOrResizeOrSelectItem( TQCanvasItemList &l, } moving = 0; resizing = 0; - // qWarning("1"); + // tqWarning("1"); selectionStarted = 1; selectionRect->setX( p.x() ); selectionRect->setY( p.y() ); selectionRect->setZ( 50 ); - // qWarning("2"); + // tqWarning("2"); selectionRect->show(); - // qWarning("3"); + // tqWarning("3"); } void View::contentsMousePressEvent( TQMouseEvent* e ) @@ -298,7 +298,7 @@ void View::contentsMousePressEvent( TQMouseEvent* e ) //if there is a request for properties or for delete operation //perform that and do not take care about mouse buttons - // qWarning("mouse press"); + // tqWarning("mouse press"); switch ( request ) { @@ -321,9 +321,9 @@ void View::contentsMousePressEvent( TQMouseEvent* e ) /* Kudesigner::Box *b; - qWarning("Selected items:"); + tqWarning("Selected items:"); for (b = selected.first(); b; b = selected.next()) - qWarning("%s", b->props["Text"].first.latin1()); + tqWarning("%s", b->props["Text"].first.latin1()); */ switch ( e->button() ) @@ -331,13 +331,13 @@ void View::contentsMousePressEvent( TQMouseEvent* e ) case Qt::LeftButton: if ( itemToInsert ) { - // qWarning("placing item"); + // tqWarning("placing item"); m_canvas->unselectAll(); placeItem( l, e ); } else { - // qWarning("starting move or resize"); + // tqWarning("starting move or resize"); if ( !startResizing( e, p ) ) { selectItemFromList( l ); @@ -696,9 +696,9 @@ void View::finishSelection() Kudesigner::Box *b = *it; Buffer *buf = new Buffer( &( b->props ) ); ++it; - // qWarning("== %d", m_canvas->selected.count()); + // tqWarning("== %d", m_canvas->selected.count()); // Kudesigner::BoxList::const_iterator it2 = m_canvas->selected.end(); - // qWarning("41: %d", it != it2); + // tqWarning("41: %d", it != it2); for ( ; it != m_canvas->selected.end(); ++it ) { b = *it; diff --git a/kugar/lib/mreportsection.cpp b/kugar/lib/mreportsection.cpp index b412d332..4fc4f5bd 100644 --- a/kugar/lib/mreportsection.cpp +++ b/kugar/lib/mreportsection.cpp @@ -316,7 +316,7 @@ void MReportSection::setFieldData( TQString name, TQString data ) MFieldObject * field; for ( field = fields.first(); field != 0; field = fields.next() ) { - qWarning( " checking field %s", field->getFieldName().ascii() ); + tqWarning( " checking field %s", field->getFieldName().ascii() ); if ( field->getFieldName() == name ) field->setText( data ); } |