summaryrefslogtreecommitdiffstats
path: root/src/app/metaedit.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-26 21:04:57 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-26 21:04:57 +0000
commitbf7f88413be3831a9372d323d02fc0335b9f9188 (patch)
tree516fdef9206245b40a14f99b4e3d9ef9289196e0 /src/app/metaedit.h
parente238aa77b1fb3c2f55aef2ef2c91ce52166d2cc8 (diff)
downloadgwenview-bf7f88413be3831a9372d323d02fc0335b9f9188.tar.gz
gwenview-bf7f88413be3831a9372d323d02fc0335b9f9188.zip
TQt4 port Gwenview
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/gwenview@1233720 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/app/metaedit.h')
-rw-r--r--src/app/metaedit.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/app/metaedit.h b/src/app/metaedit.h
index 4e5d34e..57b1054 100644
--- a/src/app/metaedit.h
+++ b/src/app/metaedit.h
@@ -20,24 +20,25 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#ifndef METAEDIT_H
#define METAEDIT_H
-// Qt
-#include <qvbox.h>
+// TQt
+#include <tqvbox.h>
// KDE
#include <kfilemetainfo.h>
-class QTextEdit;
+class TQTextEdit;
namespace Gwenview {
class Document;
-class MetaEdit : public QVBox {
+class MetaEdit : public TQVBox {
Q_OBJECT
+ TQ_OBJECT
public:
- MetaEdit(QWidget *parent, Document*, const char *name="");
+ MetaEdit(TQWidget *tqparent, Document*, const char *name="");
~MetaEdit();
protected:
- bool eventFilter(QObject *, QEvent *);
+ bool eventFilter(TQObject *, TQEvent *);
private slots:
void updateContent();
void updateDoc();
@@ -46,10 +47,10 @@ private slots:
private:
bool mEmpty;
Document* mDocument;
- QTextEdit* mCommentEdit;
+ TQTextEdit* mCommentEdit;
- void setComment(const QString&);
- void setMessage(const QString&);
+ void setComment(const TQString&);
+ void setMessage(const TQString&);
void setEmptyText();
};