diff options
author | Michele Calgaro <[email protected]> | 2023-12-14 21:19:09 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-14 21:25:04 +0900 |
commit | 7b0920cd4180823f7a42350d1bdb914d697f4b9c (patch) | |
tree | 642d4c71c1e0b0a060be3119313c682943720363 /src/likeback.cpp | |
parent | 1a620eed38cfa429508f6ac347e09a694b4adf16 (diff) | |
download | basket-7b0920cd4180823f7a42350d1bdb914d697f4b9c.tar.gz basket-7b0920cd4180823f7a42350d1bdb914d697f4b9c.zip |
Remove various '#define' strings - part 6
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/likeback.cpp')
-rw-r--r-- | src/likeback.cpp | 8 |
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) |