summaryrefslogtreecommitdiffstats
path: root/kruler
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-19 11:56:05 -0600
committerTimothy Pearson <[email protected]>2011-12-19 11:56:05 -0600
commit74c05bbf9d92e43a6cf3799355b5f3598884409e (patch)
tree9371e52e1564e08fd280f28e49981ffeb881b9d2 /kruler
parent45f529de247fc4b3662f6b474abe03fe904306ec (diff)
downloadtdegraphics-74c05bbf9d92e43a6cf3799355b5f3598884409e.tar.gz
tdegraphics-74c05bbf9d92e43a6cf3799355b5f3598884409e.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'kruler')
-rw-r--r--kruler/klineal.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kruler/klineal.cpp b/kruler/klineal.cpp
index dfe02b20..efa57d07 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 = tqgeometry().topLeft()+TQPoint(width()/2, height()/2);
+ mLastClickPos = geometry().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();
- tqrepaint();
+ repaint();
}
void KLineal::setNorth() {
setOrientation(North);
@@ -390,7 +390,7 @@ void KLineal::choseFont() {
void KLineal::setFont(TQFont &font) {
mScaleFont = font;
saveSettings();
- tqrepaint();
+ repaint();
}
@@ -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 (!tqgeometry().contains(TQCursor::pos())) {
+ if (!geometry().contains(TQCursor::pos())) {
hideLabel();
}
}
@@ -569,7 +569,7 @@ void KLineal::mousePressEvent(TQMouseEvent *inEvent) {
mLastClickPos = TQCursor::pos();
hideLabel();
- TQRect gr = tqgeometry();
+ TQRect gr = geometry();
mDragOffset = mLastClickPos - TQPoint(gr.left(), gr.top());
if (inEvent->button() == Qt::LeftButton) {
if (!mDragging) {