diff options
Diffstat (limited to 'kvoctrain/kvoctrain/kvoctrainview.cpp')
-rw-r--r-- | kvoctrain/kvoctrain/kvoctrainview.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kvoctrain/kvoctrain/kvoctrainview.cpp b/kvoctrain/kvoctrain/kvoctrainview.cpp index ebad99ee..e7d9ad56 100644 --- a/kvoctrain/kvoctrain/kvoctrainview.cpp +++ b/kvoctrain/kvoctrain/kvoctrainview.cpp @@ -67,10 +67,10 @@ kvoctrainView::kvoctrainView(kvoctrainDoc* doc, const LangSet &ls, kvoctrainApp connect(m_table, TQT_SIGNAL(forwardKeyPressEvent(TQKeyEvent*)), parent, TQT_SLOT(keyPressEvent(TQKeyEvent *))); connect(m_table, TQT_SIGNAL(forwardKeyReleaseEvent(TQKeyEvent*)), parent, TQT_SLOT(keyReleaseEvent(TQKeyEvent *))); - list_layout = new TQGridLayout( this, 2, 1/*, 4 */); - list_layout->addWidget(m_table, 1, 0); - list_layout->setRowStretch(1, 1); - list_layout->activate(); + list_tqlayout = new TQGridLayout( this, 2, 1/*, 4 */); + list_tqlayout->addWidget(m_table, 1, 0); + list_tqlayout->setRowStretch(1, 1); + list_tqlayout->activate(); setView(m_doc, ls); } @@ -243,21 +243,21 @@ void kvoctrainView::setHeaderProp (int id, const TQString &name, const TQString int h = pix.height(); TQPixmap arrow(w + 14, h); - TQBitmap mask(arrow.width(), arrow.height()); + TQBitmap tqmask(arrow.width(), arrow.height()); arrow.fill(Qt::white); - mask.fill(Qt::black); + tqmask.fill(Qt::black); bitBlt(&arrow, 0, 0, &pix, 0, 0); - if (pix.mask() != 0) - bitBlt(&mask, 0, 0, pix.mask(), 0, 0); + if (pix.tqmask() != 0) + bitBlt(&tqmask, 0, 0, pix.tqmask(), 0, 0); else { TQBitmap bmp(pix.createHeuristicMask()); - bitBlt(&mask, 0, 0, &bmp, 0, 0); + bitBlt(&tqmask, 0, 0, &bmp, 0, 0); } TQPainter p, pm; p.begin(&arrow); - pm.begin(&mask); + pm.begin(&tqmask); p.setPen(TQColor(0, 0, 0)); p.drawLine(w + 5, h - 2, w + 5 + 1, h - 2); @@ -275,7 +275,7 @@ void kvoctrainView::setHeaderProp (int id, const TQString &name, const TQString pm.end(); p.end(); - arrow.setMask(mask); + arrow.setMask(tqmask); TQIconSet set(arrow, TQIconSet::Small); header->setLabel(id, set, name); |