diff options
Diffstat (limited to 'bibletime/frontend/cexportmanager.cpp')
-rw-r--r-- | bibletime/frontend/cexportmanager.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/bibletime/frontend/cexportmanager.cpp b/bibletime/frontend/cexportmanager.cpp index f035c92..2dc1dbd 100644 --- a/bibletime/frontend/cexportmanager.cpp +++ b/bibletime/frontend/cexportmanager.cpp @@ -26,7 +26,7 @@ #include "util/scoped_resource.h" //TQt includes -#include <clipboard.h> +#include <tqclipboard.h> #include <tqptrlist.h> #include <tqprogressdialog.h> @@ -44,7 +44,7 @@ using namespace Rendering; using namespace Printing; CExportManager::CExportManager(const TQString& caption, const bool showProgress, const TQString& progressLabel, const CSwordBackend::FilterOptions filterOptions, const CSwordBackend::DisplayOptions displayOptions) { - m_caption = !caption.isEmpty() ? caption : TQString::fromLatin1("BibleTime"); + m_caption = !caption.isEmpty() ? caption : TQString::tqfromLatin1("BibleTime"); m_progressLabel = progressLabel; m_filterOptions = filterOptions; m_displayOptions = displayOptions; @@ -237,7 +237,7 @@ const bool CExportManager::copyKey(CSwordKey* key, const Format format, const bo text = render->renderSingleKey(key->key(), modules); } - KApplication::clipboard()->setText(text); + KApplication::tqclipboard()->setText(text); return true; }; @@ -272,7 +272,7 @@ const bool CExportManager::copyKeyList(sword::ListKey* list, CSwordModuleInfo* m } const TQString text = render->renderKeyTree(tree); - KApplication::clipboard()->setText(text); + KApplication::tqclipboard()->setText(text); return true; }; @@ -306,7 +306,7 @@ const bool CExportManager::copyKeyList(TQPtrList<CSwordKey>& list, const Format }; const TQString text = render->renderKeyTree(tree); - KApplication::clipboard()->setText(text); + KApplication::tqclipboard()->setText(text); return true; }; @@ -485,7 +485,7 @@ const TQString CExportManager::getSaveFileName(const Format format) { /** Returns a string containing the linebreak for the current format. */ const TQString CExportManager::lineBreak(const Format format) { if (static_cast<bool>(m_displayOptions.lineBreaks)) - return (format == HTML) ? TQString::fromLatin1("<br/>\n") : TQString::fromLatin1("\n"); + return (format == HTML) ? TQString::tqfromLatin1("<br/>\n") : TQString::tqfromLatin1("\n"); return TQString(); } @@ -497,7 +497,7 @@ void CExportManager::setProgressRange( const int items ) { dlg->setProgress(0); dlg->setMinimumDuration(0); dlg->show(); - // dlg->repaint(); + // dlg->tqrepaint(); KApplication::kApplication()->processEvents(); //do not lock the GUI! } } |