diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-16 19:02:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-16 19:02:47 +0000 |
commit | e985f7e545f4739493965aad69bbecb136dc9346 (patch) | |
tree | 54afd409d8acd6202dd8ab611d24e78c28e4c0a0 /quanta/dialogs/tagdialogs/tagimgdlg.cpp | |
parent | f7670c198945adc3b95ad69a959fe5f8ae55b493 (diff) | |
download | tdewebdev-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 'quanta/dialogs/tagdialogs/tagimgdlg.cpp')
-rw-r--r-- | quanta/dialogs/tagdialogs/tagimgdlg.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/quanta/dialogs/tagdialogs/tagimgdlg.cpp b/quanta/dialogs/tagdialogs/tagimgdlg.cpp index 9448f48d..b8f08324 100644 --- a/quanta/dialogs/tagdialogs/tagimgdlg.cpp +++ b/quanta/dialogs/tagdialogs/tagimgdlg.cpp @@ -35,8 +35,8 @@ #include "tagimgdlg.moc" -TagImgDlg::TagImgDlg(const DTDStruct *dtd, TQWidget *parent, const char *name) - : TQWidget(parent,name), TagWidget(parent,name) +TagImgDlg::TagImgDlg(const DTDStruct *dtd, TQWidget *tqparent, const char *name) + : TQWidget(tqparent,name), TagWidget(TQT_TQOBJECT(tqparent),name) { m_dtd = dtd; img = 0L; @@ -108,7 +108,7 @@ void TagImgDlg::slotFileSelect() if ( !url.isEmpty() ) { slotImageSet( url ); - url = QExtFileInfo::toRelative(url, baseURL); + url = TQExtFileInfo::toRelative(url, baseURL); lineImgSource->setText( url.path() ); } } @@ -145,26 +145,26 @@ void TagImgDlg::writeAttributes( TQDict<TQString> *d ) dict = d; TQString *t; // value of attr. - if (( t=d->find("src") )) + if (( t=d->tqfind("src") )) { lineImgSource->setText(*t); KURL url = baseURL; QuantaCommon::setUrl(url, *t); - url = QExtFileInfo::toAbsolute(url, baseURL); + url = TQExtFileInfo::toAbsolute(url, baseURL); slotImageSet( url ); } - if ( (t=d->find("alt")) ) + if ( (t=d->tqfind("alt")) ) setValue(*t, lineAltText); - if ( (t=d->find("width")) && lineWidth ) + if ( (t=d->tqfind("width")) && lineWidth ) setValue(*t, lineWidth); - if ( (t=d->find("height")) && lineHeight ) + if ( (t=d->tqfind("height")) && lineHeight ) setValue(*t, lineHeight); - if ( (t=d->find("hspace")) && lineHSpace) + if ( (t=d->tqfind("hspace")) && lineHSpace) setValue(*t, lineHSpace); - if ( (t=d->find("vspace")) && lineVSpace ) + if ( (t=d->tqfind("vspace")) && lineVSpace ) setValue(*t, lineVSpace); - if ( (t=d->find("align")) && comboAlign ) + if ( (t=d->tqfind("align")) && comboAlign ) setValue(*t, comboAlign); - if ( (t=d->find("border")) && spinBorder ) + if ( (t=d->tqfind("border")) && spinBorder ) setValue(*t, spinBorder); } |