summaryrefslogtreecommitdiffstats
path: root/kdeui/kwhatsthismanager.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-13 08:32:36 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-13 08:32:36 +0000
commitf7e71d47719ab6094cf4a9fafffa5ea351973522 (patch)
tree30834aa632d442019e14f88685001d94657d060b /kdeui/kwhatsthismanager.cpp
parentb31cfd9a1ee986fe2ae9a693f3afd7f171dd897c (diff)
downloadtdelibs-f7e71d47719ab6094cf4a9fafffa5ea351973522.tar.gz
tdelibs-f7e71d47719ab6094cf4a9fafffa5ea351973522.zip
Initial conversion for TQt for Qt4 3.4.0 TP2
This will also compile with TQt for Qt3, and should not cause any problems with dependent modules such as kdebase. If it does then it needs to be fixed! git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214149 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeui/kwhatsthismanager.cpp')
-rw-r--r--kdeui/kwhatsthismanager.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kdeui/kwhatsthismanager.cpp b/kdeui/kwhatsthismanager.cpp
index a2f3cf0f6..0ec05e5c4 100644
--- a/kdeui/kwhatsthismanager.cpp
+++ b/kdeui/kwhatsthismanager.cpp
@@ -26,7 +26,7 @@
KWhatsThisManager *KWhatsThisManager::s_instance = 0;
-class KWhatsThisUndefined : public QWhatsThis
+class KWhatsThisUndefined : public TQWhatsThis
{
public:
KWhatsThisUndefined (TQWidget *);
@@ -52,8 +52,8 @@ TQString KWhatsThisUndefined::text (const TQPoint &)
" describe the widget, you are welcome to <a href=\"submit"
"-whatsthis\">send us your own \"What's This?\" help</a> for it.");
TQString parent;
- if (m_widget -> parentWidget ())
- parent = TQWhatsThis::textFor (m_widget -> parentWidget ());
+ if (m_widget -> tqparentWidget ())
+ parent = TQWhatsThis::textFor (m_widget -> tqparentWidget ());
if (parent != txt)
if (! parent . isEmpty ())
return parent;
@@ -68,11 +68,11 @@ bool KWhatsThisUndefined::clicked (const TQString& href)
body . append ("Widget text: '" + (m_widget -> property ("text") . toString ()) + "'\n");
TQString dsc = TQString ("current --> ") + m_widget -> name ();
dsc . append (TQString (" (") + m_widget -> className () + ")\n");
- for (w = m_widget; w && w != m_widget -> topLevelWidget (); w = w -> parentWidget ()) {
+ for (w = m_widget; w && w != m_widget -> tqtopLevelWidget (); w = w -> tqparentWidget ()) {
dsc . append (w -> name ());
dsc . append (TQString (" (") + w -> className () + ")\n");
}
- w = m_widget -> topLevelWidget ();
+ w = m_widget -> tqtopLevelWidget ();
if (w) {
dsc . append ("toplevel --> ");
dsc . append (w -> name ());
@@ -80,7 +80,7 @@ bool KWhatsThisUndefined::clicked (const TQString& href)
}
body . append (dsc);
TQString subj ("What's This submission: ");
- subj . append (qApp -> argv () [0]);
+ subj . append (tqApp -> argv () [0]);
body . append ("\nPlease type in your what's this help between these lines: "
"\n--%-----------------------------------------------------------------------\n"
"\n--%-----------------------------------------------------------------------");
@@ -99,7 +99,7 @@ void KWhatsThisManager::init ()
KWhatsThisManager::KWhatsThisManager ()
{
// go away...
- // qApp -> installEventFilter (this);
+ // tqApp -> installEventFilter (this);
}
bool KWhatsThisManager::eventFilter (TQObject * /*o*/, TQEvent *e)