summaryrefslogtreecommitdiffstats
path: root/kio/kfile/kfilemetainfowidget.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kio/kfile/kfilemetainfowidget.h
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kio/kfile/kfilemetainfowidget.h')
-rw-r--r--kio/kfile/kfilemetainfowidget.h54
1 files changed, 27 insertions, 27 deletions
diff --git a/kio/kfile/kfilemetainfowidget.h b/kio/kfile/kfilemetainfowidget.h
index 4d0070949..c22936b5e 100644
--- a/kio/kfile/kfilemetainfowidget.h
+++ b/kio/kfile/kfilemetainfowidget.h
@@ -20,8 +20,8 @@
#ifndef __KFILEMETAINFOWIDGET_H__
#define __KFILEMETAINFOWIDGET_H__
-#include <qwidget.h>
-#include <qvariant.h>
+#include <tqwidget.h>
+#include <tqvariant.h>
#include <kfilemetainfo.h>
/*!
@@ -38,11 +38,11 @@ public:
Reserve = 0xff
};
- KFileMetaInfoWidget(KFileMetaInfoItem item, QValidator* val = 0,
- QWidget* parent = 0, const char* name = 0);
+ KFileMetaInfoWidget(KFileMetaInfoItem item, TQValidator* val = 0,
+ TQWidget* parent = 0, const char* name = 0);
- KFileMetaInfoWidget(KFileMetaInfoItem item, Mode mode, QValidator* val = 0,
- QWidget* parent = 0, const char* name = 0);
+ KFileMetaInfoWidget(KFileMetaInfoItem item, Mode mode, TQValidator* val = 0,
+ TQWidget* parent = 0, const char* name = 0);
virtual ~KFileMetaInfoWidget();
@@ -51,44 +51,44 @@ public:
return m_item.isEditable() && m_item.setValue(m_value);
}
- void setValue(const QVariant& value) { m_value = value; }
- QVariant value()const { return m_value; }
- QValidator* validator() const { return m_validator; }
+ void setValue(const TQVariant& value) { m_value = value; }
+ TQVariant value()const { return m_value; }
+ TQValidator* validator() const { return m_validator; }
KFileMetaInfoItem item()const { return m_item; }
signals:
- void valueChanged(const QVariant& value);
+ void valueChanged(const TQVariant& value);
protected:
- void reparentValidator(QWidget *widget, QValidator *validator);
- virtual QWidget* makeWidget();
+ void reparentValidator(TQWidget *widget, TQValidator *validator);
+ virtual TQWidget* makeWidget();
- QWidget* makeBoolWidget();
- QWidget* makeIntWidget();
- QWidget* makeDoubleWidget();
- QWidget* makeStringWidget();
- QWidget* makeDateWidget();
- QWidget* makeTimeWidget();
- QWidget* makeDateTimeWidget();
+ TQWidget* makeBoolWidget();
+ TQWidget* makeIntWidget();
+ TQWidget* makeDoubleWidget();
+ TQWidget* makeStringWidget();
+ TQWidget* makeDateWidget();
+ TQWidget* makeTimeWidget();
+ TQWidget* makeDateTimeWidget();
private slots:
void slotChanged(bool value);
void slotChanged(int value);
void slotChanged(double value);
- void slotComboChanged(const QString &value);
- void slotLineEditChanged(const QString& value);
+ void slotComboChanged(const TQString &value);
+ void slotLineEditChanged(const TQString& value);
void slotMultiLineEditChanged();
- void slotDateChanged(const QDate& value);
- void slotTimeChanged(const QTime& value);
- void slotDateTimeChanged(const QDateTime& value);
+ void slotDateChanged(const TQDate& value);
+ void slotTimeChanged(const TQTime& value);
+ void slotDateTimeChanged(const TQDateTime& value);
private:
void init(KFileMetaInfoItem item, Mode mode);
- QVariant m_value; // the value will be saved here until apply() is called
+ TQVariant m_value; // the value will be saved here until apply() is called
KFileMetaInfoItem m_item;
- QWidget* m_widget;
- QValidator* m_validator;
+ TQWidget* m_widget;
+ TQValidator* m_validator;
bool m_dirty : 1;
};