summaryrefslogtreecommitdiffstats
path: root/kcalc/kcalcdisplay.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kcalc/kcalcdisplay.cpp')
-rw-r--r--kcalc/kcalcdisplay.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kcalc/kcalcdisplay.cpp b/kcalc/kcalcdisplay.cpp
index a335458..1c620b0 100644
--- a/kcalc/kcalcdisplay.cpp
+++ b/kcalc/kcalcdisplay.cpp
@@ -150,7 +150,7 @@ void KCalcDisplay::slotPaste(bool bClipboard)
void KCalcDisplay::slotDisplaySelected(void)
{
- if(_button == Qt::LeftButton) {
+ if(_button == TQt::LeftButton) {
if(_lit) {
slotCopy();
selection_timer->start(100);
@@ -182,11 +182,11 @@ void KCalcDisplay::invertColors()
void KCalcDisplay::mousePressEvent(TQMouseEvent *e)
{
- if(e->button() == Qt::LeftButton) {
+ if(e->button() == TQt::LeftButton) {
_lit = !_lit;
- _button = Qt::LeftButton;
+ _button = TQt::LeftButton;
} else {
- _button = Qt::MidButton;
+ _button = TQt::MidButton;
}
emit clicked();