diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:55:38 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:55:38 -0600 |
commit | 3b6fffbdfed82ed3ab983a0370a64ee7267c825e (patch) | |
tree | a07d0a35dc0b269203327dd530b418a1add559b8 /digikam/imageplugins/inserttext/inserttextwidget.cpp | |
parent | 2b3aa210d14678345e222621ad199acc62a157ad (diff) | |
download | digikam-3b6fffbdfed82ed3ab983a0370a64ee7267c825e.tar.gz digikam-3b6fffbdfed82ed3ab983a0370a64ee7267c825e.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 2b3aa210d14678345e222621ad199acc62a157ad.
Diffstat (limited to 'digikam/imageplugins/inserttext/inserttextwidget.cpp')
-rw-r--r-- | digikam/imageplugins/inserttext/inserttextwidget.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/digikam/imageplugins/inserttext/inserttextwidget.cpp b/digikam/imageplugins/inserttext/inserttextwidget.cpp index 0595d23b..82e0789e 100644 --- a/digikam/imageplugins/inserttext/inserttextwidget.cpp +++ b/digikam/imageplugins/inserttext/inserttextwidget.cpp @@ -61,7 +61,7 @@ InsertTextWidget::InsertTextWidget(int w, int h, TQWidget *parent) m_w = m_iface->previewWidth(); m_h = m_iface->previewHeight(); m_pixmap = new TQPixmap(w, h); - m_pixmap->fill(colorGroup().background()); + m_pixmap->fill(tqcolorGroup().background()); setBackgroundMode(TQt::NoBackground); setMinimumSize(w, h); @@ -91,7 +91,7 @@ void InsertTextWidget::resetEdit() // signal this needs to be filled by makePixmap m_textRect = TQRect(); makePixmap(); - repaint(false); + tqrepaint(false); } void InsertTextWidget::setText(TQString text, TQFont font, TQColor color, int alignMode, @@ -137,7 +137,7 @@ void InsertTextWidget::setText(TQString text, TQFont font, TQColor color, int al m_textFont = font; makePixmap(); - repaint(false); + tqrepaint(false); } void InsertTextWidget::setPositionHint(TQRect hint) @@ -146,10 +146,10 @@ void InsertTextWidget::setPositionHint(TQRect hint) m_positionHint = hint; if (m_textRect.isValid()) { - // invalidate current position so that hint is certainly interpreted + // tqinvalidate current position so that hint is certainly interpreted m_textRect = TQRect(); makePixmap(); - repaint(); + tqrepaint(); } } @@ -229,7 +229,7 @@ void InsertTextWidget::makePixmap(void) // paint pixmap for drawing this widget // First, fill with background color - m_pixmap->fill(colorGroup().background()); + m_pixmap->fill(tqcolorGroup().background()); TQPainter p(m_pixmap); // Convert image to pixmap and draw it TQPixmap imagePixmap = image.convertToPixmap(); @@ -368,7 +368,7 @@ TQRect InsertTextWidget::composeImage(Digikam::DImg *image, TQPainter *destPaint y = TQMAX( (maxHeight - fontHeight) / 2, 0); } - // invalidate position hint, use only once + // tqinvalidate position hint, use only once m_positionHint = TQRect(); } else @@ -602,7 +602,7 @@ void InsertTextWidget::mouseMoveEvent ( TQMouseEvent * e ) m_textRect.moveBy(newxpos - m_xpos, newypos - m_ypos); makePixmap(); - repaint(false); + tqrepaint(false); m_xpos = newxpos; m_ypos = newypos; |