diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:59:40 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:59:40 -0600 |
commit | 59a076e9336f1eebda8650437e6bc61077be1516 (patch) | |
tree | a2e4658f80b77270d84b50bd116f84eaea7efab0 /kteatime/toplevel.cpp | |
parent | 3ee504ecba6caf3c2609a8648fe3659f2b541544 (diff) | |
download | tdetoys-59a076e9336f1eebda8650437e6bc61077be1516.tar.gz tdetoys-59a076e9336f1eebda8650437e6bc61077be1516.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'kteatime/toplevel.cpp')
-rw-r--r-- | kteatime/toplevel.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kteatime/toplevel.cpp b/kteatime/toplevel.cpp index 4b27f30..5deb404 100644 --- a/kteatime/toplevel.cpp +++ b/kteatime/toplevel.cpp @@ -207,7 +207,7 @@ void TopLevel::resizeEvent ( TQResizeEvent * ) teaNotReadyPixmap = loadSizedIcon("tea_not_ready", width()); teaAnim1Pixmap = loadSizedIcon("tea_anim1", width()); teaAnim2Pixmap = loadSizedIcon("tea_anim2", width()); - tqrepaint(); + repaint(); } /** Handle mousePressEvent */ @@ -302,7 +302,7 @@ void TopLevel::timerEvent(TQTimerEvent *) menu->setItemChecked(current_selected, true); } - TQString teaMessage = i18n("The %1 is now ready!").tqarg(current_name); + TQString teaMessage = i18n("The %1 is now ready!").arg(current_name); // invoke action if (useNotify) { KNotifyClient::event(winId(), "tea", teaMessage); @@ -317,7 +317,7 @@ void TopLevel::timerEvent(TQTimerEvent *) teaMessage, teaAnim1Pixmap, this, "popup", 0); // FIXME: does auto-deletion work without timeout? setToolTip(teaMessage); - tqrepaint(); + repaint(); } else { // timer not yet run out; just update tray-icon (if configured)... if (useTrayVis) { @@ -325,18 +325,18 @@ void TopLevel::timerEvent(TQTimerEvent *) if (pDone - percentDone > 8) { // update icon not every second, but only if somewhat noticable percentDone = pDone; - tqrepaint(); + repaint(); } } // ...and Tooltip TQString min = int2time(seconds); - setToolTip(i18n("%1 left for %2").tqarg(min).tqarg(current_name)); + setToolTip(i18n("%1 left for %2").arg(min).arg(current_name)); } } else { // no tea is steeping; just animate icon if (ready) { firstFrame = !firstFrame; - tqrepaint(); + repaint(); } } } @@ -447,7 +447,7 @@ void TopLevel::start() ready = false; enable_menuEntries(); // disable "start", enable "stop" - tqrepaint(); + repaint(); } } @@ -467,7 +467,7 @@ void TopLevel::stop() } setToolTip(i18n("The Tea Cooker"), true); - tqrepaint(); + repaint(); } /* open dialog to start an 'anonymous' tea */ @@ -721,7 +721,7 @@ void TopLevel::config() rightside->addWidget(editgroup, 0, 0); TQHBox *propbox = new TQHBox(editgroup); - // FIXME: - must enforce correct vertical tqalignment of each label-editor pair + // FIXME: - must enforce correct vertical alignment of each label-editor pair // (better use one HBox for each label-editor pair?) TQVBox *propleft = new TQVBox(propbox); TQVBox *propright = new TQVBox(propbox); |