summaryrefslogtreecommitdiffstats
path: root/src/libgui/likeback.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libgui/likeback.cpp')
-rw-r--r--src/libgui/likeback.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libgui/likeback.cpp b/src/libgui/likeback.cpp
index 4a440b9..02e2fc4 100644
--- a/src/libgui/likeback.cpp
+++ b/src/libgui/likeback.cpp
@@ -131,7 +131,7 @@ void LikeBack::doNotHelpAnymore()
{
disable();
int result = KMessageBox::questionYesNo(
- TQT_TQWIDGET(kapp->activeWindow()),
+ kapp->activeWindow(),
i18n("Are you sure you do not want to participate anymore in the application enhancing program?"),
i18n("Do not Help Anymore"));
if (result == KMessageBox::No) {
@@ -276,7 +276,7 @@ void LikeBack::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 ;-) :
@@ -322,7 +322,7 @@ void LikeBack::configure()
TQString LikeBack::activeWindowPath()
{
TQStringList windowNames;
- TQWidget *window = TQT_TQWIDGET(kapp->activeWindow());
+ TQWidget *window = kapp->activeWindow();
while (window) {
TQString name = window->name();
if (name == "unnamed")
@@ -386,7 +386,7 @@ void LikeBack::askEMail()
//TQString namedMailExpString = "[.]*[ \\t]+<" + mailExpString + ">";
//TQRegExp mailExp("^(|" + mailExpString + "|" + namedMailExpString + ")$");
TQRegExp mailExp("^(|" + mailExpString + ")$");
- TQRegExpValidator emailValidator(mailExp, TQT_TQOBJECT(this));
+ TQRegExpValidator emailValidator(mailExp, this);
disable();
TQString email = KInputDialog::getText(
@@ -396,7 +396,7 @@ void LikeBack::askEMail()
"<p>" + i18n("The email address is optional. If you do not provide any, your comments will be sent anonymously. Just click OK in that case.") + "</p>" +
"<p>" + i18n("You can change or remove your email address whenever you want. For that, use the little arrow icon at the top-right corner of a window.") + "</p>" +
"<p>" + i18n("Your email address (keep empty to post comments anonymously):"),
- currentEMailAddress, &ok, TQT_TQWIDGET(kapp->activeWindow()), /*name=*/(const char*)0, &emailValidator);
+ currentEMailAddress, &ok, kapp->activeWindow(), /*name=*/(const char*)0, &emailValidator);
enable();
if (ok)
@@ -503,7 +503,7 @@ void LikeBack::endFetchingEmailFrom()
/** class LikeBackDialog: */
LikeBackDialog::LikeBackDialog(LikeBack::Button reason, TQString windowName, TQString context)
- : KDialog(TQT_TQWIDGET(kapp->activeWindow()), "_likeback_feedback_window_")
+ : KDialog(kapp->activeWindow(), "_likeback_feedback_window_")
, m_reason(reason)
, m_windowName(windowName)
, m_context(context)