summaryrefslogtreecommitdiffstats
path: root/kimagemapeditor/imageslistview.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
commite985f7e545f4739493965aad69bbecb136dc9346 (patch)
tree54afd409d8acd6202dd8ab611d24e78c28e4c0a0 /kimagemapeditor/imageslistview.cpp
parentf7670c198945adc3b95ad69a959fe5f8ae55b493 (diff)
downloadtdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.tar.gz
tdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.zip
TQt4 port kdewebdev
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237029 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kimagemapeditor/imageslistview.cpp')
-rw-r--r--kimagemapeditor/imageslistview.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kimagemapeditor/imageslistview.cpp b/kimagemapeditor/imageslistview.cpp
index 7db15e1e..b7d50b26 100644
--- a/kimagemapeditor/imageslistview.cpp
+++ b/kimagemapeditor/imageslistview.cpp
@@ -26,8 +26,8 @@
// locale
#include "imageslistview.h"
-ImagesListViewItem::ImagesListViewItem(ImagesListView* parent, ImageTag* tag)
- : TQListViewItem(parent)
+ImagesListViewItem::ImagesListViewItem(ImagesListView* tqparent, ImageTag* tag)
+ : TQListViewItem(tqparent)
{
_imageTag = tag;
update();
@@ -37,10 +37,10 @@ ImagesListViewItem::ImagesListViewItem(ImagesListView* parent, ImageTag* tag)
void ImagesListViewItem::update() {
TQString src="";
TQString usemap="";
- if (_imageTag->find("src"))
- src=*_imageTag->find("src");
- if (_imageTag->find("usemap"))
- usemap=*_imageTag->find("usemap");
+ if (_imageTag->tqfind("src"))
+ src=*_imageTag->tqfind("src");
+ if (_imageTag->tqfind("usemap"))
+ usemap=*_imageTag->tqfind("usemap");
setText(0,src);
setText(1,usemap);
@@ -51,8 +51,8 @@ ImageTag* ImagesListViewItem::imageTag() {
}
-ImagesListView::ImagesListView(TQWidget *parent, const char *name)
- : KListView(parent, name)
+ImagesListView::ImagesListView(TQWidget *tqparent, const char *name)
+ : KListView(tqparent, name)
{
addColumn(i18n("Images"));
addColumn(i18n("Usemap"));