diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-11 06:00:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-11 06:00:15 +0000 |
commit | b1057f437bf65300831a0ccb45b920787c6b318d (patch) | |
tree | f8a73db06ca1180d0da0ba6dfbe786197b4f4bc3 /noatun/library/mimetypetree.cpp | |
parent | 4ddfca384ced9ad654213aef9dc2c3973720b980 (diff) | |
download | tdemultimedia-b1057f437bf65300831a0ccb45b920787c6b318d.tar.gz tdemultimedia-b1057f437bf65300831a0ccb45b920787c6b318d.zip |
TQt4 port kdemultimedia
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1236079 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'noatun/library/mimetypetree.cpp')
-rw-r--r-- | noatun/library/mimetypetree.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/noatun/library/mimetypetree.cpp b/noatun/library/mimetypetree.cpp index 0370b048..a63b49f6 100644 --- a/noatun/library/mimetypetree.cpp +++ b/noatun/library/mimetypetree.cpp @@ -4,8 +4,8 @@ #include <tqheader.h> -MimeTypeTree::MimeTypeTree(TQWidget *parent) - : KListView(parent) +MimeTypeTree::MimeTypeTree(TQWidget *tqparent) + : KListView(tqparent) { KMimeType::List list=KMimeType::allMimeTypes(); TQDict<TQListViewItem> map; @@ -17,7 +17,7 @@ MimeTypeTree::MimeTypeTree(TQWidget *parent) for (; i != list.end(); ++i) { TQString mimetype = (*i)->name(); - int slash = mimetype.find("/"); + int slash = mimetype.tqfind("/"); TQString major = mimetype.left(slash); // hide all and inode majors @@ -38,7 +38,7 @@ MimeTypeTree::MimeTypeTree(TQWidget *parent) void MimeTypeTree::sel(TQListViewItem *item) { - TQListViewItem *p=item->parent(); + TQListViewItem *p=item->tqparent(); if (!p) return; TQString major=p->text(0); TQString minor=item->text(0); |