diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 19:58:03 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 19:58:03 +0000 |
commit | 598cf55c6eb7cbae4df369ba3260258c15541810 (patch) | |
tree | b09c6950e434b5f72ad7c213f99da6595bd89209 /kcalc/kcalcdisplay.cpp | |
parent | 36ec355dd1df80f3270e1946d8c1a1c9d1c25e1e (diff) | |
download | tdeutils-598cf55c6eb7cbae4df369ba3260258c15541810.tar.gz tdeutils-598cf55c6eb7cbae4df369ba3260258c15541810.zip |
Fix kdeutils Qt4 FTBFS
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1238346 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcalc/kcalcdisplay.cpp')
-rw-r--r-- | kcalc/kcalcdisplay.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kcalc/kcalcdisplay.cpp b/kcalc/kcalcdisplay.cpp index fb0595e..bc87197 100644 --- a/kcalc/kcalcdisplay.cpp +++ b/kcalc/kcalcdisplay.cpp @@ -123,7 +123,7 @@ void KCalcDisplay::slotPaste(bool bClipboard) tmp_str = tmp_str.stripWhiteSpace(); - if (tmp_str.startsWith("0x", false)) + if (tmp_str.tqstartsWith("0x", false)) tmp_num_base = NB_HEX; if (tmp_num_base != NB_DECIMAL) @@ -150,7 +150,7 @@ void KCalcDisplay::slotPaste(bool bClipboard) void KCalcDisplay::slotDisplaySelected(void) { - if(_button == LeftButton) { + if(_button == Qt::LeftButton) { if(_lit) { slotCopy(); selection_timer->start(100); @@ -182,11 +182,11 @@ void KCalcDisplay::invertColors() void KCalcDisplay::mousePressEvent(TQMouseEvent *e) { - if(e->button() == LeftButton) { + if(e->button() == Qt::LeftButton) { _lit = !_lit; - _button = LeftButton; + _button = Qt::LeftButton; } else { - _button = MidButton; + _button = Qt::MidButton; } emit clicked(); |