diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-16 19:02:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-16 19:02:47 +0000 |
commit | e985f7e545f4739493965aad69bbecb136dc9346 (patch) | |
tree | 54afd409d8acd6202dd8ab611d24e78c28e4c0a0 /quanta/dialogs/tagdialogs/tagattr.h | |
parent | f7670c198945adc3b95ad69a959fe5f8ae55b493 (diff) | |
download | tdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.tar.gz tdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.zip |
TQt4 port kdewebdev
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237029 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'quanta/dialogs/tagdialogs/tagattr.h')
-rw-r--r-- | quanta/dialogs/tagdialogs/tagattr.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/quanta/dialogs/tagdialogs/tagattr.h b/quanta/dialogs/tagdialogs/tagattr.h index bbd562c6..c9567eda 100644 --- a/quanta/dialogs/tagdialogs/tagattr.h +++ b/quanta/dialogs/tagdialogs/tagattr.h @@ -34,16 +34,16 @@ class TQDomElement; class TQWidget; -class QTag; +class TQTag; -TQDomNode findChild( TQDomNode &parent, const TQString &name ); +TQDomNode tqfindChild( TQDomNode &tqparent, const TQString &name ); class Attr { public: - Attr( TQDomElement const& el, TQWidget *, QTag *dtdTag ) + Attr( TQDomElement const& el, TQWidget *, TQTag *dtdTag ) : domEl(el), name(domEl.attribute("name","")), m_dtdTag(dtdTag) {} //{ domEl = el; name = domEl->attribute("name",""); m_dtdTag = dtdTag;} virtual ~Attr(){} @@ -57,7 +57,7 @@ class Attr protected: TQDomElement domEl; TQString name; - QTag *m_dtdTag; + TQTag *m_dtdTag; }; @@ -67,7 +67,7 @@ class Attr_line : public Attr TQLineEdit *line; public: - Attr_line( TQDomElement const& el, TQWidget *w, QTag *dtdTag ) : Attr(el, w, dtdTag) + Attr_line( TQDomElement const& el, TQWidget *w, TQTag *dtdTag ) : Attr(el, w, dtdTag) { line = (TQLineEdit *)w; } virtual ~Attr_line(){}; @@ -82,7 +82,7 @@ class Attr_color : public Attr ColorCombo *color; public: - Attr_color( TQDomElement const& el, TQWidget *w, QTag *dtdTag ) : Attr(el, w, dtdTag) + Attr_color( TQDomElement const& el, TQWidget *w, TQTag *dtdTag ) : Attr(el, w, dtdTag) { color = (ColorCombo *)w; } virtual ~Attr_color(){}; @@ -96,7 +96,7 @@ class Attr_file : public Attr FileCombo *file; public: - Attr_file( TQDomElement const& el, TQWidget *w , QTag * dtdTag ) : Attr(el, w, dtdTag) + Attr_file( TQDomElement const& el, TQWidget *w , TQTag * dtdTag ) : Attr(el, w, dtdTag) { file = (FileCombo *)w; } virtual ~Attr_file(){}; @@ -110,7 +110,7 @@ class Attr_list : public Attr TQComboBox *combo; public: - Attr_list( TQDomElement const& el, TQWidget *w, QTag *dtdTag ); + Attr_list( TQDomElement const& el, TQWidget *w, TQTag *dtdTag ); virtual ~Attr_list(){}; virtual TQString value() { return combo->currentText(); } @@ -124,7 +124,7 @@ class Attr_check : public Attr TQCheckBox *check; public: - Attr_check( TQDomElement const& el, TQWidget *w, QTag *dtdTag ) : Attr(el, w, dtdTag) + Attr_check( TQDomElement const& el, TQWidget *w, TQTag *dtdTag ) : Attr(el, w, dtdTag) { check = (TQCheckBox *)w; } virtual ~Attr_check(){}; |