summaryrefslogtreecommitdiffstats
path: root/src/likeback.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/likeback.cpp')
-rw-r--r--src/likeback.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/likeback.cpp b/src/likeback.cpp
index e1ba649..b081031 100644
--- a/src/likeback.cpp
+++ b/src/likeback.cpp
@@ -125,7 +125,7 @@ void LikeBackBar::autoMove()
{
static TQWidget *lastWindow = 0;
- TQWidget *window = TQT_TQWIDGET(kapp->activeWindow());
+ TQWidget *window = kapp->activeWindow();
// When a Kicker applet has the focus, like the Commandline TQLineEdit,
// the systemtray icon indicates to be the current window and the LikeBack is shown next to the system tray icon.
// It's obviously bad ;-) :
@@ -491,7 +491,7 @@ TQString LikeBack::activeWindowPath()
{
// Compute the window hierarchy (from the latest to the oldest):
TQStringList windowNames;
- TQWidget *window = TQT_TQWIDGET(kapp->activeWindow());
+ TQWidget *window = kapp->activeWindow();
while (window) {
TQString name = window->name();
// Append the class name to the window name if it is unnamed:
@@ -559,7 +559,7 @@ void LikeBack::askEmailAddress()
"<p><b>" + i18n("Please provide your email address.") + "</b></p>" +
"<p>" + i18n("It will only be used to contact you back if more information is needed about your comments, ask you how to reproduce the bugs you report, send bug corrections for you to test, etc.") + "</p>" +
"<p>" + i18n("The email address is optional. If you do not provide any, your comments will be sent anonymously.") + "</p>",
- currentEmailAddress, &ok, TQT_TQWIDGET(kapp->activeWindow()), /*name=*/(const char*)0, &emailValidator);
+ currentEmailAddress, &ok, kapp->activeWindow(), /*name=*/(const char*)0, &emailValidator);
enableBar();
if (ok)
@@ -632,7 +632,7 @@ void LikeBack::fetchUserEmail()
LikeBackDialog::LikeBackDialog(LikeBack::Button reason, const TQString &initialComment, const TQString &windowPath, const TQString &context, LikeBack *likeBack)
: KDialogBase(KDialogBase::Swallow, i18n("Send a Comment to Developers"), KDialogBase::Ok | KDialogBase::Cancel | KDialogBase::Default,
- KDialogBase::Ok, TQT_TQWIDGET(kapp->activeWindow()), /*name=*/"_likeback_feedback_window_", /*modal=*/true, /*separator=*/true)
+ KDialogBase::Ok, kapp->activeWindow(), /*name=*/"_likeback_feedback_window_", /*modal=*/true, /*separator=*/true)
, m_likeBack(likeBack)
, m_windowPath(windowPath)
, m_context(context)