summaryrefslogtreecommitdiffstats
path: root/src/libgui/editor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libgui/editor.h')
-rw-r--r--src/libgui/editor.h31
1 files changed, 16 insertions, 15 deletions
diff --git a/src/libgui/editor.h b/src/libgui/editor.h
index 9247c80..1a4c54d 100644
--- a/src/libgui/editor.h
+++ b/src/libgui/editor.h
@@ -9,28 +9,29 @@
#ifndef EDITOR_H
#define EDITOR_H
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qvaluevector.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
+#include <tqvaluevector.h>
#include "common/common/qflags.h"
#include <kstdaction.h>
class KPopupMenu;
#include "common/global/purl.h"
-class Editor : public QWidget
+class Editor : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- Editor(const QString &title, const QString &tag, QWidget *parent, const char *name);
- Editor(QWidget *parent, const char *name);
- virtual QSizePolicy sizePolicy() const;
+ Editor(const TQString &title, const TQString &tag, TQWidget *tqparent, const char *name);
+ Editor(TQWidget *tqparent, const char *name);
+ virtual TQSizePolicy sizePolicy() const;
virtual PURL::FileType fileType() const = 0;
virtual bool isModified() const = 0;
void setModified(bool modified);
virtual PURL::Url url() const = 0;
- QString name() const { return _title; }
- QString tag() const { return _tag; }
+ TQString name() const { return _title; }
+ TQString tag() const { return _tag; }
void setReadOnly(bool readOnly);
virtual bool isReadOnly() const = 0;
bool checkSaved();
@@ -40,8 +41,8 @@ public:
virtual bool save(const PURL::Url &url) = 0;
virtual void addGui() = 0;
virtual void removeGui() = 0;
- virtual QValueList<uint> bookmarkLines() const = 0;
- virtual void setBookmarkLines(const QValueList<uint> &lines) = 0;
+ virtual TQValueList<uint> bookmarkLines() const = 0;
+ virtual void setBookmarkLines(const TQValueList<uint> &lines) = 0;
public slots:
bool slotLoad();
@@ -53,16 +54,16 @@ public slots:
signals:
void modified();
void guiChanged();
- void statusTextChanged(const QString &text);
- void dropEventPass(QDropEvent *e);
+ void statusTextChanged(const TQString &text);
+ void dropEventPass(TQDropEvent *e);
protected:
- QString filename() const;
+ TQString filename() const;
virtual void setModifiedInternal(bool modified) = 0;
virtual void setReadOnlyInternal(bool readOnly) = 0;
private:
- QString _title, _tag;
+ TQString _title, _tag;
};
#endif