Replaced various '#define' with actual strings - part 3

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/32/head
Michele Calgaro 1 year ago
parent c8b88871bd
commit 30ea27ebf3
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -174,7 +174,7 @@ DataBaseInterface::MainEntry DataBaseInterface::get(const TQString& query,Search
// kdDebug(0) << "MAINDB->GET returned: " << r << endl; // kdDebug(0) << "MAINDB->GET returned: " << r << endl;
if(counter%5==0) kapp->processEvents(100); if(counter%5==0) kapp->processEvents(100);
// kdDebug(0) << "events processed" << endl; // kdDebug(0) << "events processed" << endl;
return tqMakePair(k,d); return qMakePair(k,d);
} }
@ -727,7 +727,7 @@ DataBaseInterface::MainEntry DataBaseInterface::getSentence( const TQString & qu
DBItemMainData d; DBItemMainData d;
sentence->get(&k,&d); sentence->get(&k,&d);
if(counter%5==0) kapp->processEvents(100); if(counter%5==0) kapp->processEvents(100);
return tqMakePair(k,d); return qMakePair(k,d);
} }

@ -805,7 +805,7 @@ GraphNode* GraphExporter::node(TraceFunction* f)
GraphEdge* GraphExporter::edge(TraceFunction* f1, TraceFunction* f2) GraphEdge* GraphExporter::edge(TraceFunction* f1, TraceFunction* f2)
{ {
GraphEdgeMap::Iterator it = _edgeMap.find(tqMakePair(f1, f2)); GraphEdgeMap::Iterator it = _edgeMap.find(qMakePair(f1, f2));
if (it == _edgeMap.end()) return 0; if (it == _edgeMap.end()) return 0;
return &(*it); return &(*it);
@ -1095,7 +1095,7 @@ void CanvasNode::drawShape(TQPainter& p)
r.setRect(r.x()+2, r.y()+2, r.width()-4, r.height()-4); r.setRect(r.x()+2, r.y()+2, r.width()-4, r.height()-4);
if (StoredDrawParams::selected() && _view->hasFocus()) { if (StoredDrawParams::selected() && _view->hasFocus()) {
_view->style().tqdrawPrimitive( TQStyle::PE_FocusRect, &p, r, _view->style().drawPrimitive( TQStyle::PE_FocusRect, &p, r,
_view->colorGroup()); _view->colorGroup());
} }

@ -2178,7 +2178,7 @@ void TreeMapWidget::drawTreeMap()
if (hasFocus()) { if (hasFocus()) {
TQPainter p(this); TQPainter p(this);
style().tqdrawPrimitive( TQStyle::PE_FocusRect, &p, style().drawPrimitive( TQStyle::PE_FocusRect, &p,
TQRect(0, 0, TQWidget::width(), TQWidget::height()), TQRect(0, 0, TQWidget::width(), TQWidget::height()),
colorGroup() ); colorGroup() );
} }

@ -504,7 +504,7 @@ void Lexer::resetSkipWords()
void Lexer::addSkipWord( const TQString& word, SkipType skipType, const TQString& str ) void Lexer::addSkipWord( const TQString& word, SkipType skipType, const TQString& str )
{ {
m_words[ word ] = tqMakePair( skipType, str ); m_words[ word ] = qMakePair( skipType, str );
} }
void Lexer::skip( int l, int r ) void Lexer::skip( int l, int r )

Loading…
Cancel
Save