summaryrefslogtreecommitdiffstats
path: root/quanta/components/csseditor/tlpeditors.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
commite985f7e545f4739493965aad69bbecb136dc9346 (patch)
tree54afd409d8acd6202dd8ab611d24e78c28e4c0a0 /quanta/components/csseditor/tlpeditors.h
parentf7670c198945adc3b95ad69a959fe5f8ae55b493 (diff)
downloadtdewebdev-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/components/csseditor/tlpeditors.h')
-rw-r--r--quanta/components/csseditor/tlpeditors.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/quanta/components/csseditor/tlpeditors.h b/quanta/components/csseditor/tlpeditors.h
index 8388c6b6..80d5899b 100644
--- a/quanta/components/csseditor/tlpeditors.h
+++ b/quanta/components/csseditor/tlpeditors.h
@@ -31,6 +31,7 @@ class TQLabel;
class TLPEditor : public miniEditor { //editor with a line text and a button calling a dialog
Q_OBJECT
+ TQ_OBJECT
protected:
TQLineEdit *m_le;
@@ -38,7 +39,7 @@ class TLPEditor : public miniEditor { //editor with a line text and a button cal
KPushButton *m_pb;
public:
- TLPEditor(TQWidget *parent, const char* name=0);
+ TLPEditor(TQWidget *tqparent, const char* name=0);
virtual ~TLPEditor();
virtual void setButtonIcon(TQString);
void setToolTip(TQString);
@@ -55,11 +56,12 @@ class TLPEditor : public miniEditor { //editor with a line text and a button cal
class fontEditor : public TLPEditor{
Q_OBJECT
+ TQ_OBJECT
private:
TQString m_initialValue;
public:
- fontEditor(TQWidget *parent, const char* name=0);
+ fontEditor(TQWidget *tqparent, const char* name=0);
virtual void setInitialValue(const TQString& s) { m_initialValue = s; }
virtual void connectToPropertySetter(propertySetter* p);
@@ -69,6 +71,7 @@ class fontEditor : public TLPEditor{
class URIEditor : public TLPEditor {
Q_OBJECT
+ TQ_OBJECT
public:
enum mode{ Multi, Single };
enum URIResourceType{ audio, image, mousePointer };
@@ -78,7 +81,7 @@ class URIEditor : public TLPEditor {
URIResourceType m_resourceType;
public:
- URIEditor(TQWidget *parent, const char* name=0);
+ URIEditor(TQWidget *tqparent, const char* name=0);
void setMode(const mode& m);
void setResourceType(const URIResourceType& r) { m_resourceType = r ; }
virtual void setInitialValue(const TQString& /*s*/){}