Browse Source

Rename additional global TQt functions

Timothy Pearson 7 years ago
parent
commit
fcd6d02dc0
57 changed files with 186 additions and 186 deletions
  1. 2
    2
      bibletime/backend/bt_gbfhtml.cpp
  2. 4
    4
      bibletime/backend/bt_osishtml.cpp
  3. 2
    2
      bibletime/backend/cdisplayrendering.cpp
  4. 3
    3
      bibletime/backend/cdisplaytemplatemgr.cpp
  5. 3
    3
      bibletime/backend/chtmlexportrendering.cpp
  6. 4
    4
      bibletime/backend/creferencemanager.cpp
  7. 3
    3
      bibletime/backend/cswordbackend.cpp
  8. 1
    1
      bibletime/backend/cswordbiblemoduleinfo.cpp
  9. 1
    1
      bibletime/backend/cswordcommentarymoduleinfo.cpp
  10. 2
    2
      bibletime/backend/cswordkey.cpp
  11. 1
    1
      bibletime/backend/cswordldkey.h
  12. 8
    8
      bibletime/backend/cswordlexiconmoduleinfo.cpp
  13. 9
    9
      bibletime/backend/cswordmoduleinfo.cpp
  14. 1
    1
      bibletime/backend/cswordmodulesearch.cpp
  15. 1
    1
      bibletime/backend/ctextrendering.cpp
  16. 11
    11
      bibletime/bibletime_dcop.cpp
  17. 2
    2
      bibletime/bibletime_init.cpp
  18. 1
    1
      bibletime/bibletime_slots.cpp
  19. 5
    5
      bibletime/frontend/btinstallmgr.cpp
  20. 2
    2
      bibletime/frontend/cbtconfig.cpp
  21. 8
    8
      bibletime/frontend/cdragdropmgr.cpp
  22. 6
    6
      bibletime/frontend/cinfodisplay.cpp
  23. 3
    3
      bibletime/frontend/cmdiarea.cpp
  24. 5
    5
      bibletime/frontend/cmoduleindexdialog.cpp
  25. 2
    2
      bibletime/frontend/coptionsdialog.cpp
  26. 2
    2
      bibletime/frontend/cprofile.cpp
  27. 2
    2
      bibletime/frontend/crossrefrendering.cpp
  28. 16
    16
      bibletime/frontend/cswordsetupdialog.cpp
  29. 4
    4
      bibletime/frontend/display/cdisplay.cpp
  30. 2
    2
      bibletime/frontend/display/chtmlreaddisplay.cpp
  31. 1
    1
      bibletime/frontend/display/chtmlwritedisplay.cpp
  32. 1
    1
      bibletime/frontend/display/cplainwritedisplay.cpp
  33. 5
    5
      bibletime/frontend/displaywindow/cbiblereadwindow.cpp
  34. 1
    1
      bibletime/frontend/displaywindow/cbuttons.cpp
  35. 4
    4
      bibletime/frontend/displaywindow/cdisplaywindow.cpp
  36. 3
    3
      bibletime/frontend/displaywindow/clexiconreadwindow.cpp
  37. 1
    1
      bibletime/frontend/displaywindow/cmodulechooserbutton.cpp
  38. 1
    1
      bibletime/frontend/displaywindow/cplainwritewindow.cpp
  39. 3
    3
      bibletime/frontend/displaywindow/creadwindow.cpp
  40. 2
    2
      bibletime/frontend/displaywindow/cwritewindow.cpp
  41. 1
    1
      bibletime/frontend/keychooser/cbiblekeychooser.cpp
  42. 3
    3
      bibletime/frontend/keychooser/cbookkeychooser.cpp
  43. 5
    5
      bibletime/frontend/keychooser/cbooktreechooser.cpp
  44. 5
    5
      bibletime/frontend/keychooser/ckeychooser.cpp
  45. 4
    4
      bibletime/frontend/keychooser/ckeychooserwidget.cpp
  46. 6
    6
      bibletime/frontend/keychooser/clexiconkeychooser.cpp
  47. 1
    1
      bibletime/frontend/kstartuplogo.cpp
  48. 7
    7
      bibletime/frontend/mainindex/cindexitem.cpp
  49. 3
    3
      bibletime/frontend/mainindex/cmainindex.cpp
  50. 2
    2
      bibletime/frontend/searchdialog/cmodulechooser.cpp
  51. 2
    2
      bibletime/frontend/searchdialog/crangechooser.cpp
  52. 1
    1
      bibletime/frontend/searchdialog/csearchdialog.cpp
  53. 1
    1
      bibletime/frontend/searchdialog/csearchdialogpages.cpp
  54. 1
    1
      bibletime/frontend/searchdialog/csearchresultview.cpp
  55. 1
    1
      bibletime/main.cpp
  56. 1
    1
      bibletime/util/ctoolclass.cpp
  57. 4
    4
      bibletime/util/directoryutil.cpp

+ 2
- 2
bibletime/backend/bt_gbfhtml.cpp View File

