diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:59:00 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:59:00 -0600 |
commit | ec1fddcd0d6663ad273af85357f04abbc5689468 (patch) | |
tree | 6cb946ab8b4771868c6eee8d1aa5213d6ec246e2 /kruler | |
parent | c2637a0da6d9a1c8626ca39f8451ab3b7cda487a (diff) | |
download | tdegraphics-ec1fddcd0d6663ad273af85357f04abbc5689468.tar.gz tdegraphics-ec1fddcd0d6663ad273af85357f04abbc5689468.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit c2637a0da6d9a1c8626ca39f8451ab3b7cda487a.
Diffstat (limited to 'kruler')
-rw-r--r-- | kruler/klineal.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kruler/klineal.cpp b/kruler/klineal.cpp index efa57d07..dfe02b20 100644 --- a/kruler/klineal.cpp +++ b/kruler/klineal.cpp @@ -165,7 +165,7 @@ KLineal::KLineal(TQWidget*parent,const char* name):KMainWindow(parent,name){ mMenu->insertItem(SmallIcon( "help" ), KStdGuiItem::help().text(), helpMenu()); mMenu->insertSeparator(); mMenu->insertItem(SmallIcon( "exit" ), KStdGuiItem::quit().text(), kapp, TQT_SLOT(quit()), CTRL+Key_Q); - mLastClickPos = geometry().topLeft()+TQPoint(width()/2, height()/2); + mLastClickPos = tqgeometry().topLeft()+TQPoint(width()/2, height()/2); } KLineal::~KLineal(){ @@ -293,7 +293,7 @@ void KLineal::setOrientation(int inOrientation) { mLenMenu->changeItem(FULLSCREENID, mOrientation % 2 ? i18n("&Full Screen Height") : i18n("&Full Screen Width")); setCursor(mCurrentCursor); setupBackground(); - repaint(); + tqrepaint(); } void KLineal::setNorth() { setOrientation(North); @@ -390,7 +390,7 @@ void KLineal::choseFont() { void KLineal::setFont(TQFont &font) { mScaleFont = font; saveSettings(); - repaint(); + tqrepaint(); } @@ -451,7 +451,7 @@ void KLineal::enterEvent(TQEvent * /*inEvent*/) { * overwritten to switch the value label and line cursor off */ void KLineal::leaveEvent(TQEvent * /*inEvent*/) { - if (!geometry().contains(TQCursor::pos())) { + if (!tqgeometry().contains(TQCursor::pos())) { hideLabel(); } } @@ -569,7 +569,7 @@ void KLineal::mousePressEvent(TQMouseEvent *inEvent) { mLastClickPos = TQCursor::pos(); hideLabel(); - TQRect gr = geometry(); + TQRect gr = tqgeometry(); mDragOffset = mLastClickPos - TQPoint(gr.left(), gr.top()); if (inEvent->button() == Qt::LeftButton) { if (!mDragging) { |