diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-01 13:17:52 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-01 13:17:52 -0600 |
commit | fcd6d02dc0202443468a21ac982c0f24a1265199 (patch) | |
tree | 5e3310de4c224a1e967b9b5d3a2e3690367fff15 /bibletime/frontend/mainindex | |
parent | a42abcb80abc3b4e0f468f4148e7e8c6575cb121 (diff) | |
download | bibletime-fcd6d02dc0202443468a21ac982c0f24a1265199.tar.gz bibletime-fcd6d02dc0202443468a21ac982c0f24a1265199.zip |
Rename additional global TQt functions
Diffstat (limited to 'bibletime/frontend/mainindex')
-rw-r--r-- | bibletime/frontend/mainindex/cindexitem.cpp | 14 | ||||
-rw-r--r-- | bibletime/frontend/mainindex/cmainindex.cpp | 6 |
2 files changed, 10 insertions, 10 deletions
diff --git a/bibletime/frontend/mainindex/cindexitem.cpp b/bibletime/frontend/mainindex/cindexitem.cpp index ff35466..f555e12 100644 --- a/bibletime/frontend/mainindex/cindexitem.cpp +++ b/bibletime/frontend/mainindex/cindexitem.cpp @@ -198,7 +198,7 @@ void CModuleItem::dropped( TQDropEvent* e, TQListViewItem* /*after*/) { CDragDropMgr::ItemList dndItems = CDragDropMgr::decode(e); CDragDropMgr::Item item = dndItems.first(); if (CDragDropMgr::dndType(e) == CDragDropMgr::Item::Text) { //open the searchdialog - // qWarning("Text dropped!"); + // tqWarning("Text dropped!"); if ( module() ) { ListCSwordModuleInfo modules; modules.append(module()); @@ -324,7 +324,7 @@ const TQString CBookmarkItem::toolTip() { Q_ASSERT(k.get()); if (fontPair.first) { //use a special font - qWarning("using a font, %s", TQString(fontPair.second.family()).latin1()); + tqWarning("using a font, %s", TQString(fontPair.second.family()).latin1()); ret = TQString::fromLatin1("<b>%1 (%2)</b><br/><small>%3</small><hr><font face=\"%4\" size=\"4\">%5</font>") .arg(key()) .arg(module()->name()) @@ -620,7 +620,7 @@ setText(0, !language().isEmpty() ? ( lang->isValid() ? lang->translatedName() : } void CTreeFolder::initTree() { - // qWarning("CTreeMgr::initTree"); + // tqWarning("CTreeMgr::initTree"); if (type() == Unknown) return; @@ -728,7 +728,7 @@ namespace Bookmarks { while ( (it_groups != groupList.end()) && (it_parents != parentList.end()) ) { TQDomElement parentElement = (*it_parents == -1) ? content : parentMap[*it_parents]; if (parentElement.isNull()) { - qWarning("EMPTY PARENT FOUND!"); + tqWarning("EMPTY PARENT FOUND!"); parentElement = content; }; @@ -761,7 +761,7 @@ namespace Bookmarks { ) { TQDomElement parentElement = ((*it_parents) == -1) ? content : parentMap[(*it_parents)]; if (parentElement.isNull()) { - qWarning("EMPTY PARENT FOUND!"); + tqWarning("EMPTY PARENT FOUND!"); parentElement = content; }; TQDomElement elem = doc.createElement("Bookmark"); @@ -989,7 +989,7 @@ void CBookmarkFolder::importBookmarks() { } bool CBookmarkFolder::acceptDrop(const TQMimeSource * src) const { - // qWarning("bool CBookmarkFolder::acceptDrop(const TQMimeSource * src): return%ii", (CDragDropMgr::canDecode(src) && (CDragDropMgr::dndType(src) == CDragDropMgr::Item::Bookmark))); + // tqWarning("bool CBookmarkFolder::acceptDrop(const TQMimeSource * src): return%ii", (CDragDropMgr::canDecode(src) && (CDragDropMgr::dndType(src) == CDragDropMgr::Item::Bookmark))); return CDragDropMgr::canDecode(src) && (CDragDropMgr::dndType(src) == CDragDropMgr::Item::Bookmark); @@ -1052,7 +1052,7 @@ const bool CBookmarkFolder::loadBookmarksFromXML( const TQString& xml ) { doc.setContent(xml); TQDomElement document = doc.documentElement(); if( document.tagName() != "SwordBookmarks" ) { - qWarning("Not a BibleTime Bookmark XML file"); + tqWarning("Not a BibleTime Bookmark XML file"); return false; } diff --git a/bibletime/frontend/mainindex/cmainindex.cpp b/bibletime/frontend/mainindex/cmainindex.cpp index 9558692..28beb6e 100644 --- a/bibletime/frontend/mainindex/cmainindex.cpp +++ b/bibletime/frontend/mainindex/cmainindex.cpp @@ -608,7 +608,7 @@ void CMainIndex::startDrag() { /** Reimplementation to support the items dragEnter and dragLeave functions. */ void CMainIndex::contentsDragMoveEvent( TQDragMoveEvent* event ) { - // qWarning("void CMainIndex:: drag move event ( TQDragLeaveEvent* e )"); + // tqWarning("void CMainIndex:: drag move event ( TQDragLeaveEvent* e )"); CItemBase* i = dynamic_cast<CItemBase*>( itemAt( contentsToViewport(event->pos())) ); if (i) { if (i->allowAutoOpen(event) || (i->acceptDrop(event) && i->isFolder() && i->allowAutoOpen(event) && !i->isOpen() && autoOpen()) ) { @@ -689,7 +689,7 @@ const bool CMainIndex::isMultiAction( const CItemBase::MenuAction type ) const { /** Is called when items should be moved. */ void CMainIndex::moved( TQPtrList<TQListViewItem>& /*items*/, TQPtrList<TQListViewItem>& /*afterFirst*/, TQPtrList<TQListViewItem>& /*afterNow*/) { - qDebug("move items"); + tqDebug("move items"); } /** Opens an editor window to edit the modules content. */ @@ -758,7 +758,7 @@ void CMainIndex::saveBookmarks() { } void CMainIndex::readSettings() { - qDebug("CMainIndex::readSettings"); + tqDebug("CMainIndex::readSettings"); TQStringList openGroups = CBTConfig::get(CBTConfig::bookshelfOpenGroups); for (TQStringList::Iterator it( openGroups.begin() ); it != openGroups.end(); ++it) { |