summaryrefslogtreecommitdiffstats
path: root/klinkstatus/src/utils/utils.cpp
diff options
context:
space:
mode:
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();