summaryrefslogtreecommitdiffstats
path: root/bibletime/bibletimeinterface_skel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bibletime/bibletimeinterface_skel.cpp')
-rw-r--r--bibletime/bibletimeinterface_skel.cpp108
1 files changed, 54 insertions, 54 deletions
diff --git a/bibletime/bibletimeinterface_skel.cpp b/bibletime/bibletimeinterface_skel.cpp
index 7d956d6..36ef922 100644
--- a/bibletime/bibletimeinterface_skel.cpp
+++ b/bibletime/bibletimeinterface_skel.cpp
@@ -9,24 +9,24 @@
#include "./bibletimeinterface.h"
#include <kdatastream.h>
-#include <qasciidict.h>
+#include <tqasciidict.h>
static const int BibleTimeInterface_fhash = 17;
static const char* const BibleTimeInterface_ftable[14][3] = {
- { "void", "syncAllBibles(QString)", "syncAllBibles(QString key)" },
- { "void", "syncAllCommentaries(QString)", "syncAllCommentaries(QString key)" },
- { "void", "syncAllLexicons(QString)", "syncAllLexicons(QString key)" },
- { "void", "syncAllVerseBasedModules(QString)", "syncAllVerseBasedModules(QString key)" },
+ { "void", "syncAllBibles(TQString)", "syncAllBibles(TQString key)" },
+ { "void", "syncAllCommentaries(TQString)", "syncAllCommentaries(TQString key)" },
+ { "void", "syncAllLexicons(TQString)", "syncAllLexicons(TQString key)" },
+ { "void", "syncAllVerseBasedModules(TQString)", "syncAllVerseBasedModules(TQString key)" },
{ "void", "reloadModules()", "reloadModules()" },
- { "void", "openWindow(QString,QString)", "openWindow(QString moduleName,QString key)" },
- { "void", "openDefaultBible(QString)", "openDefaultBible(QString key)" },
+ { "void", "openWindow(TQString,TQString)", "openWindow(TQString moduleName,TQString key)" },
+ { "void", "openDefaultBible(TQString)", "openDefaultBible(TQString key)" },
{ "void", "closeAllModuleWindows()", "closeAllModuleWindows()" },
- { "QString", "getCurrentReference()", "getCurrentReference()" },
- { "QStringList", "searchInModule(QString,QString)", "searchInModule(QString moduleName,QString searchText)" },
- { "QStringList", "searchInOpenModules(QString)", "searchInOpenModules(QString searchText)" },
- { "QStringList", "searchInDefaultBible(QString)", "searchInDefaultBible(QString searchText)" },
- { "QStringList", "getModulesOfType(QString)", "getModulesOfType(QString type)" },
+ { "TQString", "getCurrentReference()", "getCurrentReference()" },
+ { "TQStringList", "searchInModule(TQString,TQString)", "searchInModule(TQString moduleName,TQString searchText)" },
+ { "TQStringList", "searchInOpenModules(TQString)", "searchInOpenModules(TQString searchText)" },
+ { "TQStringList", "searchInDefaultBible(TQString)", "searchInDefaultBible(TQString searchText)" },
+ { "TQStringList", "getModulesOfType(TQString)", "getModulesOfType(TQString type)" },
{ 0, 0, 0 }
};
static const int BibleTimeInterface_ftable_hiddens[13] = {
@@ -45,43 +45,43 @@ static const int BibleTimeInterface_ftable_hiddens[13] = {
0,
};
-bool BibleTimeInterface::process(const QCString &fun, const QByteArray &data, QCString& replyType, QByteArray &replyData)
+bool BibleTimeInterface::process(const TQCString &fun, const TQByteArray &data, TQCString& replyType, TQByteArray &replyData)
{
- static QAsciiDict<int>* fdict = 0;
+ static TQAsciiDict<int>* fdict = 0;
if ( !fdict ) {
- fdict = new QAsciiDict<int>( BibleTimeInterface_fhash, true, false );
+ fdict = new TQAsciiDict<int>( BibleTimeInterface_fhash, true, false );
for ( int i = 0; BibleTimeInterface_ftable[i][1]; i++ )
fdict->insert( BibleTimeInterface_ftable[i][1], new int( i ) );
}
int* fp = fdict->find( fun );
switch ( fp?*fp:-1) {
- case 0: { // void syncAllBibles(QString)
- QString arg0;
- QDataStream arg( data, IO_ReadOnly );
+ case 0: { // void syncAllBibles(TQString)
+ TQString arg0;
+ TQDataStream arg( data, IO_ReadOnly );
if (arg.atEnd()) return false;
arg >> arg0;
replyType = BibleTimeInterface_ftable[0][0];
syncAllBibles(arg0 );
} break;
- case 1: { // void syncAllCommentaries(QString)
- QString arg0;
- QDataStream arg( data, IO_ReadOnly );
+ case 1: { // void syncAllCommentaries(TQString)
+ TQString arg0;
+ TQDataStream arg( data, IO_ReadOnly );
if (arg.atEnd()) return false;
arg >> arg0;
replyType = BibleTimeInterface_ftable[1][0];
syncAllCommentaries(arg0 );
} break;
- case 2: { // void syncAllLexicons(QString)
- QString arg0;
- QDataStream arg( data, IO_ReadOnly );
+ case 2: { // void syncAllLexicons(TQString)
+ TQString arg0;
+ TQDataStream arg( data, IO_ReadOnly );
if (arg.atEnd()) return false;
arg >> arg0;
replyType = BibleTimeInterface_ftable[2][0];
syncAllLexicons(arg0 );
} break;
- case 3: { // void syncAllVerseBasedModules(QString)
- QString arg0;
- QDataStream arg( data, IO_ReadOnly );
+ case 3: { // void syncAllVerseBasedModules(TQString)
+ TQString arg0;
+ TQDataStream arg( data, IO_ReadOnly );
if (arg.atEnd()) return false;
arg >> arg0;
replyType = BibleTimeInterface_ftable[3][0];
@@ -91,10 +91,10 @@ bool BibleTimeInterface::process(const QCString &fun, const QByteArray &data, QC
replyType = BibleTimeInterface_ftable[4][0];
reloadModules( );
} break;
- case 5: { // void openWindow(QString,QString)
- QString arg0;
- QString arg1;
- QDataStream arg( data, IO_ReadOnly );
+ case 5: { // void openWindow(TQString,TQString)
+ TQString arg0;
+ TQString arg1;
+ TQDataStream arg( data, IO_ReadOnly );
if (arg.atEnd()) return false;
arg >> arg0;
if (arg.atEnd()) return false;
@@ -102,9 +102,9 @@ bool BibleTimeInterface::process(const QCString &fun, const QByteArray &data, QC
replyType = BibleTimeInterface_ftable[5][0];
openWindow(arg0, arg1 );
} break;
- case 6: { // void openDefaultBible(QString)
- QString arg0;
- QDataStream arg( data, IO_ReadOnly );
+ case 6: { // void openDefaultBible(TQString)
+ TQString arg0;
+ TQDataStream arg( data, IO_ReadOnly );
if (arg.atEnd()) return false;
arg >> arg0;
replyType = BibleTimeInterface_ftable[6][0];
@@ -114,48 +114,48 @@ bool BibleTimeInterface::process(const QCString &fun, const QByteArray &data, QC
replyType = BibleTimeInterface_ftable[7][0];
closeAllModuleWindows( );
} break;
- case 8: { // QString getCurrentReference()
+ case 8: { // TQString getCurrentReference()
replyType = BibleTimeInterface_ftable[8][0];
- QDataStream _replyStream( replyData, IO_WriteOnly );
+ TQDataStream _replyStream( replyData, IO_WriteOnly );
_replyStream << getCurrentReference( );
} break;
- case 9: { // QStringList searchInModule(QString,QString)
- QString arg0;
- QString arg1;
- QDataStream arg( data, IO_ReadOnly );
+ case 9: { // TQStringList searchInModule(TQString,TQString)
+ TQString arg0;
+ TQString arg1;
+ TQDataStream arg( data, IO_ReadOnly );
if (arg.atEnd()) return false;
arg >> arg0;
if (arg.atEnd()) return false;
arg >> arg1;
replyType = BibleTimeInterface_ftable[9][0];
- QDataStream _replyStream( replyData, IO_WriteOnly );
+ TQDataStream _replyStream( replyData, IO_WriteOnly );
_replyStream << searchInModule(arg0, arg1 );
} break;
- case 10: { // QStringList searchInOpenModules(QString)
- QString arg0;
- QDataStream arg( data, IO_ReadOnly );
+ case 10: { // TQStringList searchInOpenModules(TQString)
+ TQString arg0;
+ TQDataStream arg( data, IO_ReadOnly );
if (arg.atEnd()) return false;
arg >> arg0;
replyType = BibleTimeInterface_ftable[10][0];
- QDataStream _replyStream( replyData, IO_WriteOnly );
+ TQDataStream _replyStream( replyData, IO_WriteOnly );
_replyStream << searchInOpenModules(arg0 );
} break;
- case 11: { // QStringList searchInDefaultBible(QString)
- QString arg0;
- QDataStream arg( data, IO_ReadOnly );
+ case 11: { // TQStringList searchInDefaultBible(TQString)
+ TQString arg0;
+ TQDataStream arg( data, IO_ReadOnly );
if (arg.atEnd()) return false;
arg >> arg0;
replyType = BibleTimeInterface_ftable[11][0];
- QDataStream _replyStream( replyData, IO_WriteOnly );
+ TQDataStream _replyStream( replyData, IO_WriteOnly );
_replyStream << searchInDefaultBible(arg0 );
} break;
- case 12: { // QStringList getModulesOfType(QString)
- QString arg0;
- QDataStream arg( data, IO_ReadOnly );
+ case 12: { // TQStringList getModulesOfType(TQString)
+ TQString arg0;
+ TQDataStream arg( data, IO_ReadOnly );
if (arg.atEnd()) return false;
arg >> arg0;
replyType = BibleTimeInterface_ftable[12][0];
- QDataStream _replyStream( replyData, IO_WriteOnly );
+ TQDataStream _replyStream( replyData, IO_WriteOnly );
_replyStream << getModulesOfType(arg0 );
} break;
default:
@@ -177,7 +177,7 @@ QCStringList BibleTimeInterface::functions()
for ( int i = 0; BibleTimeInterface_ftable[i][2]; i++ ) {
if (BibleTimeInterface_ftable_hiddens[i])
continue;
- QCString func = BibleTimeInterface_ftable[i][0];
+ TQCString func = BibleTimeInterface_ftable[i][0];
func += ' ';
func += BibleTimeInterface_ftable[i][2];
funcs << func;