summaryrefslogtreecommitdiffstats
path: root/konqueror/keditbookmarks/exporters.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /konqueror/keditbookmarks/exporters.cpp
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konqueror/keditbookmarks/exporters.cpp')
-rw-r--r--konqueror/keditbookmarks/exporters.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/konqueror/keditbookmarks/exporters.cpp b/konqueror/keditbookmarks/exporters.cpp
index 4b1bbb5e7..912edcb9a 100644
--- a/konqueror/keditbookmarks/exporters.cpp
+++ b/konqueror/keditbookmarks/exporters.cpp
@@ -24,24 +24,24 @@
#include <klocale.h>
#include <kapplication.h>
-#include <qfile.h>
+#include <tqfile.h>
HTMLExporter::HTMLExporter()
: m_out(&m_string, IO_WriteOnly) {
}
-void HTMLExporter::write(const KBookmarkGroup &grp, const QString &filename, bool showAddress) {
- QFile file(filename);
+void HTMLExporter::write(const KBookmarkGroup &grp, const TQString &filename, bool showAddress) {
+ TQFile file(filename);
if (!file.open(IO_WriteOnly)) {
kdError(7043) << "Can't write to file " << filename << endl;
return;
}
- QTextStream tstream(&file);
- tstream.setEncoding(QTextStream::UnicodeUTF8);
+ TQTextStream tstream(&file);
+ tstream.setEncoding(TQTextStream::UnicodeUTF8);
tstream << toString(grp, showAddress);
}
-QString HTMLExporter::toString(const KBookmarkGroup &grp, bool showAddress)
+TQString HTMLExporter::toString(const KBookmarkGroup &grp, bool showAddress)
{
m_showAddress = showAddress;
traverse(grp);