@@ -134,7 +134,7 @@ char BT_GBFHTML::processText(sword::SWBuf& buf, const sword::SWKey * key, const
134 134
 
135 135
 	for (TQStringList::iterator it = list.begin(); it != list.end(); ++it) {
136 136
 		TQString e = (*it); //current entry to process
137
- 		//qWarning(e.latin1());
137
+ 		//tqWarning(e.latin1());
138 138
 		
139 139
 		//check if there is a word to which the strongs info belongs to.
140 140
 		//If yes, wrap that word with the strongs info
@@ -262,7 +262,7 @@ bool BT_GBFHTML::handleToken(sword::SWBuf &buf, const char *token, sword::BasicF
262 262
 			//we use several append calls because appendFormatted slows down filtering, which should be fast
263 263
 
264 264
 			if (myUserData->hasFootnotePreTag) {
265
-				//     qWarning("inserted footnotepre end");
265
+				//     tqWarning("inserted footnotepre end");
266 266
 				buf.append("</span>");
267 267
 				myUserData->hasFootnotePreTag = false;
268 268
 			}

+ 4
- 4
bibletime/backend/bt_osishtml.cpp View File

@@ -72,7 +72,7 @@ bool BT_OSISHTML::handleToken(sword::SWBuf &buf, const char *token, sword::Basic
72 72
 		sword::SWModule* myModule = const_cast<sword::SWModule*>(myUserData->module); //hack
73 73
 
74 74
 		XMLTag tag(token);
75
-		//     qWarning("found %s", token);
75
+		//     tqWarning("found %s", token);
76 76
 		const bool osisTQToTick = ((!userData->module->getConfigEntry("OSISqToTick")) || (strcmp(userData->module->getConfigEntry("OSISqToTick"), "false")));
77 77
 
78 78
 		if (!tag.getName()) {
@@ -285,14 +285,14 @@ bool BT_OSISHTML::handleToken(sword::SWBuf &buf, const char *token, sword::Basic
285 285
 					myUserData->noteType = BT_UserData::StrongsMarkup;
286 286
 				}
287 287
 				else if (type == "alternative") {
288
-					//      qWarning("found alternative");
288
+					//      tqWarning("found alternative");
289 289
 					//       buf.append(" <span class=\"alternative\">");
290 290
 					myUserData->noteType = BT_UserData::Alternative;
291 291
 					myUserData->suspendTextPassThru = true;
292 292
 					myUserData->swordFootnote++; // count as notes, too
293 293
 				}
294 294
 				else {
295
-					//           qWarning("found note in %s", myUserData->key->getShortText());
295
+					//           tqWarning("found note in %s", myUserData->key->getShortText());
296 296
 					buf.append(" <span class=\"footnote\" note=\"");
297 297
 					buf.append(myModule->Name());
298 298
 					buf.append('/');
@@ -599,7 +599,7 @@ bool BT_OSISHTML::handleToken(sword::SWBuf &buf, const char *token, sword::Basic
599 599
 			else { // seg end tag
600 600
 				buf.append("</span>");
601 601
 			}
602
-			//qWarning(TQString("handled <seg> token. result: %1").arg(buf.c_str()).latin1());
602
+			//tqWarning(TQString("handled <seg> token. result: %1").arg(buf.c_str()).latin1());
603 603
 		}
604 604
 		
605 605
 		//divine name, don't use simple tag replacing because it may have attributes

+ 2
- 2
bibletime/backend/cdisplayrendering.cpp View File

@@ -120,10 +120,10 @@ namespace Rendering {
120 120
 		 int pos = text.find(re, 0);
121 121
 
122 122
 		 while (pos != -1) { //word begin found
123
-		  //qWarning("found word at %i in %i", pos, text.length());
123
+		  //tqWarning("found word at %i in %i", pos, text.length());
124 124
 		  int endPos = pos + 1;
125 125
 		  if (!CToolClass::inHTMLTag(pos+1, text)) { //the re has a positive look ahead which matches one char before the word start
126
-		   //qWarning("matched %s", text.mid(pos+1, 4).latin1());
126
+		   //tqWarning("matched %s", text.mid(pos+1, 4).latin1());
127 127
 
128 128
 		   //find end of word and put a marker around it
129 129
 		   endPos = text.find(TQRegExp("\\b|[,.:]"), pos+1);

+ 3
- 3
bibletime/backend/cdisplaytemplatemgr.cpp View File

@@ -143,7 +143,7 @@ const TQString CDisplayTemplateMgr::fillTemplate( const TQString& name, const TQ
143 143
 		);
144 144
 	}
145 145
 
146
-// 	qWarning("Outputing unformated text");
146
+// 	tqWarning("Outputing unformated text");
147 147
 	const TQString t = TQString(m_templateMap[ templateName ]) //don't change the map's content directly, use  a copy
148 148
 	 		.replace("#TITLE#", settings.title)
149 149
 	 		.replace("#LANG_ABBREV#", settings.langAbbrev.isEmpty() ? TQString("en") : settings.langAbbrev)
@@ -168,11 +168,11 @@ const TQString CDisplayTemplateMgr::fillTemplate( const TQString& name, const TQ
168 168
     \fn CDisplayTemplateMgr::loadUserTemplates
169 169
  */
170 170
 void CDisplayTemplateMgr::loadUserTemplates() {
171
-	qDebug("Loading user templates");
171
+	tqDebug("Loading user templates");
172 172
 	TQStringList files = KGlobal::dirs()->findAllResources("BT_DisplayTemplates");
173 173
 
174 174
 	for ( TQStringList::iterator it( files.begin() ); it != files.end(); ++it) {
175
-		qDebug("Found user template %s", (*it).latin1());
175
+		tqDebug("Found user template %s", (*it).latin1());
176 176
 
177 177
 		TQFile f( *it );
178 178
 		Q_ASSERT( f.exists() );

+ 3
- 3
bibletime/backend/chtmlexportrendering.cpp View File

@@ -36,7 +36,7 @@ namespace Rendering {
36 36
 	CHTMLExportRendering::~CHTMLExportRendering() {}
37 37
 
38 38
 	const TQString CHTMLExportRendering::renderEntry( const KeyTreeItem& i, CSwordKey* k) {
39
-		//  qDebug("CHTMLExportRendering::renderEntry");
39
+		//  tqDebug("CHTMLExportRendering::renderEntry");
40 40
 
41 41
 		if (i.hasAlternativeContent()) {
42 42
 			TQString ret;
@@ -128,7 +128,7 @@ namespace Rendering {
128 128
 
129 129
 			const TQString key_renderedText = key->renderedText();
130 130
 
131
-			//   qWarning(key_renderedText.latin1());
131
+			//   tqWarning(key_renderedText.latin1());
132 132
 
133 133
 			if (m_filterOptions.headings) {
134 134
 				AttributeValue::const_iterator it =
@@ -197,7 +197,7 @@ namespace Rendering {
197 197
 			renderedText.append("</tr>\n");
198 198
 		}
199 199
 
200
-		//  qDebug("CHTMLExportRendering: %s", renderedText.latin1());
200
+		//  tqDebug("CHTMLExportRendering: %s", renderedText.latin1());
201 201
 		return renderedText;
202 202
 	}
203 203
 

+ 4
- 4
bibletime/backend/creferencemanager.cpp View File

@@ -184,7 +184,7 @@ const bool CReferenceManager::decodeHyperlink( const TQString& hyperlink, TQStri
184 184
 		//    module = key.left(modPos);
185 185
 		//    key = key.mid(modPos+1);
186 186
 		//
187
-		//    qWarning("found the module name %s with key %s", module.latin1(), key.latin1());
187
+		//    tqWarning("found the module name %s with key %s", module.latin1(), key.latin1());
188 188
 		//   }
189 189
 
190 190
 		//replace \/ escapes with /
@@ -360,7 +360,7 @@ const TQString CReferenceManager::parseVerseReference( const TQString& ref, cons
360 360
 	}
361 361
 
362 362
 	if ((mod->type() != CSwordModuleInfo::Bible) && (mod->type() != CSwordModuleInfo::Commentary)) {
363
-		qDebug("CReferenceManager: Only verse based modules are supported as ref destination module");
363
+		tqDebug("CReferenceManager: Only verse based modules are supported as ref destination module");
364 364
 		return TQString();
365 365
 	}
366 366
 
@@ -394,7 +394,7 @@ const TQString CReferenceManager::parseVerseReference( const TQString& ref, cons
394 394
  	dummy.setLocale( sourceLanguage.latin1() );
395 395
  	Q_ASSERT( !strcmp(dummy.getLocale(), sourceLanguage.latin1()) );
396 396
 
397
-// 	qDebug("Parsing '%s' in '%s' using '%s' as base, source lang '%s', dest lang '%s'", ref.latin1(), options.refDestinationModule.latin1(), baseKey.key().latin1(), sourceLanguage.latin1(), destinationLanguage.latin1());
397
+// 	tqDebug("Parsing '%s' in '%s' using '%s' as base, source lang '%s', dest lang '%s'", ref.latin1(), options.refDestinationModule.latin1(), baseKey.key().latin1(), sourceLanguage.latin1(), destinationLanguage.latin1());
398 398
 
399 399
 	for (TQStringList::iterator it = refList.begin(); it != refList.end(); it++) {
400 400
 		//The listkey may contain more than one item, because a ref lik "Gen 1:3,5" is parsed into two single refs
@@ -428,7 +428,7 @@ const TQString CReferenceManager::parseVerseReference( const TQString& ref, cons
428 428
 	}
429 429
 
430 430
 	CPointers::backend()->booknameLanguage(oldLocaleName);
431
-// 	qDebug("    %s", ret.latin1());
431
+// 	tqDebug("    %s", ret.latin1());
432 432
 
433 433
 	return ret;
434 434
 }

+ 3
- 3
bibletime/backend/cswordbackend.cpp View File

@@ -72,7 +72,7 @@ CSwordBackend::CSwordBackend()
72 72
 CSwordBackend::CSwordBackend(const TQString& path, const bool augmentHome)
73 73
 : sword::SWMgr(!path.isEmpty() ? (const char*)path.local8Bit() : 0, false, new sword::EncodingFilterMgr( sword::ENC_UTF8 ), false, augmentHome) // don't allow module renaming, because we load from a path
74 74
 {
75
-	qDebug("CSwordBackend::CSwordBackend for %s, using %s", path.latin1(), configPath);
75
+	tqDebug("CSwordBackend::CSwordBackend for %s, using %s", path.latin1(), configPath);
76 76
 	m_displays.entry = 0;
77 77
 	m_displays.chapter = 0;
78 78
 	m_displays.book = 0;
@@ -100,7 +100,7 @@ CSwordBackend::~CSwordBackend() {
100 100
 
101 101
 /** Initializes the Sword modules. */
102 102
 const CSwordBackend::LoadError CSwordBackend::initModules() {
103
-	//  qWarning("globalSwordConfigPath is %s", globalConfPath);
103
+	//  tqWarning("globalSwordConfigPath is %s", globalConfPath);
104 104
 	LoadError ret = NoError;
105 105
 
106 106
 	shutdownModules(); //remove previous modules
@@ -677,7 +677,7 @@ const TQStringList CSwordBackend::swordDirList() {
677 677
 }
678 678
 
679 679
 void CSwordBackend::filterInit() {
680
-	//  qWarning("## INIT");
680
+	//  tqWarning("## INIT");
681 681
 
682 682
 	SWOptionFilter* tmpFilter = new OSISMorphSegmentation();
683 683
 	optionFilters.insert(OptionFilterMap::value_type("OSISMorphSegmentation", tmpFilter));

+ 1
- 1
bibletime/backend/cswordbiblemoduleinfo.cpp View File

@@ -114,7 +114,7 @@ TQStringList* const CSwordBibleModuleInfo::books() {
114 114
 			max = 1;
115 115
 		}
116 116
 		else if (!m_hasOT && !m_hasNT) { //somethings wrong here! - no OT and no NT
117
-			qWarning("CSwordBibleModuleInfo (%s) no OT and not NT! Check your config!", module()->Name());
117
+			tqWarning("CSwordBibleModuleInfo (%s) no OT and not NT! Check your config!", module()->Name());
118 118
 			min = 0;
119 119
 			max = -1;
120 120
 		}

+ 1
- 1
bibletime/backend/cswordcommentarymoduleinfo.cpp View File

@@ -25,7 +25,7 @@ CSwordModuleInfo* CSwordCommentaryModuleInfo::clone() {
25 25
 
26 26
 /** Returns true if this module may be written by the write display windows. */
27 27
 const bool CSwordCommentaryModuleInfo::isWritable() const {
28
-	//  qWarning(module()->getConfigEntry("ModDrv"));
28
+	//  tqWarning(module()->getConfigEntry("ModDrv"));
29 29
 	//a module is only writable if it's a RawFiles module with writable returning true
30 30
 
31 31
 	if ( (std::string(module()->getConfigEntry("ModDrv")) == std::string("RawFiles")) && module()->isWritable()) {

+ 2
- 2
bibletime/backend/cswordkey.cpp View File

@@ -54,7 +54,7 @@ const TQString CSwordKey::rawText() {
54 54
 		return TQString();
55 55
 	}
56 56
 
57
-// 	qWarning("rawText: %s", m_module->module()->getRawEntry());
57
+// 	tqWarning("rawText: %s", m_module->module()->getRawEntry());
58 58
 	return TQString::fromUtf8( m_module->module()->getRawEntry() );
59 59
 }
60 60
 
@@ -86,7 +86,7 @@ const TQString CSwordKey::renderedText( const CSwordKey::TextRenderType mode ) {
86 86
 			if ( strcasecmp(m_module->module()->getKey()->getText(), buffer)
87 87
 					&& !strstr(m_module->module()->getKey()->getText(), buffer)
88 88
 			   ) {
89
-				qDebug("return an empty key for %s", m_module->module()->getKey()->getText());
89
+				tqDebug("return an empty key for %s", m_module->module()->getKey()->getText());
90 90
 				return TQString();
91 91
 			}
92 92
 		}

+ 1
- 1
bibletime/backend/cswordldkey.h View File

@@ -36,7 +36,7 @@
36 36
  *  CSwordLDKey ldKey(m_module);
37 37
  *  ldKey.key("Adam");
38 38
  *  ldKey.nextEntry();
39
- *  qDebug( TQString("The current key is: %1").arg(ldKey.key()));
39
+ *  tqDebug( TQString("The current key is: %1").arg(ldKey.key()));
40 40
  * @endcode
41 41
  *
42 42
  * Please not, that the result will be invalid if use the operator const char*

+ 8
- 8
bibletime/backend/cswordlexiconmoduleinfo.cpp View File

@@ -66,7 +66,7 @@ TQStringList* const CSwordLexiconModuleInfo::entries() {
66 66
 		//Check for buggy modules! They will not be loaded any more.
67 67
 
68 68
 		if ( name() == TQString("ZhEnglish")) {
69
-			qWarning("Module ZhEnglish is buggy and will not be loaded.");
69
+			tqWarning("Module ZhEnglish is buggy and will not be loaded.");
70 70
 			return m_entryList;
71 71
 		}
72 72
 
@@ -89,7 +89,7 @@ TQStringList* const CSwordLexiconModuleInfo::entries() {
89 89
 			}
90 90
 
91 91
 			f1.close();
92
-			//    qWarning("read entries %d",m_entryList->count());
92
+			//    tqWarning("read entries %d",m_entryList->count());
93 93
 		}
94 94
 
95 95
 		//   Q_ASSERT(read);
@@ -99,13 +99,13 @@ TQStringList* const CSwordLexiconModuleInfo::entries() {
99 99
 			(*my_module) = sword::TOP;
100 100
 			snap(); //snap to top entry
101 101
 
102
-			//    qWarning("Reading in module" );
102
+			//    tqWarning("Reading in module" );
103 103
 			int i = 0;
104 104
 
105 105
 			do {
106 106
 				if ( is_unicode ) {
107 107
 					m_entryList->append(TQString::fromUtf8(my_module->KeyText()));
108
-					//      qWarning("Entry: %s", my_module->KeyText() );
108
+					//      tqWarning("Entry: %s", my_module->KeyText() );
109 109
 				}
110 110
 				else { //for latin1 modules use fromLatin1 because of speed
111 111
 					//           m_entryList->append(TQString::fromLatin1(my_module->KeyText()));
@@ -119,7 +119,7 @@ TQStringList* const CSwordLexiconModuleInfo::entries() {
119 119
 			}
120 120
 			while ( !my_module->Error() );
121 121
 
122
-			//     qWarning("Reading finished. Module has %d entries.", i );
122
+			//     tqWarning("Reading finished. Module has %d entries.", i );
123 123
 
124 124
 			(*my_module) = sword::TOP; //back to the first entry
125 125
 
@@ -136,14 +136,14 @@ TQStringList* const CSwordLexiconModuleInfo::entries() {
136 136
 
137 137
 				//now sort the list, this is necesssary because Sword doesn't do Unicode ordering
138 138
 
139
-				//     qWarning("sorting");
139
+				//     tqWarning("sorting");
140 140
 				//      TQStringList::iterator start(m_entryList->begin());
141 141
 				//      TQStringList::iterator end(m_entryList->end());
142 142
 				//      std::sort( start, end, myLocaleAwareCompare() ); //stl sort
143 143
 				//      m_entryList->sort(); //make sure the module is sorted by utf-8
144 144
 			}
145 145
 
146
-			qWarning("Writing cache file.");
146
+			tqWarning("Writing cache file.");
147 147
 
148 148
 			if (m_entryList->count()) {
149 149
 				//create cache
@@ -161,7 +161,7 @@ TQStringList* const CSwordLexiconModuleInfo::entries() {
161 161
 				}
162 162
 			}
163 163
 
164
-			// //     qWarning("Writing finished." );
164
+			// //     tqWarning("Writing finished." );
165 165
 		}
166 166
 	}
167 167
 

+ 9
- 9
bibletime/backend/cswordmoduleinfo.cpp View File

@@ -74,7 +74,7 @@ CSwordModuleInfo::CSwordModuleInfo(sword::SWModule * module, CSwordBackend * con
74 74
 
75 75
     if (backend()) {
76 76
         if (hasVersion() && (minimumSwordVersion() > sword::SWVersion::currentVersion)) {
77
-            qWarning("The module \"%s\" requires a newer Sword library. Please update to \"Sword %s\".",
77
+            tqWarning("The module \"%s\" requires a newer Sword library. Please update to \"Sword %s\".",
78 78
                      name().latin1(), (const char *)minimumSwordVersion());
79 79
         }
80 80
     }
@@ -162,18 +162,18 @@ const bool CSwordModuleInfo::unlockKeyIsValid() {
162 162
         : TQString::fromLatin1( m_module->getRawEntryBuf().c_str() );
163 163
 
164 164
     if (test.isEmpty()) {
165
-        qWarning("Unlock key of module %s is NOT valid", name().latin1());
165
+        tqWarning("Unlock key of module %s is NOT valid", name().latin1());
166 166
         return false;
167 167
     }
168 168
 
169 169
     for (unsigned int i = 0; i <= test.length(); i++) {
170 170
         if ( !test[i].isPrint() && !test[i].isNull() ) {
171
-            qWarning("Unlock key of module %s is NOT valid", name().latin1());
171
+            tqWarning("Unlock key of module %s is NOT valid", name().latin1());
172 172
             return false;
173 173
         }
174 174
     }
175 175
 
176
-    qDebug("Unlock key of module %s is valid", name().latin1());
176
+    tqDebug("Unlock key of module %s is valid", name().latin1());
177 177
     return true;
178 178
 }
179 179
 
@@ -208,7 +208,7 @@ const bool CSwordModuleInfo::hasIndex() { //this will return true only
208 208
         }
209 209
     }
210 210
     if (indexconfig->readEntry("index-version") != TQString::number( INDEX_VERSION )) {
211
-        qDebug("%s: INDEX_VERSION is not compatible with this version of BibleTime.", name().latin1());
211
+        tqDebug("%s: INDEX_VERSION is not compatible with this version of BibleTime.", name().latin1());
212 212
         return false;
213 213
     }
214 214
 
@@ -293,8 +293,8 @@ void CSwordModuleInfo::buildIndex() {
293 293
         //If it is a sword-heading, store in buffer and index later in Verse X:1
294 294
         if (vk) {
295 295
             if (vk->Verse() == 0) {
296
-                //qWarning("key is %s", key->getText());
297
-		//qWarning("text is %s", m_module->StripText());
296
+                //tqWarning("key is %s", key->getText());
297
+		//tqWarning("text is %s", m_module->StripText());
298 298
                 textBuffer.append( m_module->StripText() );
299 299
                 continue;
300 300
             }
@@ -340,7 +340,7 @@ void CSwordModuleInfo::buildIndex() {
340 340
             if (attListI->second["LemmaClass"] == "strong") {
341 341
                 lucene_utf8towcs(wcharBuffer, attListI->second["Lemma"], BT_MAX_LUCENE_FIELD_LENGTH);
342 342
                 doc->add(*lucene::document::Field::UnStored(_T("strong"), wcharBuffer));
343
-                //qWarning("Adding strong %s", attListI->second["Lemma"].c_str());
343
+                //tqWarning("Adding strong %s", attListI->second["Lemma"].c_str());
344 344
             }
345 345
             if (attListI->second.find("Morph") != attListI->second.end()) {
346 346
                 lucene_utf8towcs(wcharBuffer, attListI->second["Morph"], BT_MAX_LUCENE_FIELD_LENGTH);
@@ -438,7 +438,7 @@ const bool CSwordModuleInfo::searchIndexed(const TQString& searchedText, sword::
438 438
             }
439 439
         }
440 440
     } catch (...) {
441
-        qWarning("CLucene exception");
441
+        tqWarning("CLucene exception");
442 442
         return false;
443 443
     }
444 444
 

+ 1
- 1
bibletime/backend/cswordmodulesearch.cpp View File

@@ -76,7 +76,7 @@ void CSwordModuleSearch::setSearchScope( const sword::ListKey& scope ) {
76 76
 
77 77
 		//disable searching with a scope!
78 78
 		//  if (m_searchOptions | useScope) {
79
-		//      qWarning("using the scope!");
79
+		//      tqWarning("using the scope!");
80 80
 		//set back the scope flag
81 81
 		// }
82 82
 	}

+ 1
- 1
bibletime/backend/ctextrendering.cpp View File

@@ -218,7 +218,7 @@ const TQString CTextRendering::renderKeyTree( KeyTree& tree ) {
218 218
 const TQString CTextRendering::renderKeyRange( const TQString& start, const TQString& stop, const ListCSwordModuleInfo& modules, const TQString& highlightKey, const KeyTreeItem::Settings& keySettings ) {
219 219
 
220 220
 	CSwordModuleInfo* module = modules.first();
221
-	//qWarning( "renderKeyRange start %s stop %s \n", start.latin1(), stop.latin1() );
221
+	//tqWarning( "renderKeyRange start %s stop %s \n", start.latin1(), stop.latin1() );
222 222
 	
223 223
 	util::scoped_ptr<CSwordKey> lowerBound( CSwordKey::createInstance(module) );
224 224
 	lowerBound->key(start);

+ 11
- 11
bibletime/bibletime_dcop.cpp View File

@@ -23,7 +23,7 @@
23 23
 
24 24
 //helper function
25 25
 void BibleTime::syncAllModulesByType(const CSwordModuleInfo::ModuleType type, const TQString& key) {
26
-	qDebug("Syncing modules by type to key %s", key.latin1());
26
+	tqDebug("Syncing modules by type to key %s", key.latin1());
27 27
 
28 28
 	TQPtrList<TQWidget> windows = m_mdi->usableWindowList();
29 29
 	for (TQWidget* w = windows.first(); w; w = windows.next()) {
@@ -37,34 +37,34 @@ void BibleTime::syncAllModulesByType(const CSwordModuleInfo::ModuleType type, co
37 37
 }
38 38
 
39 39
 void BibleTime::closeAllModuleWindows() {
40
-	qDebug("DCOP: close all windows now...");
40
+	tqDebug("DCOP: close all windows now...");
41 41
 
42 42
 	m_mdi->deleteAll();
43 43
 }
44 44
 
45 45
 void BibleTime::syncAllBibles(const TQString& key) {
46
-	qDebug("DCOP: syncing all bibles ...");
46
+	tqDebug("DCOP: syncing all bibles ...");
47 47
 	syncAllModulesByType(CSwordModuleInfo::Bible, key);
48 48
 }
49 49
 
50 50
 void BibleTime::syncAllCommentaries(const TQString& key) {
51
-	qDebug("DCOP: syncing all commentaries ...");
51
+	tqDebug("DCOP: syncing all commentaries ...");
52 52
 	syncAllModulesByType(CSwordModuleInfo::Commentary, key);
53 53
 }
54 54
 
55 55
 void BibleTime::syncAllLexicons(const TQString& key) {
56
-	qDebug("DCOP: syncing all lexicons ...");
56
+	tqDebug("DCOP: syncing all lexicons ...");
57 57
 	syncAllModulesByType(CSwordModuleInfo::Lexicon, key);
58 58
 }
59 59
 
60 60
 void BibleTime::syncAllVerseBasedModules(const TQString& key) {
61
-	qDebug("DCOP: syncing all verse based modules ...");
61
+	tqDebug("DCOP: syncing all verse based modules ...");
62 62
 	syncAllModulesByType(CSwordModuleInfo::Bible, key);
63 63
 	syncAllModulesByType(CSwordModuleInfo::Commentary, key);
64 64
 }
65 65
 
66 66
 void BibleTime::openWindow(const TQString& moduleName, const TQString& key) {
67
-	qDebug("DCOP: open window for module %s and key %s...", moduleName.latin1(), key.latin1());
67
+	tqDebug("DCOP: open window for module %s and key %s...", moduleName.latin1(), key.latin1());
68 68
 
69 69
 	CSwordModuleInfo* module = CPointers::backend()->findModuleByName(moduleName);
70 70
 	Q_ASSERT(module);
@@ -74,7 +74,7 @@ void BibleTime::openWindow(const TQString& moduleName, const TQString& key) {
74 74
 }
75 75
 
76 76
 void BibleTime::openDefaultBible(const TQString& key) {
77
-	qDebug("DCOP: open default bible ...");
77
+	tqDebug("DCOP: open default bible ...");
78 78
 	CSwordModuleInfo* mod = CBTConfig::get
79 79
 								(CBTConfig::standardBible);
80 80
 	if (mod) {
@@ -83,7 +83,7 @@ void BibleTime::openDefaultBible(const TQString& key) {
83 83
 }
84 84
 
85 85
 TQStringList BibleTime::searchInModule(const TQString& moduleName, const TQString& searchText) {
86
-	qDebug("DCOP: searchInModule %s ...", moduleName.latin1());
86
+	tqDebug("DCOP: searchInModule %s ...", moduleName.latin1());
87 87
 	TQStringList ret;
88 88
 	CSwordModuleInfo* mod = CPointers::backend()->findModuleByName(moduleName);
89 89
 
@@ -117,7 +117,7 @@ TQStringList BibleTime::searchInModule(const TQString& moduleName, const TQStrin
117 117
 }
118 118
 
119 119
 TQStringList BibleTime::searchInOpenModules(const TQString& searchText) {
120
-	qDebug("DCOP: search in open modules ...");
120
+	tqDebug("DCOP: search in open modules ...");
121 121
 	TQStringList ret;
122 122
 
123 123
 	TQWidgetList windows = m_mdi->windowList();
@@ -143,7 +143,7 @@ TQStringList BibleTime::searchInDefaultBible(const TQString& searchText) {
143 143
 }
144 144
 
145 145
 TQString BibleTime::getCurrentReference() {
146
-	qDebug("BibleTime::getCurrentReference");
146
+	tqDebug("BibleTime::getCurrentReference");
147 147
 	TQString ret = TQString();
148 148
 
149 149
 	CDisplayWindow* w = dynamic_cast<CDisplayWindow*>(m_mdi->activeWindow());

+ 2
- 2
bibletime/bibletime_init.cpp View File

@@ -272,7 +272,7 @@ void BibleTime::initActions() {
272 272
 		CResMgr::mainMenu::window::arrangementMode::autoCascade::tooltip
273 273
 	);
274 274
 	#if TDE_VERSION_MINOR < 1
275
-	//   qWarning("Plug accel");
275
+	//   tqWarning("Plug accel");
276 276
 	m_windowAutoCascade_action->plugAccel( accel() );
277 277
 	#endif
278 278
 
@@ -501,7 +501,7 @@ void BibleTime::initConnections() {
501 501
 				this, TQT_SLOT(slotWindowMenuAboutToShow()));
502 502
 	}
503 503
 	else {
504
-		qWarning("Main window: can't find window menu");
504
+		tqWarning("Main window: can't find window menu");
505 505
 	}
506 506
 
507 507
 

+ 1
- 1
bibletime/bibletime_slots.cpp View File

@@ -439,7 +439,7 @@ void BibleTime::loadProfile(int ID) {
439 439
 	//HACK: workaround the inserted & char by KPopupMenu
440 440
 	const TQString profileName = popup->text(ID).remove("&");
441 441
 	CProfile* p = m_profileMgr.profile( profileName );
442
-	//  qWarning("requesting popup: %s", popup->text(ID).latin1());
442
+	//  tqWarning("requesting popup: %s", popup->text(ID).latin1());
443 443
 	Q_ASSERT(p);
444 444
 
445 445
 	if ( p ) {

+ 5
- 5
bibletime/frontend/btinstallmgr.cpp View File

@@ -45,7 +45,7 @@ namespace BookshelfManager {
45 45
 	}
46 46
 
47 47
 	TQStringList BTInstallMgr::Tool::RemoteConfig::sourceList( sword::InstallMgr* mgr ) {
48
-		//  qWarning("BTInstallMgr::Tool::sourceList( sword::InstallMgr* mgr )");
48
+		//  tqWarning("BTInstallMgr::Tool::sourceList( sword::InstallMgr* mgr )");
49 49
 		Q_ASSERT(mgr);
50 50
 		Q_ASSERT(mgr->installConf);
51 51
 
@@ -218,7 +218,7 @@ namespace BookshelfManager {
218 218
 		ConfigEntMap::iterator it = range.first;
219 219
 		while (it != range.second) {
220 220
 			if (it->second == is->getConfEnt()) {
221
-				//    qWarning("found the source!");
221
+				//    tqWarning("found the source!");
222 222
 				config["Sources"].erase(it);
223 223
 				break;
224 224
 			}
@@ -255,11 +255,11 @@ namespace BookshelfManager {
255 255
 
256 256
 		CSwordBackend* ret = 0;
257 257
 		if (RemoteConfig::isRemoteSource(is)) {
258
-			//     qWarning("## remote backend for %s", is->localShadow.c_str());
258
+			//     tqWarning("## remote backend for %s", is->localShadow.c_str());
259 259
 			ret = new CSwordBackend( TQString(is->localShadow.c_str()), false );
260 260
 		}
261 261
 		else {
262
-			//    qWarning("## local  backend for %s", TQString(is->directory.c_str()).latin1());
262
+			//    tqWarning("## local  backend for %s", TQString(is->directory.c_str()).latin1());
263 263
 			ret = new CSwordBackend( TQString(is->directory.c_str()) );
264 264
 		}
265 265
 
@@ -327,7 +327,7 @@ namespace BookshelfManager {
327 327
 	}
328 328
 
329 329
 	void BTInstallMgr::preStatus(long totalBytes, long completedBytes, const char* /*message*/) {
330
-		qWarning("pre Status: %i / %i", (int)totalBytes, (int)completedBytes);
330
+		tqWarning("pre Status: %i / %i", (int)totalBytes, (int)completedBytes);
331 331
 		emit downloadStarted( "unknown filename" );
332 332
 
333 333
 		m_completedBytes = completedBytes;

+ 2
- 2
bibletime/frontend/cbtconfig.cpp View File

@@ -666,11 +666,11 @@ KConfig* const CBTConfig::getConfig() {
666 666
 	KConfig* config = KGlobal::config();
667 667
 
668 668
 	if (KApplication::kApplication()->sessionSaving()) {
669
-		qWarning("Using session config");
669
+		tqWarning("Using session config");
670 670
 		//    config = KApplication::kApplication()->sessionConfig();
671 671
 	}
672 672
 	else if (KApplication::kApplication()->isRestored()) {
673
-		qWarning("isRestored(): Using session config");
673
+		tqWarning("isRestored(): Using session config");
674 674
 	}
675 675
 
676 676
 	return config;

+ 8
- 8
bibletime/frontend/cdragdropmgr.cpp View File

@@ -85,7 +85,7 @@ m_text(TQString()) {
85 85
 			vk.setLocale("en");
86 86
 
87 87
 			m_bookmarkKey = vk.key();
88
-			//      qWarning("english key of %s is %s", key.latin1(), m_bookmarkKey.latin1());
88
+			//      tqWarning("english key of %s is %s", key.latin1(), m_bookmarkKey.latin1());
89 89
 		}
90 90
 	}
91 91
 }
@@ -132,7 +132,7 @@ const bool CDragDropMgr::canDecode( const TQMimeSource* const mime ) {
132 132
 		return true;
133 133
 	}
134 134
 	else if( TQTextDrag::canDecode(mime) ) {
135
-		qWarning("TQTextDrag can decode this mime!");
135
+		tqWarning("TQTextDrag can decode this mime!");
136 136
 		return true;
137 137
 	};
138 138
 	return false;
@@ -169,7 +169,7 @@ TQDragObject* const CDragDropMgr::dragObject( CDragDropMgr::ItemList& items, TQW
169 169
 		}
170 170
 
171 171
 		BTDrag* dragObject = new BTDrag( doc.toString(), dragSource );
172
-		//    qWarning("DND data created: %s", (const char*)doc.toString().utf8());
172
+		//    tqWarning("DND data created: %s", (const char*)doc.toString().utf8());
173 173
 		return dragObject;
174 174
 	};
175 175
 	return 0;
@@ -180,7 +180,7 @@ CDragDropMgr::ItemList CDragDropMgr::decode( const TQMimeSource* const  src) {
180 180
 	if (canDecode(src) && TQTextDrag::canDecode(src)) { //if we can decode but it's a TQTextDrag and not a BTDrag object
181 181
 		TQString text;
182 182
 		TQTextDrag::decode(src, text);
183
-		//    qWarning(text.latin1());
183
+		//    tqWarning(text.latin1());
184 184
 
185 185
 		CDragDropMgr::ItemList dndItems;
186 186
 		dndItems.append( Item(text) );
@@ -194,11 +194,11 @@ CDragDropMgr::ItemList CDragDropMgr::decode( const TQMimeSource* const  src) {
194 194
 	BTDrag::decode(src, xmlData);
195 195
 
196 196
 	if (xmlData.isEmpty()) { //something went wrong!
197
-		//    qWarning("CDragDropMgr::decode: empty xml data!");
197
+		//    tqWarning("CDragDropMgr::decode: empty xml data!");
198 198
 		return CDragDropMgr::ItemList();
199 199
 	}
200 200
 	//  else {
201
-	//    qWarning("Drag&Drop data is: %s", xmlData.latin1());
201
+	//    tqWarning("Drag&Drop data is: %s", xmlData.latin1());
202 202
 	//  }
203 203
 
204 204
 	//we can handle the dropEvent and have xml data to work on!
@@ -209,14 +209,14 @@ CDragDropMgr::ItemList CDragDropMgr::decode( const TQMimeSource* const  src) {
209 209
 
210 210
 	TQDomElement document = doc.documentElement();
211 211
 	if( document.tagName() != "BibleTimeDND" ) { //BibleTime was used in syntax version 1.0
212
-		qWarning("DragDropMgr::decode: Missing BibleTimeDND doc");
212
+		tqWarning("DragDropMgr::decode: Missing BibleTimeDND doc");
213 213
 		return CDragDropMgr::ItemList();
214 214
 	}
215 215
 	// see if there's a section with the name MAINWINDOW
216 216
 	TQDomElement elem = document.firstChild().toElement();
217 217
 	while (!elem.isNull()) {
218 218
 		if (elem.tagName() == "BOOKMARK") { //we found a bookmark!
219
-			//        qWarning("found a bookmark!");
219
+			//        tqWarning("found a bookmark!");
220 220
 			const TQString key = elem.hasAttribute("key") ? elem.attribute("key") : TQString();
221 221
 			const TQString moduleName = elem.hasAttribute("moduleName") ? elem.attribute("moduleName") : TQString();
222 222
 			const TQString description = elem.hasAttribute("description") ? elem.attribute("description") : TQString();

+ 6
- 6
bibletime/frontend/cinfodisplay.cpp View File

@@ -71,7 +71,7 @@ namespace InfoDisplay {
71 71
 	CInfoDisplay::~CInfoDisplay() {}
72 72
 
73 73
 	void CInfoDisplay::lookup(const TQString &mod_name, const TQString &key_text) {
74
-		qWarning("%s %s", mod_name.ascii(), key_text.ascii());
74
+		tqWarning("%s %s", mod_name.ascii(), key_text.ascii());
75 75
 		CSwordModuleInfo* m = CPointers::backend()->findModuleByName(mod_name);
76 76
 		Q_ASSERT(m);
77 77
 		if (!m)
@@ -87,7 +87,7 @@ namespace InfoDisplay {
87 87
 		TQString content = mgr->fillTemplate(CBTConfig::get
88 88
 					(CBTConfig::displayStyle), key->renderedText(), settings);
89 89
 
90
-		//   qWarning("setting text:\n%s", content.latin1());
90
+		//   tqWarning("setting text:\n%s", content.latin1());
91 91
 
92 92
 		m_htmlPart->setText(content);			// scroll to top
93 93
 		CHTMLReadDisplay *d = dynamic_cast<CHTMLReadDisplay *>(m_htmlPart);
@@ -152,7 +152,7 @@ namespace InfoDisplay {
152 152
 		TQString content = mgr->fillTemplate(CBTConfig::get
153 153
 												(CBTConfig::displayStyle), text, settings);
154 154
 
155
-		//   qWarning("setting text:\n%s", content.latin1());
155
+		//   tqWarning("setting text:\n%s", content.latin1());
156 156
 
157 157
 		m_htmlPart->setText(content);
158 158
 	}
@@ -179,7 +179,7 @@ namespace InfoDisplay {
179 179
 				   .arg(i18n("Cross references"));
180 180
 		}
181 181
 
182
-		//  qWarning("setting crossref %s", data.latin1());
182
+		//  tqWarning("setting crossref %s", data.latin1());
183 183
 
184 184
 		CSwordBackend::DisplayOptions dispOpts;
185 185
 		dispOpts.lineBreaks  = false;
@@ -210,7 +210,7 @@ namespace InfoDisplay {
210 210
 
211 211
 		if (pos > 0) {
212 212
 			const TQString moduleName = data.left(pos);
213
-			//     qWarning("found module %s", moduleName.latin1());
213
+			//     tqWarning("found module %s", moduleName.latin1());
214 214
 			module = CPointers::backend()->findModuleByName(moduleName);
215 215
 			if (!module) {
216 216
 				module = CBTConfig::get
@@ -266,7 +266,7 @@ namespace InfoDisplay {
266 266
 			tree.append( i );
267 267
 		}
268 268
 
269
-		//  qWarning("rendered the tree: %s", renderer.renderKeyTree(tree).latin1());
269
+		//  tqWarning("rendered the tree: %s", renderer.renderKeyTree(tree).latin1());
270 270
 		//spanns containing rtl text need dir=rtl on their parent tag to be aligned properly
271 271
 		return TQString("<div class=\"crossrefinfo\"><h3>%1</h3><div class=\"para\" dir=\"%2\">%3</div></div>")
272 272
 			   .arg(i18n("Cross references"))

+ 3
- 3
bibletime/frontend/cmdiarea.cpp View File

@@ -297,7 +297,7 @@ bool CMDIArea::eventFilter( TQObject *o, TQEvent *e ) {
297 297
 			ret = false;
298 298
 		}
299 299
 		else if (!o->inherits("CDisplayWindow")){
300
-			qDebug("CMDIArea: bad mdi child classname: %s", o->className());
300
+			tqDebug("CMDIArea: bad mdi child classname: %s", o->className());
301 301
 			//o->dumpObjectInfo();
302 302
 			//o->dumpObjectTree();
303 303
 		}
@@ -310,7 +310,7 @@ bool CMDIArea::eventFilter( TQObject *o, TQEvent *e ) {
310 310
     \fn CMDIArea::triggerWindowUpdate()
311 311
  */
312 312
 void CMDIArea::triggerWindowUpdate() {
313
-	qDebug("CMDIArea::triggerWindowUpfdate");
313
+	tqDebug("CMDIArea::triggerWindowUpfdate");
314 314
 
315 315
 	if (isUpdatesEnabled() && usableWindowList().count() ) {
316 316
 		switch (m_guiOption) {
@@ -324,7 +324,7 @@ void CMDIArea::triggerWindowUpdate() {
324 324
 			TQTimer::singleShot(0, this, TQT_SLOT(myCascade()));
325 325
 			break;
326 326
 			default:
327
-			qDebug("CMDIArea::triggerWindowUpdate: no known m_guiType");
327
+			tqDebug("CMDIArea::triggerWindowUpdate: no known m_guiType");
328 328
 			break;
329 329
 		}
330 330
 	}

+ 5
- 5
bibletime/frontend/cmoduleindexdialog.cpp View File

@@ -32,7 +32,7 @@ CModuleIndexDialog* CModuleIndexDialog::getInstance() {
32 32
 }
33 33
 
34 34
 void CModuleIndexDialog::indexAllModules( const ListCSwordModuleInfo& modules ) {
35
-	qDebug("indexAllModules");
35
+	tqDebug("indexAllModules");
36 36
 	if (modules.count() == 0) {
37 37
 		return;
38 38
 	}
@@ -51,7 +51,7 @@ void CModuleIndexDialog::indexAllModules( const ListCSwordModuleInfo& modules )
51 51
 		(*it)->connectIndexingProgress(this, TQT_SLOT(slotModuleProgress(int)));
52 52
 
53 53
 		progress->setLabel(i18n("Creating index for work %1").arg((*it)->name()));
54
-		qDebug("Building index for work %s", (*it)->name().latin1());
54
+		tqDebug("Building index for work %s", (*it)->name().latin1());
55 55
 		
56 56
 		(*it)->buildIndex();
57 57
 
@@ -64,7 +64,7 @@ void CModuleIndexDialog::indexAllModules( const ListCSwordModuleInfo& modules )
64 64
 }
65 65
 
66 66
 void CModuleIndexDialog::indexUnindexedModules( const ListCSwordModuleInfo& modules ) {
67
-	qDebug("indexUnindexedModules");
67
+	tqDebug("indexUnindexedModules");
68 68
 	ListCSwordModuleInfo unindexedMods;
69 69
 	
70 70
 	ListCSwordModuleInfo::const_iterator end_it = modules.end();
@@ -84,14 +84,14 @@ void CModuleIndexDialog::indexUnindexedModules( const ListCSwordModuleInfo& modu
84 84
     \fn CModuleIndexDialog::slotModuleProgress( int percentage )
85 85
  */
86 86
 void CModuleIndexDialog::slotModuleProgress( int percentage ) {
87
-//	qDebug("progress %d", percentage);
87
+//	tqDebug("progress %d", percentage);
88 88
 	
89 89
 	progress->progressBar()->setProgress( m_currentModuleIndex * 100 + percentage );
90 90
 	KApplication::kApplication()->processEvents( 10 ); //10 ms only
91 91
 }
92 92
 
93 93
 void CModuleIndexDialog::slotFinished( ) {
94
-	qDebug("indexing finished()");
94
+	tqDebug("indexing finished()");
95 95
 	
96 96
 	progress->progressBar()->setProgress( progress->progressBar()->totalSteps() );
97 97
 	KApplication::kApplication()->processEvents( 1 ); //1 ms only

+ 2
- 2
bibletime/frontend/coptionsdialog.cpp View File

@@ -243,7 +243,7 @@ void COptionsDialog::initLanguages() {
243 243
 		//   locales.push_back(SWBuf("en_US"));
244 244
 
245 245
 		for (list<sword::SWBuf>::const_iterator it = locales.begin(); it != locales.end(); it++) {
246
-			//    qWarning("working on %s", (*it).c_str());
246
+			//    tqWarning("working on %s", (*it).c_str());
247 247
 			const CLanguageMgr::Language* const l = CPointers::languageMgr()->languageForAbbrev(
248 248
 														sword::LocaleMgr::getSystemLocaleMgr()->getLocale((*it).c_str())->getName()
249 249
 													);
@@ -829,7 +829,7 @@ void COptionsDialog::saveSword() {
829 829
 			moduleDescription = m_settings.swords.standardGreekMorph->currentText();
830 830
 			break;
831 831
 			default:
832
-			qWarning("Unhandled module type.");
832
+			tqWarning("Unhandled module type.");
833 833
 		};
834 834
 
835 835
 		CSwordModuleInfo* const module = backend()->findModuleByDescription(moduleDescription);

+ 2
- 2
bibletime/frontend/cprofile.cpp View File

@@ -44,7 +44,7 @@ m_geometry(10,20,640,480) {
44 44
 		init(m_filename);
45 45
 	}
46 46
 	else {
47
-		qWarning("CProfile: empty file name!");
47
+		tqWarning("CProfile: empty file name!");
48 48
 	}
49 49
 }
50 50
 
@@ -68,7 +68,7 @@ TQPtrList<CProfileWindow> CProfile::load() {
68 68
 
69 69
 	TQDomElement document = doc.documentElement();
70 70
 	if( document.tagName() != "BibleTimeProfile" && document.tagName() != "BibleTime" ) { //BibleTime was used in syntax version 1.0
71
-		qWarning("CProfile::load: Missing BibleTime doc");
71
+		tqWarning("CProfile::load: Missing BibleTime doc");
72 72
 		return m_profileWindows;
73 73
 	}
74 74
 	if (document.hasAttribute("name")) {

+ 2
- 2
bibletime/frontend/crossrefrendering.cpp View File

@@ -24,7 +24,7 @@ namespace InfoDisplay {
24 24
 : CHTMLExportRendering(Settings(), displayOptions, filterOptions) {}
25 25
 
26 26
 	const TQString CrossRefRendering::finishText( const TQString& text, KeyTree& ) {
27
-		//   qDebug("CrossRefRendering::finishText");
27
+		//   tqDebug("CrossRefRendering::finishText");
28 28
 		return text;
29 29
 	}
30 30
 
@@ -70,7 +70,7 @@ namespace InfoDisplay {
70 70
 		}
71 71
 
72 72
 		if (!linkText.isEmpty()) { //if we have a valid link text
73
-			//     qWarning("rendering");
73
+			//     tqWarning("rendering");
74 74
 			return TQString("<a href=\"%1\">%2</a>")
75 75
 				   .arg(
76 76
 					   CReferenceManager::encodeHyperlink(

+ 16
- 16
bibletime/frontend/cswordsetupdialog.cpp View File

@@ -508,7 +508,7 @@ the module remote installation feature!</b>")
508 508
 					success = true;
509 509
 				}
510 510
 				else { //an error occurres, the KIO library should display an error message
511
-					qWarning("InstallMgr: refreshRemoteSources returned an error.");
511
+					tqWarning("InstallMgr: refreshRemoteSources returned an error.");
512 512
 					m_refreshedRemoteSources = false;
513 513
 					success = false;
514 514
 				}
@@ -540,17 +540,17 @@ the module remote installation feature!</b>")
540 540
 
541 541
 		if (BTInstallMgr::Tool::RemoteConfig::isRemoteSource(&is)
542 542
 				&& !refreshRemoteModuleCache(sourceName)) {
543
-			//   qWarning("finish");
543
+			//   tqWarning("finish");
544 544
 			m_installModuleListView->finish();
545 545
 			return false;
546 546
 		}
547 547
 
548 548
 		//kind of a hack to provide a pointer to mgr next line
549
-		//   qWarning("createing remote_backend");
549
+		//   tqWarning("createing remote_backend");
550 550
 		util::scoped_ptr<CSwordBackend> remote_backend( BTInstallMgr::Tool::backend(&is) );
551
-		//  qWarning("config path1 is %s", remote_backend->configPath);
552
-		//  qWarning("config path2 is %s", BTInstallMgr::Tool::backend(&is)->configPath ); //mem leak
553
-		//   qWarning("after creating remote_backend");
551
+		//  tqWarning("config path1 is %s", remote_backend->configPath);
552
+		//  tqWarning("config path2 is %s", BTInstallMgr::Tool::backend(&is)->configPath ); //mem leak
553
+		//   tqWarning("after creating remote_backend");
554 554
 		Q_ASSERT(remote_backend);
555 555
 		Q_ASSERT( BTInstallMgr::Tool::RemoteConfig::isRemoteSource(&is) );
556 556
 		if (!remote_backend) {
@@ -560,22 +560,22 @@ the module remote installation feature!</b>")
560 560
 
561 561
 		CSwordBackend* local_backend = CPointers::backend();
562 562
 		Q_ASSERT(local_backend);
563
-		//  qWarning("local backend has path %s", local_backend->);
563
+		//  tqWarning("local backend has path %s", local_backend->);
564 564
 		KApplication::kApplication()->processEvents();
565 565
 		//local_backend.initModules();
566 566
 
567
-		//  qWarning("config path3 is %s", remote_backend->configPath);
567
+		//  tqWarning("config path3 is %s", remote_backend->configPath);
568 568
 		ListCSwordModuleInfo mods = remote_backend->moduleList();
569 569
 		Q_ASSERT(mods.count() > 0);
570 570
 
571 571
 		ListCSwordModuleInfo::iterator end_it = mods.end();
572 572
 		for (ListCSwordModuleInfo::iterator it(mods.begin()); it != end_it; ++it) {
573
-			//   qWarning("adding module %s (%s)", (*it)->name().latin1(), (*it)->config(CSwordModuleInfo::AbsoluteDataPath).latin1());
573
+			//   tqWarning("adding module %s (%s)", (*it)->name().latin1(), (*it)->config(CSwordModuleInfo::AbsoluteDataPath).latin1());
574 574
 			bool isUpdate = false;
575 575
 
576 576
 			CSwordModuleInfo* const installedModule = local_backend->findModuleByName((*it)->name());
577 577
 			if (installedModule) {
578
-				//    qWarning("module is already installed in %s", installedModule->config(CSwordModuleInfo::AbsoluteDataPath).latin1());
578
+				//    tqWarning("module is already installed in %s", installedModule->config(CSwordModuleInfo::AbsoluteDataPath).latin1());
579 579
 			}
580 580
 			//     Q_ASSERT(installedModule);
581 581
 
@@ -591,7 +591,7 @@ the module remote installation feature!</b>")
591 591
 
592 592
 				isUpdate = (newVersion > installedVersion);
593 593
 				if (!isUpdate) {
594
-					//     qWarning("    mod %s is not an update", (*it)->name().latin1());
594
+					//     tqWarning("    mod %s is not an update", (*it)->name().latin1());
595 595
 					continue;
596 596
 				}
597 597
 			}
@@ -684,7 +684,7 @@ the module remote installation feature!</b>")
684 684
 	}
685 685
 
686 686
 	void CSwordSetupDialog::slot_installModules() {
687
-		qWarning("CSwordSetupDialog::slot_installModules()");
687
+		tqWarning("CSwordSetupDialog::slot_installModules()");
688 688
 		//   m_installContinueButton->setEnabled(false);
689 689
 		//   m_installBackButton->setEnabled(false);
690 690
 
@@ -703,7 +703,7 @@ the module remote installation feature!</b>")
703 703
 			m_currentInstallMgr = &iMgr;
704 704
 			sword::InstallSource is = BTInstallMgr::Tool::RemoteConfig::source(&iMgr, currentInstallSource());
705 705
 
706
-			qWarning("installing from %s/%s", is.source.c_str(), is.directory.c_str());
706
+			tqWarning("installing from %s/%s", is.source.c_str(), is.directory.c_str());
707 707
 			TQString target = m_targetCombo->currentText();
708 708
 
709 709
 			//make sure target/mods.d and target/modules exist
@@ -740,7 +740,7 @@ the module remote installation feature!</b>")
740 740
 
741 741
 			for ( TQStringList::Iterator it = moduleList.begin(); (it != moduleList.end()) && !m_progressDialog->wasCancelled(); ++it, ++m_installedModuleCount ) {
742 742
 
743
-				qWarning("installing %s", (*it).latin1());
743
+				tqWarning("installing %s", (*it).latin1());
744 744
 				m_installingModule = *it;
745 745
 
746 746
 				//check whether it's an update. If yes, remove existing module first
@@ -767,9 +767,9 @@ the module remote installation feature!</b>")
767 767
 
768 768
 				if (!m_progressDialog->wasCancelled()
769 769
 						&& BTInstallMgr::Tool::RemoteConfig::isRemoteSource(&is)) {
770
-					//        qWarning("calling install");
770
+					//        tqWarning("calling install");
771 771
 					int status = iMgr.installModule(&lMgr, 0, (*it).latin1(), &is);
772
-					//         qWarning("status: %d", status);
772
+					//         tqWarning("status: %d", status);
773 773
 					Q_ASSERT(status != -1);
774 774
 				}
775 775
 				else if (!m_progressDialog->wasCancelled()) { //local source

+ 4
- 4
bibletime/frontend/display/cdisplay.cpp View File

@@ -65,7 +65,7 @@ void CDisplayConnections::copyAll() {
65 65
 
66 66
 /** No descriptions */
67 67
 void CDisplayConnections::copySelection() {
68
-	qWarning("copyign the selected text");
68
+	tqWarning("copyign the selected text");
69 69
 	m_display->copy(CDisplay::PlainText, CDisplay::SelectedText);
70 70
 }
71 71
 
@@ -117,7 +117,7 @@ CReadDisplay* CDisplay::createReadInstance( CReadWindow* readWindow, TQWidget* p
117 117
 }
118 118
 
119 119
 CWriteDisplay* CDisplay::createWriteInstance( CWriteWindow* writeWindow, const CWriteDisplay::WriteDisplayType& type, TQWidget* parent ) {
120
-	//  qWarning("CDisplay::createWriteInstance");
120
+	//  tqWarning("CDisplay::createWriteInstance");
121 121
 	if (type == PlainTextDisplay) {
122 122
 		return new CPlainWriteDisplay(writeWindow, parent);
123 123
 	}
@@ -145,7 +145,7 @@ const bool CDisplay::copy( const CDisplay::TextType format, const CDisplay::Text
145 145
 }
146 146
 
147 147
 const bool CDisplay::save( const CDisplay::TextType format, const CDisplay::TextPart part ) {
148
-	//  qWarning("CDisplay::save( const CDisplay::TextType format, const CDisplay::TextPart part  )");
148
+	//  tqWarning("CDisplay::save( const CDisplay::TextType format, const CDisplay::TextPart part  )");
149 149
 	const TQString content = text(format, part);
150 150
 	TQString filter = TQString();
151 151
 
@@ -168,7 +168,7 @@ const bool CDisplay::save( const CDisplay::TextType format, const CDisplay::Text
168 168
 
169 169
 /** Emits the signal which used when a reference was clicked. */
170 170
 void CDisplay::emitReferenceClicked( const TQString& reference ) {
171
-	qWarning("reference clicked %s", reference.latin1());
171
+	tqWarning("reference clicked %s", reference.latin1());
172 172
 	TQString module;
173 173
 	TQString key;
174 174
 	CReferenceManager::Type type;

+ 2
- 2
bibletime/frontend/display/chtmlreaddisplay.cpp View File

@@ -214,7 +214,7 @@ void CHTMLReadDisplay::moveToAnchor( const TQString& anchor ) {
214 214
 void CHTMLReadDisplay::urlSelected( const TQString& url, int button, int state, const TQString& _target, KParts::URLArgs args) {
215 215
 	KHTMLPart::urlSelected(url, button, state, _target, args);
216 216
 	m_urlWorkaroundData.doWorkaround = false;
217
-	//  qWarning("clicked: %s", url.latin1());
217
+	//  tqWarning("clicked: %s", url.latin1());
218 218
 	if (!url.isEmpty() && CReferenceManager::isHyperlink(url)) {
219 219
 		TQString module;
220 220
 		TQString key;
@@ -479,7 +479,7 @@ void CHTMLReadDisplayView::contentsDragEnterEvent( TQDragEnterEvent* e ) {
479 479
 void CHTMLReadDisplay::slotGoToAnchor() {
480 480
 	if (!m_currentAnchorCache.isEmpty()) {
481 481
 		if (!gotoAnchor( m_currentAnchorCache ) ) {
482
-			qDebug("anchor %s not present!", m_currentAnchorCache.latin1());
482
+			tqDebug("anchor %s not present!", m_currentAnchorCache.latin1());
483 483
 		}
484 484
 	}
485 485
 	m_currentAnchorCache = TQString();

+ 1
- 1
bibletime/frontend/display/chtmlwritedisplay.cpp View File

@@ -99,7 +99,7 @@ void CHTMLWriteDisplay::slotAlignmentChanged( int a ) {
99 99
 	//  }
100 100
 	else {
101 101
 		alignLeft = true;
102
-		qWarning("unknown alignment %i", a);
102
+		tqWarning("unknown alignment %i", a);
103 103
 	}
104 104
 
105 105
 	m_actions.alignLeft->setChecked( alignLeft );

+ 1
- 1
bibletime/frontend/display/cplainwritedisplay.cpp View File

@@ -53,7 +53,7 @@ const bool CPlainWriteDisplay::hasSelection() {
53 53
 }
54 54
 
55 55
 TQWidget* CPlainWriteDisplay::view() {
56
-	qDebug("CPlainWriteDisplay::view()");
56
+	tqDebug("CPlainWriteDisplay::view()");
57 57
 	return this;
58 58
 }
59 59
 

+ 5
- 5
bibletime/frontend/displaywindow/cbiblereadwindow.cpp View File

@@ -260,7 +260,7 @@ void CBibleReadWindow::setupPopupMenu() {
260 260
 
261 261
 /** Reimplemented. */
262 262
 void CBibleReadWindow::updatePopupMenu() {
263
-	qWarning("CBibleReadWindow::updatePopupMenu()");
263
+	tqWarning("CBibleReadWindow::updatePopupMenu()");
264 264
 
265 265
 	//enable the action depending on the supported module features
266 266
 // 	bool hasStrongs = false;
@@ -400,7 +400,7 @@ void CBibleReadWindow::reload() {
400 400
 	}
401 401
 
402 402
 	//refresh the book lists
403
-// 	qDebug("lang is %s",backend()->booknameLanguage().latin1());
403
+// 	tqDebug("lang is %s",backend()->booknameLanguage().latin1());
404 404
 	verseKey()->setLocale( backend()->booknameLanguage().latin1() );
405 405
 	keyChooser()->refreshContent();
406 406
 
@@ -413,7 +413,7 @@ bool CBibleReadWindow::eventFilter( TQObject* o, TQEvent* e) {
413 413
 	const bool ret = CLexiconReadWindow::eventFilter(o,e);
414 414
 
415 415
 	//   Q_ASSERT(o->inherits("CDisplayWindow"));
416
-	//   qWarning("class: %s", o->className());
416
+	//   tqWarning("class: %s", o->className());
417 417
 	if (e && (e->type() == TQEvent::FocusIn)) { //sync other windows to this active
418 418
 
419 419
 		/* This is a hack to work around a KHTML problem (similair to the Drag&Drop problem we had):
@@ -437,7 +437,7 @@ void CBibleReadWindow::lookup( CSwordKey* newKey ) {
437 437
 }
438 438
 
439 439
 void CBibleReadWindow::syncWindows() {
440
-	//  qWarning("syncing windows");
440
+	//  tqWarning("syncing windows");
441 441
 	TQWidgetList windows = mdi()->windowList();
442 442
 	//  Q_ASSERT(windows.count());
443 443
 	if (!windows.count()) {
@@ -452,7 +452,7 @@ void CBibleReadWindow::syncWindows() {
452 452
 			w->lookup( key()->key() );
453 453
 		}
454 454
 		/*  else {
455
-		   qWarning("class sync: %s", w->className());
455
+		   tqWarning("class sync: %s", w->className());
456 456
 		  }*/
457 457
 	}
458 458
 }

+ 1
- 1
bibletime/frontend/displaywindow/cbuttons.cpp View File

@@ -88,7 +88,7 @@
88 88
 
89 89
 CDisplaySettingsButton::CDisplaySettingsButton(CSwordBackend::DisplayOptions *displaySettings, CSwordBackend::FilterOptions *moduleSettings, const ListCSwordModuleInfo& useModules,TQWidget *parent, const char *name )
90 90
 : KToolBarButton(CResMgr::displaywindows::displaySettings::icon, 0, parent, name) {
91
-	//  qWarning("CDisplaySettingsButton::CDisplaySettingsButton");
91
+	//  tqWarning("CDisplaySettingsButton::CDisplaySettingsButton");
92 92
 	m_displaySettings = displaySettings;
93 93
 	m_moduleSettings = moduleSettings;
94 94
 	m_modules = useModules;

+ 4
- 4
bibletime/frontend/displaywindow/cdisplaywindow.cpp View File

@@ -59,7 +59,7 @@ CReadWindow* CDisplayWindow::createReadInstance(ListCSwordModuleInfo modules, CM
59 59
 		case CSwordModuleInfo::GenericBook:
60 60
 			return new CBookReadWindow(modules, parent, name);
61 61
 		default:
62
-			qWarning("unknown module type");
62
+			tqWarning("unknown module type");
63 63
 		break;
64 64
 	}
65 65
 	return 0;
@@ -440,7 +440,7 @@ void CDisplayWindow::lookup( const TQString& keyName ) {
440 440
 	*/
441 441
 	Q_ASSERT(modules().first());
442 442
 
443
-	//qDebug("CDisplayWindow::lookup: %s", keyName.latin1());
443
+	//tqDebug("CDisplayWindow::lookup: %s", keyName.latin1());
444 444
 	lookup(modules().first()->name(), keyName);
445 445
 }
446 446
 
@@ -450,7 +450,7 @@ void CDisplayWindow::updatePopupMenu() {}
450 450
 
451 451
 ///** Returns the installed popup menu. */
452 452
 KPopupMenu* const CDisplayWindow::popup() {
453
-	// qWarning("CReadWindow::popup()");
453
+	// tqWarning("CReadWindow::popup()");
454 454
 	if (!m_popupMenu) {
455 455
 		m_popupMenu = new KPopupMenu(this);
456 456
 		connect(m_popupMenu, TQT_SIGNAL(aboutToShow()), this, TQT_SLOT(updatePopupMenu()));
@@ -458,7 +458,7 @@ KPopupMenu* const CDisplayWindow::popup() {
458 458
 			displayWidget()->installPopup(m_popupMenu);
459 459
 		}
460 460
 		/*   else {
461
-		    qWarning("CDisplayWindow:: can't instal popup menu");
461
+		    tqWarning("CDisplayWindow:: can't instal popup menu");
462 462
 		    }*/
463 463
 	}
464 464
 	return m_popupMenu;

+ 3
- 3
bibletime/frontend/displaywindow/clexiconreadwindow.cpp View File

@@ -279,7 +279,7 @@ void CLexiconReadWindow::saveAsPlain() {
279 279
 }
280 280
 
281 281
 void CLexiconReadWindow::slotFillBackHistory() {
282
-	//  qWarning("fill back history");
282
+	//  tqWarning("fill back history");
283 283
 	TQStringList keyList = keyChooser()->getPreviousKeys();
284 284
 	TQPopupMenu* menu = m_actions.backInHistory->popupMenu();
285 285
 	menu->clear();
@@ -293,7 +293,7 @@ void CLexiconReadWindow::slotFillBackHistory() {
293 293
 }
294 294
 
295 295
 void CLexiconReadWindow::slotFillForwardHistory() {
296
-	//  qWarning("fill forward history");
296
+	//  tqWarning("fill forward history");
297 297
 	TQStringList keyList = keyChooser()->getNextKeys();
298 298
 	TQPopupMenu* menu = m_actions.forwardInHistory->popupMenu();
299 299
 	menu->clear();
@@ -308,7 +308,7 @@ void CLexiconReadWindow::slotFillForwardHistory() {
308 308
 
309 309
 
310 310
 void CLexiconReadWindow::slotUpdateHistoryButtons() {
311
-	//  qWarning("updating history buttons");
311
+	//  tqWarning("updating history buttons");
312 312
 	Q_ASSERT(m_actions.backInHistory);
313 313
 	Q_ASSERT(keyChooser());
314 314
 

+ 1
- 1
bibletime/frontend/displaywindow/cmodulechooserbutton.cpp View File

@@ -262,7 +262,7 @@ void CModuleChooserButton::updateMenuItems() {
262 262
 
263 263
  			Q_ASSERT(module);
264 264
 // 			if (!module) {
265
-// 				qWarning("Can't find module with name %s", moduleName.latin1());
265
+// 				tqWarning("Can't find module with name %s", moduleName.latin1());
266 266
 // 			}
267 267
 
268 268
 			bool alreadyChosen = chosenModules.contains( module );

+ 1
- 1
bibletime/frontend/displaywindow/cplainwritewindow.cpp View File

@@ -37,7 +37,7 @@ CPlainWriteWindow::~CPlainWriteWindow() {}
37 37
 
38 38
 /** Initialize the state of this widget. */
39 39
 void CPlainWriteWindow::initView() {
40
-	//  qWarning("CPlainWriteWindow::initView()");
40
+	//  tqWarning("CPlainWriteWindow::initView()");
41 41
 	setDisplayWidget( CDisplay::createWriteInstance(this) );
42 42
 	setCentralWidget( displayWidget()->view() );
43 43
 

+ 3
- 3
bibletime/frontend/displaywindow/creadwindow.cpp View File

@@ -43,7 +43,7 @@ m_displayWidget(0) {
43 43
 }
44 44
 
45 45
 CReadWindow::~CReadWindow() {
46
-	//  qWarning("destructor of CReadWindow");
46
+	//  tqWarning("destructor of CReadWindow");
47 47
 }
48 48
 
49 49
 /** Returns the display widget of this window. */
@@ -106,7 +106,7 @@ void CReadWindow::lookup( CSwordKey* newKey ) {
106 106
 
107 107
 	setCaption( windowCaption() );
108 108
 
109
-	//  qDebug("[CReadWindow::lookup] Moving to anchor %s", CDisplayRendering::keyToHTMLAnchor(key()->key()).latin1());
109
+	//  tqDebug("[CReadWindow::lookup] Moving to anchor %s", CDisplayRendering::keyToHTMLAnchor(key()->key()).latin1());
110 110
 
111 111
 	displayWidget()->moveToAnchor( CDisplayRendering::keyToHTMLAnchor(key()->key()) );
112 112
 }
@@ -184,7 +184,7 @@ void CReadWindow::resizeEvent(TQResizeEvent* /*e*/) {
184 184
 }
185 185
 
186 186
 void CReadWindow::openSearchStrongsDialog() {
187
-//	qWarning("looking for lemma %s",  displayWidget()->getCurrentNodeInfo()[CDisplay::Lemma].latin1() );
187
+//	tqWarning("looking for lemma %s",  displayWidget()->getCurrentNodeInfo()[CDisplay::Lemma].latin1() );
188 188
 	TQString searchText = TQString();
189 189
 	
190 190
 	if (displayWidget()->getCurrentNodeInfo()[CDisplay::Lemma] != TQString()) {

+ 2
- 2
bibletime/frontend/displaywindow/cwritewindow.cpp View File

@@ -39,7 +39,7 @@ void CWriteWindow::insertKeyboardActions( KActionCollection* const ) {
39 39
 }
40 40
 
41 41
 void CWriteWindow::initConnections() {
42
-	//  qWarning("CWriteWindow::initConnections()");
42
+	//  tqWarning("CWriteWindow::initConnections()");
43 43
 	Q_ASSERT(keyChooser());
44 44
 
45 45
 	connect(keyChooser(), TQT_SIGNAL(beforeKeyChange(const TQString&)),
@@ -135,7 +135,7 @@ CWriteDisplay* const CWriteWindow::displayWidget() {
135 135
 
136 136
 /** Saves settings */
137 137
 bool CWriteWindow::queryClose() {
138
-	//  qWarning("queryClose called!");
138
+	//  tqWarning("queryClose called!");
139 139
 	//save the text if it has changed
140 140
 	if (m_writeDisplay->isModified()) {
141 141
 		switch (KMessageBox::warningYesNoCancel( this, i18n("Save text before closing?")) ) {

+ 1
- 1
bibletime/frontend/keychooser/cbiblekeychooser.cpp View File

@@ -34,7 +34,7 @@ m_key(dynamic_cast<CSwordVerseKey*>(key)) {
34 34
 	w_ref = 0;
35 35
 	setModules(modules, false);
36 36
 	if (!m_modules.count()) {
37
-		qWarning("CBibleKeyChooser: module is not a Bible or commentary!");
37
+		tqWarning("CBibleKeyChooser: module is not a Bible or commentary!");
38 38
 		m_key = 0;
39 39
 		return;
40 40
 	}

+ 3
- 3
bibletime/frontend/keychooser/cbookkeychooser.cpp View File

@@ -43,7 +43,7 @@ void CBookKeyChooser::setKey(CSwordKey* newKey) {
43 43
 
44 44
 /** Sets a new key to this keychooser */
45 45
 void CBookKeyChooser::setKey(CSwordKey* newKey, const bool emitSignal) {
46
-	//qDebug("CBookKeyChooser::setKey");
46
+	//tqDebug("CBookKeyChooser::setKey");
47 47
 	if (m_key != newKey) {
48 48
 		m_key = dynamic_cast<CSwordTreeKey*>(newKey);
49 49
 	}
@@ -76,7 +76,7 @@ void CBookKeyChooser::setKey(CSwordKey* newKey, const bool emitSignal) {
76 76
 
77 77
 			do {
78 78
 				++index;
79
-				//qDebug("set 'found'");
79
+				//tqDebug("set 'found'");
80 80
 				//found = (TQString::fromLocal8Bit(m_key->getLocalName()) == sibling);
81 81
 				found = (m_key->getLocalNameUnicode() == sibling);
82 82
 			}
@@ -276,7 +276,7 @@ void CBookKeyChooser::keyChooserChanged(int /*newIndex*/) {
276 276
 		newKey.remove(newKey.length(),1); //remove the traling slash
277 277
 	}
278 278
 
279
-	//  qWarning("key changed: setting to %s", newKey.latin1());
279
+	//  tqWarning("key changed: setting to %s", newKey.latin1());
280 280
 	m_key->key(newKey);
281 281
 	setKey(m_key);
282 282
 }

+ 5
- 5
bibletime/frontend/keychooser/cbooktreechooser.cpp View File

@@ -29,7 +29,7 @@ CBookTreeChooser::TreeItem::TreeItem(TQListViewItem* parent, TQListViewItem* aft
29 29
 : KListViewItem(parent, after),
30 30
 m_key(key),
31 31
 m_keyName(keyName) {
32
-	//qDebug("first CBookTreeChooser::TreeItem ctor");
32
+	//tqDebug("first CBookTreeChooser::TreeItem ctor");
33 33
 	const unsigned long offset = m_key->getOffset();
34 34
 
35 35
 	m_key->key(m_keyName);
@@ -43,7 +43,7 @@ CBookTreeChooser::TreeItem::TreeItem(TQListViewItem* parent,CSwordTreeKey* key,
43 43
 : KListViewItem(parent),
44 44
 m_key(key),
45 45
 m_keyName(keyName) {
46
-	//qDebug("second CBookTreeChooser::TreeItem ctor");
46
+	//tqDebug("second CBookTreeChooser::TreeItem ctor");
47 47
 	const unsigned int offset = m_key->getOffset();
48 48
 
49 49
 	m_key->key(m_keyName);
@@ -57,7 +57,7 @@ CBookTreeChooser::TreeItem::TreeItem(TQListView* view, TQListViewItem* after,CSw
57 57
 : KListViewItem(view,after),
58 58
 m_key(key),
59 59
 m_keyName(keyName) {
60
-	//qDebug("third CBookTreeChooser::TreeItem ctor");
60
+	//tqDebug("third CBookTreeChooser::TreeItem ctor");
61 61
 	const unsigned int offset = m_key->getOffset();
62 62
 
63 63
 	m_key->key(m_keyName);
@@ -247,11 +247,11 @@ void CBookTreeChooser::adjustFont() {
247 247
 	// if ( m_modules.first()->isUnicode() ){
248 248
 	m_treeView->setFont( CBTConfig::get
249 249
 							 (m_modules.first()->language()).second );
250
-	//  qWarning("Unicode Book detected");
250
+	//  tqWarning("Unicode Book detected");
251 251
 	// }
252 252
 	// else{
253 253
 	//  m_treeView->setFont( CBTConfig::get(CBTConfig::standard) );
254
-	//  qWarning("Standard Book detected");
254
+	//  tqWarning("Standard Book detected");
255 255
 	// }
256 256
 }
257 257
 

+ 5
- 5
bibletime/frontend/keychooser/ckeychooser.cpp View File

@@ -54,7 +54,7 @@ void CKeyChooser::backInHistory() {
54 54
 
55 55
 void CKeyChooser::backInHistory(int count) {
56 56
 	m_inHistoryFunction = true;
57
-	//  qWarning("go back %d items in history", count);
57
+	//  tqWarning("go back %d items in history", count);
58 58
 
59 59
 	Q_ASSERT(m_prevKeyHistoryList.size());
60 60
 
@@ -63,7 +63,7 @@ void CKeyChooser::backInHistory(int count) {
63 63
 	//pop_front count items, the top item is then the new current key
64 64
 	int index = count;
65 65
 	while ((index > 0) && (it != m_prevKeyHistoryList.end())) {
66
-		//    qWarning("pop_front");
66
+		//    tqWarning("pop_front");
67 67
 
68 68
 		m_nextKeyHistoryList.prepend(*it);
69 69
 		it = m_prevKeyHistoryList.remove(it);
@@ -86,7 +86,7 @@ void CKeyChooser::forwardInHistory() {
86 86
 
87 87
 void CKeyChooser::forwardInHistory(int count) {
88 88
 	m_inHistoryFunction = true;
89
-	//  qWarning("go forward %d items in history", count);
89
+	//  tqWarning("go forward %d items in history", count);
90 90
 
91 91
 	Q_ASSERT(m_nextKeyHistoryList.size());
92 92
 
@@ -94,7 +94,7 @@ void CKeyChooser::forwardInHistory(int count) {
94 94
 	//pop_front count-1 items, the top item is then the new current key
95 95
 	int index = count;
96 96
 	while (index > 0 && it != m_nextKeyHistoryList.end()) {
97
-		//    qWarning("pop_front");
97
+		//    tqWarning("pop_front");
98 98
 
99 99
 		m_prevKeyHistoryList.prepend(*it);
100 100
 		it = m_nextKeyHistoryList.remove(it);
@@ -113,7 +113,7 @@ void CKeyChooser::forwardInHistory(int count) {
113 113
 }
114 114
 
115 115
 void CKeyChooser::addToHistory(CSwordKey* k) {
116
-	//  qWarning("addToHistory");
116
+	//  tqWarning("addToHistory");
117 117
 
118 118
 	Q_ASSERT(!m_inHistoryFunction);
119 119
 	if (k && !m_inHistoryFunction) {

+ 4
- 4
bibletime/frontend/keychooser/ckeychooserwidget.cpp View File

@@ -141,7 +141,7 @@ void CKeyChooserWidget::reset(TQStringList *list, int index, bool do_emit) {
141 141
 	if (isResetting || !isUpdatesEnabled())
142 142
 		return;
143 143
 
144
-	//  qWarning("starting insert");
144
+	//  tqWarning("starting insert");
145 145
 	isResetting = true;
146 146
 
147 147
 	oldKey = TQString();
@@ -176,7 +176,7 @@ void CKeyChooserWidget::reset(TQStringList *list, int index, bool do_emit) {
176 176
 	//  m_comboBox->setUpdatesEnabled(true);
177 177
 
178 178
 	isResetting = false;
179
-	//  qWarning("inserted");
179
+	//  tqWarning("inserted");
180 180
 }
181 181
 
182 182
 /** Initializes this widget. We need this function because we have more than one constructor. */
@@ -216,7 +216,7 @@ void CKeyChooserWidget::init() {
216 216
 /** Is called when the return key was presed in the combobox. */
217 217
 void CKeyChooserWidget::slotReturnPressed( /*const TQString& text*/) {
218 218
 	Q_ASSERT(comboBox()->lineEdit());
219
-	qWarning("return pressed");
219
+	tqWarning("return pressed");
220 220
 
221 221
 	TQString text = comboBox()->lineEdit()->text();
222 222
 	for (int index = 0; index < comboBox()->count(); ++index) {
@@ -230,7 +230,7 @@ void CKeyChooserWidget::slotReturnPressed( /*const TQString& text*/) {
230 230
 
231 231
 /** Is called when the current item of the combo box was changed. */
232 232
 void CKeyChooserWidget::slotComboChanged(int index) {
233
-	qWarning("CKeyChooserWidget::slotComboChanged(int index)");
233
+	tqWarning("CKeyChooserWidget::slotComboChanged(int index)");
234 234
 	if (!isUpdatesEnabled()) {
235 235
 		return;
236 236
 	}

+ 6
- 6
bibletime/frontend/keychooser/clexiconkeychooser.cpp View File

@@ -64,7 +64,7 @@ m_key(dynamic_cast<CSwordLDKey*>(key)) {
64 64
 }
65 65
 
66 66
 CSwordKey* const CLexiconKeyChooser::key() {
67
-	//  qWarning("key");
67
+	//  tqWarning("key");
68 68
 	return m_key;
69 69
 }
70 70
 
@@ -73,17 +73,17 @@ void CLexiconKeyChooser::setKey(CSwordKey* key) {
73 73
 		return;
74 74
 	}
75 75
 
76
-	//  qWarning("setKey start");
76
+	//  tqWarning("setKey start");
77 77
 	TQString newKey = m_key->key();
78 78
 	const int index = m_widget->comboBox()->listBox()->index(m_widget->comboBox()->listBox()->findItem( newKey ));
79 79
 	m_widget->comboBox()->setCurrentItem(index);
80 80
 
81
-	//   qWarning("setKey end");
81
+	//   tqWarning("setKey end");
82 82
 	emit keyChanged( m_key );
83 83
 }
84 84
 
85 85
 void CLexiconKeyChooser::activated(int index) {
86
-	//  qWarning("activated");
86
+	//  tqWarning("activated");
87 87
 	const TQString text = m_widget->comboBox()->text(index);
88 88
 
89 89
 	// To prevent from eternal loop, because activated() is emitted again
@@ -91,7 +91,7 @@ void CLexiconKeyChooser::activated(int index) {
91 91
 		m_key->key(text);
92 92
 		setKey(m_key);
93 93
 	}
94
-	//  qWarning("activated end");
94
+	//  tqWarning("activated end");
95 95
 }
96 96
 
97 97
 inline const bool my_cmpEntries(const TQString& a, const TQString& b) {
@@ -102,7 +102,7 @@ inline const bool my_cmpEntries(const TQString& a, const TQString& b) {
102 102
 void CLexiconKeyChooser::refreshContent() {
103 103
 	if (m_modules.count() == 1) {
104 104
 		m_widget->reset(m_modules.first()->entries(), 0, true);
105
-		//     qWarning("resetted");
105
+		//     tqWarning("resetted");
106 106
 	}
107 107
 	else {
108 108
 		typedef std::multimap<unsigned int, TQStringList*> EntryMap;

+ 1
- 1
bibletime/frontend/kstartuplogo.cpp View File

@@ -60,7 +60,7 @@ KStartupLogo::KStartupLogo()
60 60
 
61 61
 	TQPixmap pm;
62 62
 	if ( !pm.load(locate("BT_pic","startuplogo.png")) ) {
63
-		qWarning("Can't load startuplogo! Check your installation.");
63
+		tqWarning("Can't load startuplogo! Check your installation.");
64 64
 	}
65 65
 
66 66
 	setBackgroundPixmap(pm);

+ 7
- 7
bibletime/frontend/mainindex/cindexitem.cpp View File

@@ -198,7 +198,7 @@ void CModuleItem::dropped( TQDropEvent* e, TQListViewItem* /*after*/) {
198 198
 		CDragDropMgr::ItemList dndItems = CDragDropMgr::decode(e);
199 199
 		CDragDropMgr::Item item = dndItems.first();
200 200
 		if (CDragDropMgr::dndType(e) == CDragDropMgr::Item::Text) { //open the searchdialog
201
-			//      qWarning("Text dropped!");
201
+			//      tqWarning("Text dropped!");
202 202
 			if ( module() ) {
203 203
 				ListCSwordModuleInfo modules;
204 204
 				modules.append(module());
@@ -324,7 +324,7 @@ const TQString CBookmarkItem::toolTip() {
324 324
 
325 325
 	Q_ASSERT(k.get());
326 326
 	if (fontPair.first) { //use a special font
327
-		qWarning("using a font, %s", TQString(fontPair.second.family()).latin1());
327
+		tqWarning("using a font, %s", TQString(fontPair.second.family()).latin1());
328 328
 		ret = TQString::fromLatin1("<b>%1 (%2)</b><br/><small>%3</small><hr><font face=\"%4\" size=\"4\">%5</font>")
329 329
 			  .arg(key())
330 330
 			  .arg(module()->name())
@@ -620,7 +620,7 @@ setText(0, !language().isEmpty() ? ( lang->isValid() ? lang->translatedName() :
620 620
 }
621 621
 
622 622
 void CTreeFolder::initTree() {
623
-	//  qWarning("CTreeMgr::initTree");
623
+	//  tqWarning("CTreeMgr::initTree");
624 624
 	if (type() == Unknown)
625 625
 		return;
626 626
 
@@ -728,7 +728,7 @@ namespace Bookmarks {
728 728
 		while ( (it_groups != groupList.end()) && (it_parents != parentList.end()) ) {
729 729
 			TQDomElement parentElement = (*it_parents == -1) ? content : parentMap[*it_parents];
730 730
 			if (parentElement.isNull()) {
731
-				qWarning("EMPTY PARENT FOUND!");
731
+				tqWarning("EMPTY PARENT FOUND!");
732 732
 				parentElement = content;
733 733
 			};
734 734
 
@@ -761,7 +761,7 @@ namespace Bookmarks {
761 761
 			  ) {
762 762
 			TQDomElement parentElement = ((*it_parents) == -1) ? content : parentMap[(*it_parents)];
763 763
 			if (parentElement.isNull()) {
764
-				qWarning("EMPTY PARENT FOUND!");
764
+				tqWarning("EMPTY PARENT FOUND!");
765 765
 				parentElement = content;
766 766
 			};
767 767
 			TQDomElement elem = doc.createElement("Bookmark");
@@ -989,7 +989,7 @@ void CBookmarkFolder::importBookmarks() {
989 989
 }
990 990
 
991 991
 bool CBookmarkFolder::acceptDrop(const TQMimeSource * src) const {
992
-	//   qWarning("bool CBookmarkFolder::acceptDrop(const TQMimeSource * src): return%ii", (CDragDropMgr::canDecode(src) && (CDragDropMgr::dndType(src) == CDragDropMgr::Item::Bookmark)));
992
+	//   tqWarning("bool CBookmarkFolder::acceptDrop(const TQMimeSource * src): return%ii", (CDragDropMgr::canDecode(src) && (CDragDropMgr::dndType(src) == CDragDropMgr::Item::Bookmark)));
993 993
 
994 994
 	return CDragDropMgr::canDecode(src)
995 995
 		   && (CDragDropMgr::dndType(src) == CDragDropMgr::Item::Bookmark);
@@ -1052,7 +1052,7 @@ const bool CBookmarkFolder::loadBookmarksFromXML( const TQString& xml ) {
1052 1052
 	doc.setContent(xml);
1053 1053
 	TQDomElement document = doc.documentElement();
1054 1054
 	if( document.tagName() != "SwordBookmarks" ) {
1055
-		qWarning("Not a BibleTime Bookmark XML file");
1055
+		tqWarning("Not a BibleTime Bookmark XML file");
1056 1056
 		return false;
1057 1057
 	}
1058 1058
 

+ 3
- 3
bibletime/frontend/mainindex/cmainindex.cpp View File

@@ -608,7 +608,7 @@ void CMainIndex::startDrag() {
608 608
 
609 609
 /** Reimplementation to support the items dragEnter and dragLeave functions. */
610 610
 void CMainIndex::contentsDragMoveEvent( TQDragMoveEvent* event ) {
611
-	//  qWarning("void CMainIndex:: drag move event ( TQDragLeaveEvent* e )");
611
+	//  tqWarning("void CMainIndex:: drag move event ( TQDragLeaveEvent* e )");
612 612
 	CItemBase* i = dynamic_cast<CItemBase*>( itemAt( contentsToViewport(event->pos())) );
613 613
 	if (i) {
614 614
 		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 {
689 689
 
690 690
 /** Is called when items should be moved. */
691 691
 void CMainIndex::moved( TQPtrList<TQListViewItem>& /*items*/, TQPtrList<TQListViewItem>& /*afterFirst*/, TQPtrList<TQListViewItem>& /*afterNow*/) {
692
-	qDebug("move items");
692
+	tqDebug("move items");
693 693
 }
694 694
 
695 695
 /** Opens an editor window to edit the modules content. */
@@ -758,7 +758,7 @@ void CMainIndex::saveBookmarks() {
758 758
 }
759 759
 
760 760
 void CMainIndex::readSettings() {
761
- 	qDebug("CMainIndex::readSettings");
761
+ 	tqDebug("CMainIndex::readSettings");
762 762
 	
763 763
 	TQStringList openGroups = CBTConfig::get(CBTConfig::bookshelfOpenGroups);
764 764
 	for (TQStringList::Iterator it( openGroups.begin() ); it != openGroups.end(); ++it) {

+ 2
- 2
bibletime/frontend/searchdialog/cmodulechooser.cpp View File

@@ -252,13 +252,13 @@ ListCSwordModuleInfo CModuleChooser::modules() {
252 252
 
253 253
 /** Sets the list of modules and updates the state of the checkbox items. */
254 254
 void CModuleChooser::setModules( ListCSwordModuleInfo modules ) {
255
-	//  qWarning("CModuleChooser::setModules( ListCSwordModuleInfo modules )");
255
+	//  tqWarning("CModuleChooser::setModules( ListCSwordModuleInfo modules )");
256 256
 	TQListViewItemIterator it( this );
257 257
 	for ( ; it.current(); ++it ) {
258 258
 		if ( ModuleCheckBoxItem* i = dynamic_cast<ModuleCheckBoxItem*>(it.current()) ) {
259 259
 			i->setOn(modules.contains(i->module())); //set the status for the module checkbox item
260 260
 			//      if (i->isOn()) { //if it's checked, show the item
261
-			//        qWarning("show item!");
261
+			//        tqWarning("show item!");
262 262
 			//        ensureItemVisible(i);
263 263
 			//      }
264 264
 		}

+ 2
- 2
bibletime/frontend/searchdialog/crangechooser.cpp View File

@@ -53,7 +53,7 @@ CRangeChooserDialog::RangeItem::RangeItem(TQListView* view, TQListViewItem* afte
53 53
 CRangeChooserDialog::RangeItem::~RangeItem() {}
54 54
 
55 55
 const TQString& CRangeChooserDialog::RangeItem::range() {
56
-	//  qWarning("ange is %s", (const char*)m_range.utf8());
56
+	//  tqWarning("ange is %s", (const char*)m_range.utf8());
57 57
 	return m_range;
58 58
 }
59 59
 
@@ -196,7 +196,7 @@ void CRangeChooserDialog::parseRange() {
196 196
 	sword::ListKey verses = key.ParseVerseList((const char*)range.utf8(), "Genesis 1:1", true);
197 197
 	for (int i = 0; i < verses.Count(); ++i) {
198 198
 		new KListViewItem(m_resultList, TQString::fromUtf8(verses.GetElement(i)->getRangeText()));
199
-		//    qWarning("range=%s, text=%s",verses.GetElement(i)->getRangeText(), verses.GetElement(i)->getText() );
199
+		//    tqWarning("range=%s, text=%s",verses.GetElement(i)->getRangeText(), verses.GetElement(i)->getText() );
200 200
 	}
201 201
 
202 202
 }

+ 1
- 1
bibletime/frontend/searchdialog/csearchdialog.cpp View File

@@ -226,7 +226,7 @@ void CSearchDialog::initView() {
226 226
 }
227 227
 
228 228
 void CSearchDialog::searchFinished() {
229
-// 	qWarning("CSearchDialog::searchFinished()");
229
+// 	tqWarning("CSearchDialog::searchFinished()");
230 230
 
231 231
 	if ( m_searcher.foundItems() ) {
232 232
 		m_searchResultPage->setSearchResult(modules());

+ 1
- 1
bibletime/frontend/searchdialog/csearchdialogpages.cpp View File

@@ -547,7 +547,7 @@ const TQString CSearchResultPage::highlightSearchedText(const TQString& content,
547 547
 			index += length;
548 548
 		}
549 549
 	}
550
-	//qWarning("\n\n\n%s", ret.latin1());
550
+	//tqWarning("\n\n\n%s", ret.latin1());
551 551
 	return ret;
552 552
 };
553 553
 

+ 1
- 1
bibletime/frontend/searchdialog/csearchresultview.cpp View File

@@ -148,7 +148,7 @@ void CSearchResultView::setupStrongsTree(CSwordModuleInfo* m, TQStringList* vLis
148 148
 /** Is connected to the signal executed, which is emitted when a mew item was chosen. */
149 149
 void CSearchResultView::executed(TQListViewItem* item) {
150 150
 	//  Q_ASSERT(item);
151
-	//  qWarning("executed");
151
+	//  tqWarning("executed");
152 152
 	emit keySelected(item->text(0));
153 153
 }
154 154
 

+ 1
- 1
bibletime/main.cpp View File

@@ -246,7 +246,7 @@ int main(int argc, char* argv[]) {
246 246
 	}
247 247
 
248 248
 	if (kapp->isRestored()) {
249
-		//    qWarning("Restoring BibleTime");
249
+		//    tqWarning("Restoring BibleTime");
250 250
 		//RESTORE( BibleTime );
251 251
 		int n = 1;
252 252
 		while (KMainWindow::canBeRestored(n)){

+ 1
- 1
bibletime/util/ctoolclass.cpp View File

@@ -181,7 +181,7 @@ bool CToolClass::inHTMLTag(int pos, TQString & text) {
181 181
 	if ((i3>0) && (i4==-1))  //we're in the last html tag
182 182
 		i4=i3+1;
183 183
 
184
-	//  qWarning("%d > %d && %d < %d",i1,i2,i3,i4);
184
+	//  tqWarning("%d > %d && %d < %d",i1,i2,i3,i4);
185 185
 
186 186
 	if ( (i1>i2) && (i3<i4) )
187 187
 		return true; //yes, we're in a tag

+ 4
- 4
bibletime/util/directoryutil.cpp View File

@@ -20,7 +20,7 @@ namespace util {
20 20
 namespace filesystem {
21 21
 
22 22
 void DirectoryUtil::removeRecursive(const TQString& dir) {
23
-	qWarning("removeRecursive(%s)", dir.latin1());
23
+	tqWarning("removeRecursive(%s)", dir.latin1());
24 24
 	if (dir == TQString())  {
25 25
 		return;
26 26
 	}
@@ -40,7 +40,7 @@ void DirectoryUtil::removeRecursive(const TQString& dir) {
40 40
 	while ( (fi = it_file.current()) != 0 ) {
41 41
 		++it_file;
42 42
 
43
-		qDebug("Removing %s", fi->absFilePath().latin1() );
43
+		tqDebug("Removing %s", fi->absFilePath().latin1() );
44 44
 		d.remove( fi->fileName() ) ;
45 45
 	}
46 46
 
@@ -56,7 +56,7 @@ void DirectoryUtil::removeRecursive(const TQString& dir) {
56 56
 			continue;
57 57
 		}
58 58
 		
59
-		qDebug("Removing dir %s", fi->absFilePath().latin1() );
59
+		tqDebug("Removing dir %s", fi->absFilePath().latin1() );
60 60
 		//d.remove( fi->fileName() ) ;
61 61
 
62 62
 		removeRecursive( fi->absFilePath() );
@@ -68,7 +68,7 @@ void DirectoryUtil::removeRecursive(const TQString& dir) {
68 68
 /** Returns the size of the directory including the size of all it's files and it's subdirs.
69 69
  */
70 70
 unsigned long DirectoryUtil::getDirSizeRecursive(const TQString& dir) {
71
-	qWarning("Getting size for %s", dir.latin1());
71
+	tqWarning("Getting size for %s", dir.latin1());
72 72
 
73 73
 	TQDir d(dir);
74 74
 	if (!d.exists()) {

Loading…
Cancel
Save