summaryrefslogtreecommitdiffstats
path: root/src/gui/urlfieldwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/urlfieldwidget.h')
-rw-r--r--src/gui/urlfieldwidget.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/gui/urlfieldwidget.h b/src/gui/urlfieldwidget.h
index 70e9505..15c8087 100644
--- a/src/gui/urlfieldwidget.h
+++ b/src/gui/urlfieldwidget.h
@@ -21,7 +21,7 @@ class KURLRequester;
#include <krun.h>
#include <kurlcompletion.h>
-#include <qguardedptr.h>
+#include <tqguardedptr.h>
namespace Tellico {
namespace GUI {
@@ -31,34 +31,35 @@ namespace Tellico {
*/
class URLFieldWidget : public FieldWidget {
Q_OBJECT
+ TQ_OBJECT
public:
- URLFieldWidget(Data::FieldPtr field, QWidget* parent, const char* name=0);
+ URLFieldWidget(Data::FieldPtr field, TQWidget* tqparent, const char* name=0);
virtual ~URLFieldWidget();
- virtual QString text() const;
- virtual void setText(const QString& text);
+ virtual TQString text() const;
+ virtual void setText(const TQString& text);
public slots:
virtual void clear();
protected:
- virtual QWidget* widget();
+ virtual TQWidget* widget();
virtual void updateFieldHook(Data::FieldPtr oldField, Data::FieldPtr newField);
protected slots:
- void slotOpenURL(const QString& url);
+ void slotOpenURL(const TQString& url);
private:
class URLCompletion : public KURLCompletion {
public:
URLCompletion() : KURLCompletion() {}
- virtual QString makeCompletion(const QString& text);
+ virtual TQString makeCompletion(const TQString& text);
};
KURLRequester* m_requester;
bool m_isRelative : 1;
- QGuardedPtr<KRun> m_run;
+ TQGuardedPtr<KRun> m_run;
};
} // end GUI namespace