summaryrefslogtreecommitdiffstats
path: root/src/bookmark.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bookmark.h')
-rw-r--r--src/bookmark.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/bookmark.h b/src/bookmark.h
index b144b2a..77c2ef3 100644
--- a/src/bookmark.h
+++ b/src/bookmark.h
@@ -20,8 +20,8 @@
#ifndef BOOKMARK_H
#define BOOKMARK_H
-#include <qdatetime.h>
-#include <qstring.h>
+#include <tqdatetime.h>
+#include <tqstring.h>
#include <vector>
class Bookmark;
@@ -32,26 +32,26 @@ typedef std::vector<Bookmark> Bookmarks;
class Bookmark
{
public:
- Bookmark(int page, const QString& name = QString::null,
- QDateTime dateTime = QDateTime::currentDateTime());
+ Bookmark(int page, const TQString& name = TQString(),
+ TQDateTime dateTime = TQDateTime::tqcurrentDateTime());
~Bookmark();
void setPage(unsigned int page) { m_page = page; }
unsigned int page() const { return m_page; }
- const QString & name() const { return m_name; }
- const QDateTime & dateTime() const { return m_dateTime; }
+ const TQString & name() const { return m_name; }
+ const TQDateTime & dateTime() const { return m_dateTime; }
bool operator < (const Bookmark& rhs) const { return (m_page < rhs.m_page); }
- void setName(const QString& theValue)
+ void setName(const TQString& theValue)
{
m_name = theValue;
}
private:
unsigned int m_page;
- QString m_name;
- QDateTime m_dateTime;
+ TQString m_name;
+ TQDateTime m_dateTime;
};
#endif