summaryrefslogtreecommitdiffstats
path: root/klinkstatus/src/utils/utils.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
commitdc6b8e72fed2586239e3514819238c520636c9d9 (patch)
tree88b200df0a0b7fab9d6f147596173556f1ed9a13 /klinkstatus/src/utils/utils.cpp
parent6927d4436e54551917f600b706a8d6109e49de1c (diff)
downloadtdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.tar.gz
tdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1157656 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'klinkstatus/src/utils/utils.cpp')
-rw-r--r--klinkstatus/src/utils/utils.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/klinkstatus/src/utils/utils.cpp b/klinkstatus/src/utils/utils.cpp
index 6259f8d0..25384b4b 100644
--- a/klinkstatus/src/utils/utils.cpp
+++ b/klinkstatus/src/utils/utils.cpp
@@ -20,15 +20,15 @@
#include "utils.h"
-#include <qprocess.h>
-#include <qwidget.h>
+#include <tqprocess.h>
+#include <tqwidget.h>
#include <kapplication.h>
#include <kmessagebox.h>
#include <kdebug.h>
-QString htmlDocCharset[NUMBER_OF_HTML_CODES][2] = {
+TQString htmlDocCharset[NUMBER_OF_HTML_CODES][2] = {
{ "&euro;", "@" },
{ "&#09;", "\t" },
@@ -129,7 +129,7 @@ QString htmlDocCharset[NUMBER_OF_HTML_CODES][2] = {
};
-void decode(QString& url)
+void decode(TQString& url)
{
if( (int)url.find('&') != -1)
{
@@ -184,18 +184,18 @@ int smallerUnsigned(int a, int b)
namespace FileManager
{
-QString read(QString const& path)
+TQString read(TQString const& path)
{
- QFile file(path);
+ TQFile file(path);
if(!file.open(IO_ReadOnly))
{
kdDebug() << "File " << path << " not found." << endl;
- return QString();
+ return TQString();
}
- QTextStream stream(&file);
- QString fileString = stream.read();
+ TQTextStream stream(&file);
+ TQString fileString = stream.read();
file.close();