summaryrefslogtreecommitdiffstats
path: root/bibletime/frontend/cexportmanager.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-10 06:26:30 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-10 06:26:30 +0000
commit62f474f24066f1400ff57947480d012be1652c68 (patch)
tree83cdcc05217a91150a5dcba9de9bac4950cdc722 /bibletime/frontend/cexportmanager.h
parent75ebad37bc3cfdb65bb8542dd847683e883c8b55 (diff)
downloadbibletime-62f474f24066f1400ff57947480d012be1652c68.tar.gz
bibletime-62f474f24066f1400ff57947480d012be1652c68.zip
Initial TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/bibletime@1173696 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'bibletime/frontend/cexportmanager.h')
-rw-r--r--bibletime/frontend/cexportmanager.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/bibletime/frontend/cexportmanager.h b/bibletime/frontend/cexportmanager.h
index cc654f6..54c98c0 100644
--- a/bibletime/frontend/cexportmanager.h
+++ b/bibletime/frontend/cexportmanager.h
@@ -19,13 +19,13 @@
#include "util/cpointers.h"
//Qt includes
-#include <qstring.h>
-#include <qptrlist.h>
+#include <tqstring.h>
+#include <tqptrlist.h>
class ListKey;
class CSwordKey;
class CSwordModuleInfo;
-class QProgressDialog;
+class TQProgressDialog;
/** Contains the functions to export text to disk, clipboard or printer.
* @author The BibleTime team
@@ -39,49 +39,49 @@ public:
Text
};
- CExportManager(const QString& caption, const bool showProgress = true, const QString& progressLabel = QString::null, const CSwordBackend::FilterOptions filterOptions = CBTConfig::getFilterOptionDefaults(), const CSwordBackend::DisplayOptions displayOptions = CBTConfig::getDisplayOptionDefaults());
+ CExportManager(const TQString& caption, const bool showProgress = true, const TQString& progressLabel = TQString::null, const CSwordBackend::FilterOptions filterOptions = CBTConfig::getFilterOptionDefaults(), const CSwordBackend::DisplayOptions displayOptions = CBTConfig::getDisplayOptionDefaults());
const bool saveKey(CSwordKey* key, const Format format, const bool addText);
const bool saveKeyList(sword::ListKey* list, CSwordModuleInfo* module, const Format format, const bool addText);
- const bool saveKeyList(QPtrList<CSwordKey>& list, const Format format, const bool addText );
+ const bool saveKeyList(TQPtrList<CSwordKey>& list, const Format format, const bool addText );
const bool copyKey(CSwordKey* key, const Format format, const bool addText);
const bool copyKeyList(sword::ListKey* list, CSwordModuleInfo* module, const Format format, const bool addText);
- const bool copyKeyList(QPtrList<CSwordKey>& list, const Format format, const bool addText );
+ const bool copyKeyList(TQPtrList<CSwordKey>& list, const Format format, const bool addText );
const bool printKey(CSwordKey* key, CSwordBackend::DisplayOptions displayOptions, CSwordBackend::FilterOptions filterOptions);
- const bool printKey( CSwordModuleInfo* module, const QString& startKey, const QString& stopKey, CSwordBackend::DisplayOptions displayOptions, CSwordBackend::FilterOptions filterOptions );
-const bool printByHyperlink(const QString& hyperlink, CSwordBackend::DisplayOptions displayOptions, CSwordBackend::FilterOptions filterOptions);
+ const bool printKey( CSwordModuleInfo* module, const TQString& startKey, const TQString& stopKey, CSwordBackend::DisplayOptions displayOptions, CSwordBackend::FilterOptions filterOptions );
+const bool printByHyperlink(const TQString& hyperlink, CSwordBackend::DisplayOptions displayOptions, CSwordBackend::FilterOptions filterOptions);
const bool printKeyList(sword::ListKey* list, CSwordModuleInfo* module, CSwordBackend::DisplayOptions displayOptions, CSwordBackend::FilterOptions filterOptions);
- const bool printKeyList(const QStringList& list,CSwordModuleInfo* module, CSwordBackend::DisplayOptions displayOptions, CSwordBackend::FilterOptions filterOptions);
+ const bool printKeyList(const TQStringList& list,CSwordModuleInfo* module, CSwordBackend::DisplayOptions displayOptions, CSwordBackend::FilterOptions filterOptions);
protected: // Protected methods
/**
* Returns the string for the filedialogs to show the correct files.
*/
- const QString filterString( const Format format );
+ const TQString filterString( const Format format );
/**
* Returns a filename to save a file.
*/
- const QString getSaveFileName(const Format format);
+ const TQString getSaveFileName(const Format format);
/**
* Returns a string containing the linebreak for the current format.
*/
- const QString lineBreak( const Format format );
+ const TQString lineBreak( const Format format );
private:
- QString m_caption;
- QString m_progressLabel;
+ TQString m_caption;
+ TQString m_progressLabel;
bool m_showProgress;
CSwordBackend::FilterOptions m_filterOptions;
CSwordBackend::DisplayOptions m_displayOptions;
- QProgressDialog* m_progressDialog;
+ TQProgressDialog* m_progressDialog;
/**
* Creates the progress dialog with the correct settings.
*/
- QProgressDialog* const progressDialog();
+ TQProgressDialog* const progressDialog();
/**
* Returns the CSS string used in HTML pages.
*/