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/utility/tagactionmanager.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/utility/tagactionmanager.cpp')
-rw-r--r-- | quanta/utility/tagactionmanager.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/quanta/utility/tagactionmanager.cpp b/quanta/utility/tagactionmanager.cpp index 3733aaaf..b11525ec 100644 --- a/quanta/utility/tagactionmanager.cpp +++ b/quanta/utility/tagactionmanager.cpp @@ -54,18 +54,18 @@ TagActionManager* TagActionManager::self() return s_mSelf; } -void TagActionManager::initActions(TQWidget* parent) +void TagActionManager::initActions(TQWidget* tqparent) { - Q_ASSERT(parent); + Q_ASSERT(tqparent); - m_actionCollection = new KActionCollection(parent); + m_actionCollection = new KActionCollection(tqparent); TagActionSet* general(new TagActionSet()); - general->initActions(parent); + general->initActions(tqparent); m_tagActionSets.append(general); TableTagActionSet* table(new TableTagActionSet()); - table->initActions(parent); + table->initActions(tqparent); m_tagActionSets.append(table); } @@ -78,6 +78,6 @@ void TagActionManager::fillWithTagActions(TQWidget* widget, DOM::Node const& nod bool TagActionManager::canIndentDTD(TQString const& dtd) { - return (dtd.contains("HTML", false) || - dtd.contains("XML", false)); + return (dtd.tqcontains("HTML", false) || + dtd.tqcontains("XML", false)); } |