summaryrefslogtreecommitdiffstats
path: root/src/pref.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
commit0d5a05983c0c2ba7a51bdeb1688dc232bacfa8ff (patch)
tree26e2e13d9f08727aa60872c0536662f8b2b5bf56 /src/pref.cpp
parent656e74dad5d31c4cc3eebdab9f58c679cfcc1ab0 (diff)
downloadkmplayer-0d5a05983c0c2ba7a51bdeb1688dc232bacfa8ff.tar.gz
kmplayer-0d5a05983c0c2ba7a51bdeb1688dc232bacfa8ff.zip
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmplayer@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/pref.cpp')
-rw-r--r--src/pref.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/pref.cpp b/src/pref.cpp
index 670f4aa..c20ee14 100644
--- a/src/pref.cpp
+++ b/src/pref.cpp
@@ -139,15 +139,15 @@ KDE_NO_EXPORT void Preferences::setPage (const char * name) {
TQObject * o = child (name, TQFRAME_OBJECT_NAME_STRING);
if (!o) return;
TQFrame * page = static_cast <TQFrame *> (TQT_TQWIDGET(o));
- TQWidget * w = page->tqparentWidget ();
+ TQWidget * w = page->parentWidget ();
while (w && !w->inherits (TQTABWIDGET_OBJECT_NAME_STRING))
- w = w->tqparentWidget ();
+ w = w->parentWidget ();
if (!w) return;
TQTabWidget * t = static_cast <TQTabWidget*> (w);
t->setCurrentPage (t->indexOf(page));
- if (!t->tqparentWidget() || !t->tqparentWidget()->inherits (TQFRAME_OBJECT_NAME_STRING))
+ if (!t->parentWidget() || !t->parentWidget()->inherits (TQFRAME_OBJECT_NAME_STRING))
return;
- showPage (pageIndex (t->tqparentWidget ()));
+ showPage (pageIndex (t->parentWidget ()));
}
KDE_NO_EXPORT void Preferences::addPrefPage (PreferencesPage * page) {
@@ -188,9 +188,9 @@ KDE_NO_EXPORT void Preferences::removePrefPage(PreferencesPage * page) {
break;
}
if (!tab->count ()) {
- TQWidget * w = tab->tqparentWidget ();
+ TQWidget * w = tab->parentWidget ();
while (w && !w->inherits (TQFRAME_OBJECT_NAME_STRING))
- w = w->tqparentWidget ();
+ w = w->parentWidget ();
delete w;
entries.erase (en_it);
}