summaryrefslogtreecommitdiffstats
path: root/khelpcenter/navigatorappitem.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /khelpcenter/navigatorappitem.cpp
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khelpcenter/navigatorappitem.cpp')
-rw-r--r--khelpcenter/navigatorappitem.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/khelpcenter/navigatorappitem.cpp b/khelpcenter/navigatorappitem.cpp
index ca1dabe1f..f22a0064d 100644
--- a/khelpcenter/navigatorappitem.cpp
+++ b/khelpcenter/navigatorappitem.cpp
@@ -26,8 +26,8 @@
using namespace KHC;
-NavigatorAppItem::NavigatorAppItem( DocEntry *entry, QListView *parent,
- const QString &relPath )
+NavigatorAppItem::NavigatorAppItem( DocEntry *entry, TQListView *parent,
+ const TQString &relPath )
: NavigatorItem( entry, parent ),
mRelpath( relPath ),
mPopulated( false )
@@ -35,8 +35,8 @@ NavigatorAppItem::NavigatorAppItem( DocEntry *entry, QListView *parent,
setExpandable( true );
}
-NavigatorAppItem::NavigatorAppItem( DocEntry *entry, QListViewItem *parent,
- const QString &relPath )
+NavigatorAppItem::NavigatorAppItem( DocEntry *entry, TQListViewItem *parent,
+ const TQString &relPath )
: NavigatorItem( entry, parent ),
mRelpath( relPath ),
mPopulated( false )
@@ -44,23 +44,23 @@ NavigatorAppItem::NavigatorAppItem( DocEntry *entry, QListViewItem *parent,
setExpandable( true );
}
-NavigatorAppItem::NavigatorAppItem( DocEntry *entry, QListView *parent,
- QListViewItem *after )
+NavigatorAppItem::NavigatorAppItem( DocEntry *entry, TQListView *parent,
+ TQListViewItem *after )
: NavigatorItem( entry, parent, after ),
mPopulated( false )
{
setExpandable( true );
}
-NavigatorAppItem::NavigatorAppItem( DocEntry *entry, QListViewItem *parent,
- QListViewItem *after )
+NavigatorAppItem::NavigatorAppItem( DocEntry *entry, TQListViewItem *parent,
+ TQListViewItem *after )
: NavigatorItem( entry, parent, after ),
mPopulated( false )
{
setExpandable( true );
}
-void NavigatorAppItem::setRelpath( const QString &relpath )
+void NavigatorAppItem::setRelpath( const TQString &relpath )
{
mRelpath = relpath;
}
@@ -75,7 +75,7 @@ void NavigatorAppItem::setOpen(bool open)
<< mRelpath << ")" << endl;
populate();
}
- QListViewItem::setOpen(open);
+ TQListViewItem::setOpen(open);
}
void NavigatorAppItem::populate( bool recursive )
@@ -97,7 +97,7 @@ void NavigatorAppItem::populate( bool recursive )
KService::Ptr s;
NavigatorItem *item;
KServiceGroup::Ptr g;
- QString url;
+ TQString url;
switch ( e->sycocaType() ) {
case KST_KService:
@@ -132,16 +132,16 @@ void NavigatorAppItem::populate( bool recursive )
mPopulated = true;
}
-QString NavigatorAppItem::documentationURL( KService *s )
+TQString NavigatorAppItem::documentationURL( KService *s )
{
- QString docPath = s->property( "DocPath" ).toString();
+ TQString docPath = s->property( "DocPath" ).toString();
if ( docPath.isEmpty() )
- return QString::null;
+ return TQString::null;
if ( docPath.startsWith( "file:") || docPath.startsWith( "http:" ) )
return docPath;
- return QString( "help:/" ) + docPath;
+ return TQString( "help:/" ) + docPath;
}
// vim:ts=2:sw=2:et