summaryrefslogtreecommitdiffstats
path: root/src/kchmsettings.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kchmsettings.h')
-rw-r--r--src/kchmsettings.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/kchmsettings.h b/src/kchmsettings.h
index 2eb67b7..2f691a5 100644
--- a/src/kchmsettings.h
+++ b/src/kchmsettings.h
@@ -22,15 +22,15 @@
#ifndef KCHMSETTINGS_H
#define KCHMSETTINGS_H
-#include <qstring.h>
-#include <qvaluelist.h>
+#include <tqstring.h>
+#include <tqvaluelist.h>
/**
@author Georgy Yunaev
*/
class SavedBookmark;
-class QFileInfo;
+class TQFileInfo;
class KCHMSettings
@@ -38,21 +38,21 @@ class KCHMSettings
public:
KCHMSettings ();
- bool loadSettings (const QString& filename);
+ bool loadSettings (const TQString& filename);
bool saveSettings ( );
- void removeSettings ( const QString& filename );
+ void removeSettings ( const TQString& filename );
- QString searchIndexDictFilename() const { return m_searchDictFile; }
- QString searchIndexDocFilename() const { return m_searchDocFile; }
+ TQString searchIndexDictFilename() const { return m_searchDictFile; }
+ TQString searchIndexDocFilename() const { return m_searchDocFile; }
class SavedBookmark
{
public:
SavedBookmark() { scroll_y = 0; }
- SavedBookmark (QString n, QString u, int y) : name(n), url(u), scroll_y(y) {};
+ SavedBookmark (TQString n, TQString u, int y) : name(n), url(u), scroll_y(y) {};
- QString name;
- QString url;
+ TQString name;
+ TQString url;
int scroll_y;
};
@@ -60,16 +60,16 @@ class KCHMSettings
{
public:
SavedViewWindow() { scroll_y = 0; zoom = 0; }
- SavedViewWindow (QString u, int y, int z) : url(u), scroll_y(y), zoom(z) {};
+ SavedViewWindow (TQString u, int y, int z) : url(u), scroll_y(y), zoom(z) {};
- QString url;
+ TQString url;
int scroll_y;
int zoom;
};
- typedef QValueList<QString> search_saved_settings_t;
- typedef QValueList<SavedBookmark> bookmark_saved_settings_t;
- typedef QValueList<SavedViewWindow> viewindow_saved_settings_t;
+ typedef TQValueList<TQString> search_saved_settings_t;
+ typedef TQValueList<SavedBookmark> bookmark_saved_settings_t;
+ typedef TQValueList<SavedViewWindow> viewindow_saved_settings_t;
int m_window_size_x;
int m_window_size_y;
@@ -82,13 +82,13 @@ class KCHMSettings
viewindow_saved_settings_t m_viewwindows;
private:
- void getFilenames(const QString & helpfilename, QString * settingsfile, QString * dictfile, QString * doclistfile );
+ void getFilenames(const TQString & helpfilename, TQString * settingsfile, TQString * dictfile, TQString * doclistfile );
unsigned int m_currentfilesize;
unsigned int m_currentfiledate;
- QString m_settingsFile;
- QString m_searchDictFile;
- QString m_searchDocFile;
+ TQString m_settingsFile;
+ TQString m_searchDictFile;
+ TQString m_searchDocFile;
};
#endif