summaryrefslogtreecommitdiffstats
path: root/quanta/components/csseditor
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/components/csseditor')
-rw-r--r--quanta/components/csseditor/colorrequester.cpp2
-rw-r--r--quanta/components/csseditor/colorrequester.h2
-rw-r--r--quanta/components/csseditor/colorslider.cpp6
-rw-r--r--quanta/components/csseditor/colorslider.h6
-rw-r--r--quanta/components/csseditor/csseditor.cpp22
-rw-r--r--quanta/components/csseditor/csseditor.h8
-rw-r--r--quanta/components/csseditor/csseditor_globals.cpp4
-rw-r--r--quanta/components/csseditor/csseditor_globals.h4
-rw-r--r--quanta/components/csseditor/cssselector.cpp2
-rw-r--r--quanta/components/csseditor/cssselector.h2
-rw-r--r--quanta/components/csseditor/doubleeditors.cpp8
-rw-r--r--quanta/components/csseditor/doubleeditors.h8
-rw-r--r--quanta/components/csseditor/encodingselector.cpp2
-rw-r--r--quanta/components/csseditor/encodingselector.h2
-rw-r--r--quanta/components/csseditor/fontfamilychooser.cpp2
-rw-r--r--quanta/components/csseditor/fontfamilychooser.h2
-rw-r--r--quanta/components/csseditor/minieditor.h2
-rw-r--r--quanta/components/csseditor/percentageeditor.cpp2
-rw-r--r--quanta/components/csseditor/percentageeditor.h2
-rw-r--r--quanta/components/csseditor/propertysetter.cpp2
-rw-r--r--quanta/components/csseditor/propertysetter.h2
-rw-r--r--quanta/components/csseditor/specialsb.cpp10
-rw-r--r--quanta/components/csseditor/specialsb.h10
-rw-r--r--quanta/components/csseditor/styleeditor.cpp2
-rw-r--r--quanta/components/csseditor/styleeditor.h2
-rw-r--r--quanta/components/csseditor/tlpeditors.cpp6
-rw-r--r--quanta/components/csseditor/tlpeditors.h6
27 files changed, 64 insertions, 64 deletions
diff --git a/quanta/components/csseditor/colorrequester.cpp b/quanta/components/csseditor/colorrequester.cpp
index 3dfd357b..1e2a1b8b 100644
--- a/quanta/components/csseditor/colorrequester.cpp
+++ b/quanta/components/csseditor/colorrequester.cpp
@@ -34,7 +34,7 @@ class colorRequester::colorRequesterPrivate{
void connectSignals( TQObject *receiver ) { connect( edit, TQT_SIGNAL( textChanged( const TQString& )),receiver, TQT_SIGNAL( textChanged( const TQString& ))); }
};
-colorRequester::colorRequester(TQWidget *tqparent, const char* name) : miniEditor(tqparent,name){
+colorRequester::colorRequester(TQWidget *parent, const char* name) : miniEditor(parent,name){
d = new colorRequesterPrivate;
init();
}
diff --git a/quanta/components/csseditor/colorrequester.h b/quanta/components/csseditor/colorrequester.h
index ceb28f6b..c78bee77 100644
--- a/quanta/components/csseditor/colorrequester.h
+++ b/quanta/components/csseditor/colorrequester.h
@@ -27,7 +27,7 @@ class colorRequester : public miniEditor{
Q_OBJECT
TQ_OBJECT
public:
- colorRequester(TQWidget *tqparent, const char* name=0);
+ colorRequester(TQWidget *parent, const char* name=0);
~colorRequester();
KLineEdit * lineEdit() const;
KPushButton * button() const { return myButton; }
diff --git a/quanta/components/csseditor/colorslider.cpp b/quanta/components/csseditor/colorslider.cpp
index b57649bd..58e67d0f 100644
--- a/quanta/components/csseditor/colorslider.cpp
+++ b/quanta/components/csseditor/colorslider.cpp
@@ -29,7 +29,7 @@
-colorSlider::colorSlider(const TQString& fn,const TQString& l,const TQString& c,const TQString& r,TQWidget *tqparent, const char *name) : miniEditor(tqparent,name) {
+colorSlider::colorSlider(const TQString& fn,const TQString& l,const TQString& c,const TQString& r,TQWidget *parent, const char *name) : miniEditor(parent,name) {
m_functionName = fn;
TQVBox *leftBox = new TQVBox(this);
TQVBox *centerBox = new TQVBox(this);
@@ -74,11 +74,11 @@ void colorSlider::convertRightValue(int i){
emit valueChanged(m_functionName + "(" + TQString::number(m_leftValue->value(),10) + "," + TQString::number(m_centerValue->value(),10) + "," + TQString::number(i,10) +")");
}
-RGBcolorSlider::RGBcolorSlider(TQWidget *tqparent, const char *name) : colorSlider("rgb",i18n("Red"),i18n("Green"),i18n("Blue"),tqparent,name){
+RGBcolorSlider::RGBcolorSlider(TQWidget *parent, const char *name) : colorSlider("rgb",i18n("Red"),i18n("Green"),i18n("Blue"),parent,name){
}
//FOR CSS3
-/*HSLcolorSlider::HSLcolorSlider(TQWidget *tqparent, const char *name) : colorSlider("hsl",i18n("Hue"),i18n("Saturation"),i18n("Lightness"),tqparent,name){
+/*HSLcolorSlider::HSLcolorSlider(TQWidget *parent, const char *name) : colorSlider("hsl",i18n("Hue"),i18n("Saturation"),i18n("Lightness"),parent,name){
}
*/
diff --git a/quanta/components/csseditor/colorslider.h b/quanta/components/csseditor/colorslider.h
index 202020a6..acff130c 100644
--- a/quanta/components/csseditor/colorslider.h
+++ b/quanta/components/csseditor/colorslider.h
@@ -38,7 +38,7 @@ class colorSlider : public miniEditor {
*m_centerValue,
*m_rightValue;
public:
- colorSlider(const TQString& functionName,const TQString& l=TQString(),const TQString& c=TQString(),const TQString& r=TQString(),TQWidget *tqparent=0, const char *name=0);
+ colorSlider(const TQString& functionName,const TQString& l=TQString(),const TQString& c=TQString(),const TQString& r=TQString(),TQWidget *parent=0, const char *name=0);
virtual ~colorSlider();
virtual void connectToPropertySetter(propertySetter* p);
@@ -55,7 +55,7 @@ class RGBcolorSlider : public colorSlider {
Q_OBJECT
TQ_OBJECT
public:
- RGBcolorSlider(TQWidget *tqparent=0, const char *name=0);
+ RGBcolorSlider(TQWidget *parent=0, const char *name=0);
~RGBcolorSlider(){}
};
@@ -64,7 +64,7 @@ class RGBcolorSlider : public colorSlider {
Q_OBJECT
TQ_OBJECT
public:
- HSLcolorSlider(TQWidget *tqparent=0, const char *name=0);
+ HSLcolorSlider(TQWidget *parent=0, const char *name=0);
~HSLcolorSlider();
};*/
diff --git a/quanta/components/csseditor/csseditor.cpp b/quanta/components/csseditor/csseditor.cpp
index 07fc1815..e548d7d9 100644
--- a/quanta/components/csseditor/csseditor.cpp
+++ b/quanta/components/csseditor/csseditor.cpp
@@ -47,11 +47,11 @@
-myCheckListItem::myCheckListItem(TQListView * tqparent, const TQString & text):TQCheckListItem(tqparent, text, TQCheckListItem::CheckBox),m_checkedChildren(0){
+myCheckListItem::myCheckListItem(TQListView * parent, const TQString & text):TQCheckListItem(parent, text, TQCheckListItem::CheckBox),m_checkedChildren(0){
m_sig = new TQSignal;
}
-myCheckListItem::myCheckListItem(TQCheckListItem * tqparent, const TQString & text):TQCheckListItem(tqparent, text, TQCheckListItem::CheckBox),m_checkedChildren(0){
+myCheckListItem::myCheckListItem(TQCheckListItem * parent, const TQString & text):TQCheckListItem(parent, text, TQCheckListItem::CheckBox),m_checkedChildren(0){
m_sig = new TQSignal;
}
@@ -85,8 +85,8 @@ void myCheckListItem::stateChange (bool b){
m_checkedChildren = 0;
}
else {
- if(tqparent()){
- myCheckListItem *p = static_cast<myCheckListItem*>(tqparent());
+ if(parent()){
+ myCheckListItem *p = static_cast<myCheckListItem*>(parent());
while( p ) {
if( p->m_checkedChildren != 1) {
p->m_checkedChildren--;
@@ -99,7 +99,7 @@ void myCheckListItem::stateChange (bool b){
m_sig->activate();
p->setOn(false);
}
- p = static_cast<myCheckListItem*>(p->tqparent());
+ p = static_cast<myCheckListItem*>(p->parent());
}
}
else {
@@ -109,7 +109,7 @@ void myCheckListItem::stateChange (bool b){
}
}
else {
- if(tqparent()) static_cast<myCheckListItem*>(tqparent())->addCheckedChild();
+ if(parent()) static_cast<myCheckListItem*>(parent())->addCheckedChild();
}
}
@@ -152,10 +152,10 @@ void CSSEditor::setCurrentPropOn(const TQString& s){
m_currentProp->setOn(true);
if( m_currentProp && m_currentProp->depth() ) {
- myCheckListItem *p = static_cast<myCheckListItem*>(m_currentProp->tqparent());
+ myCheckListItem *p = static_cast<myCheckListItem*>(m_currentProp->parent());
while(p) {
p->setOn(true);
- p=static_cast<myCheckListItem*>(p->tqparent());
+ p=static_cast<myCheckListItem*>(p->parent());
}
}
}
@@ -296,7 +296,7 @@ void CSSEditor::toggleShortendForm()
m_config->sync();
}
-CSSEditor::CSSEditor(TQListViewItem *i, TQWidget *tqparent, const char *name) : CSSEditorS(tqparent, name){
+CSSEditor::CSSEditor(TQListViewItem *i, TQWidget *parent, const char *name) : CSSEditorS(parent, name){
m_selectorName = i->text(0);
m_initialProperties = i->text(1);
}
@@ -491,10 +491,10 @@ void CSSEditor::checkProperty(const TQString& v){
m_currentProp->setOn(true);
if( m_currentProp->depth() ){
- myCheckListItem *p = static_cast<myCheckListItem*>(m_currentProp->tqparent());
+ myCheckListItem *p = static_cast<myCheckListItem*>(m_currentProp->parent());
while(p){
p->setOn(true);
- p=static_cast<myCheckListItem*>(p->tqparent());
+ p=static_cast<myCheckListItem*>(p->parent());
}
}
diff --git a/quanta/components/csseditor/csseditor.h b/quanta/components/csseditor/csseditor.h
index d1f2ec7f..e7cadebb 100644
--- a/quanta/components/csseditor/csseditor.h
+++ b/quanta/components/csseditor/csseditor.h
@@ -41,8 +41,8 @@ class myCheckListItem : public TQCheckListItem
unsigned int m_checkedChildren;
public :
- myCheckListItem(TQCheckListItem * tqparent, const TQString & text);
- myCheckListItem(TQListView * tqparent, const TQString & text);
+ myCheckListItem(TQCheckListItem * parent, const TQString & text);
+ myCheckListItem(TQListView * parent, const TQString & text);
~myCheckListItem();
void connect( TQObject *receiver, const char *member );
void addCheckedChild();
@@ -98,8 +98,8 @@ class CSSEditor : public CSSEditorS
public:
- CSSEditor(TQWidget* tqparent=0, const char *name=0): CSSEditorS(tqparent, name), m_config(0L){}
- CSSEditor( TQListViewItem * i, TQWidget* tqparent=0, const char *name=0);
+ CSSEditor(TQWidget* parent=0, const char *name=0): CSSEditorS(parent, name), m_config(0L){}
+ CSSEditor( TQListViewItem * i, TQWidget* parent=0, const char *name=0);
~CSSEditor();
void initialize();
void setSelectors( const TQString& s) { m_Selectors = s; }
diff --git a/quanta/components/csseditor/csseditor_globals.cpp b/quanta/components/csseditor/csseditor_globals.cpp
index bd0eac48..c2be79c0 100644
--- a/quanta/components/csseditor/csseditor_globals.cpp
+++ b/quanta/components/csseditor/csseditor_globals.cpp
@@ -18,12 +18,12 @@
#include <tqlineedit.h>
#include "csseditor_globals.h"
-mySpinBox::mySpinBox(TQWidget * tqparent , const char * name ) : TQSpinBox (tqparent, name){
+mySpinBox::mySpinBox(TQWidget * parent , const char * name ) : TQSpinBox (parent, name){
connect( editor(), TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(checkSuffix( const TQString & )));
connect( editor(), TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SIGNAL(valueChanged( const TQString & )));
}
-mySpinBox::mySpinBox( int minValue, int maxValue, int step, TQWidget * tqparent, const char * name ) : TQSpinBox( minValue, maxValue, step, tqparent,name ){
+mySpinBox::mySpinBox( int minValue, int maxValue, int step, TQWidget * parent, const char * name ) : TQSpinBox( minValue, maxValue, step, parent,name ){
connect( editor(), TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(checkSuffix( const TQString & )));
connect( editor(), TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SIGNAL(valueChanged( const TQString & )));
}
diff --git a/quanta/components/csseditor/csseditor_globals.h b/quanta/components/csseditor/csseditor_globals.h
index edf9add3..8efbe4c5 100644
--- a/quanta/components/csseditor/csseditor_globals.h
+++ b/quanta/components/csseditor/csseditor_globals.h
@@ -53,8 +53,8 @@ class mySpinBox : public TQSpinBox{
Q_OBJECT
TQ_OBJECT
public:
- mySpinBox(TQWidget * tqparent = 0, const char * name = 0 );
- mySpinBox( int minValue, int maxValue, int step = 1, TQWidget * tqparent = 0, const char * name = 0 );
+ mySpinBox(TQWidget * parent = 0, const char * name = 0 );
+ mySpinBox( int minValue, int maxValue, int step = 1, TQWidget * parent = 0, const char * name = 0 );
~mySpinBox();
public slots:
void checkSuffix(const TQString&);
diff --git a/quanta/components/csseditor/cssselector.cpp b/quanta/components/csseditor/cssselector.cpp
index 316a8db4..7e61cf02 100644
--- a/quanta/components/csseditor/cssselector.cpp
+++ b/quanta/components/csseditor/cssselector.cpp
@@ -39,7 +39,7 @@
#include "stylesheetparser.h"
-CSSSelector::CSSSelector(TQWidget *tqparent, const char* name) : CSSSelectorS (tqparent,name),m_orderNumber(0),m_stopProcessingStylesheet(false) {
+CSSSelector::CSSSelector(TQWidget *parent, const char* name) : CSSSelectorS (parent,name),m_orderNumber(0),m_stopProcessingStylesheet(false) {
m_currentItem = 0L;
diff --git a/quanta/components/csseditor/cssselector.h b/quanta/components/csseditor/cssselector.h
index 7d5c40da..9f3d293e 100644
--- a/quanta/components/csseditor/cssselector.h
+++ b/quanta/components/csseditor/cssselector.h
@@ -46,7 +46,7 @@ class CSSSelector : public CSSSelectorS {
void Connect();
public:
- CSSSelector(TQWidget *tqparent=0, const char* name=0);
+ CSSSelector(TQWidget *parent=0, const char* name=0);
~CSSSelector();
void loadCSSContent(const TQString& s);
void setHeader(const TQString& h) { m_header = h; }
diff --git a/quanta/components/csseditor/doubleeditors.cpp b/quanta/components/csseditor/doubleeditors.cpp
index 0bc85eee..e877e2ac 100644
--- a/quanta/components/csseditor/doubleeditors.cpp
+++ b/quanta/components/csseditor/doubleeditors.cpp
@@ -23,7 +23,7 @@
-doubleEditorBase::doubleEditorBase(TQWidget *tqparent, const char *name) : miniEditor(tqparent,name){
+doubleEditorBase::doubleEditorBase(TQWidget *parent, const char *name) : miniEditor(parent,name){
}
void doubleEditorBase::sxValueSlot(const TQString& v){
@@ -36,7 +36,7 @@ void doubleEditorBase::dxValueSlot(const TQString& v){
emit valueChanged( m_sxValue +" " + m_dxValue);
}
- doubleLengthEditor::doubleLengthEditor(TQWidget *tqparent, const char *name) : doubleEditorBase(tqparent,name){
+ doubleLengthEditor::doubleLengthEditor(TQWidget *parent, const char *name) : doubleEditorBase(parent,name){
m_ssbSx = new specialSB(this);
m_ssbSx->insertItem("cm");
@@ -76,7 +76,7 @@ void doubleLengthEditor::setInitialValue(const TQString& sx, const TQString& dx)
m_ssbDx->setInitialValue(dx);
}
-doubleComboBoxEditor::doubleComboBoxEditor(TQWidget *tqparent, const char *name) : doubleEditorBase(tqparent,name){
+doubleComboBoxEditor::doubleComboBoxEditor(TQWidget *parent, const char *name) : doubleEditorBase(parent,name){
m_cbSx = new TQComboBox(this);
m_cbDx = new TQComboBox(this);
connect(m_cbSx, TQT_SIGNAL(activated ( const TQString & )), this, TQT_SLOT(sxValueSlot(const TQString&)));
@@ -92,7 +92,7 @@ void doubleComboBoxEditor::connectToPropertySetter(propertySetter* p){
connect(this, TQT_SIGNAL(valueChanged(const TQString&)), p ,TQT_SIGNAL(valueChanged(const TQString&)));
}
-doublePercentageEditor::doublePercentageEditor(TQWidget *tqparent, const char *name) : doubleEditorBase(tqparent,name){
+doublePercentageEditor::doublePercentageEditor(TQWidget *parent, const char *name) : doubleEditorBase(parent,name){
m_sbSx = new mySpinBox(this);
m_sbDx = new mySpinBox(this);
m_sbSx->setSuffix("%");
diff --git a/quanta/components/csseditor/doubleeditors.h b/quanta/components/csseditor/doubleeditors.h
index 3bae8456..4c293e4f 100644
--- a/quanta/components/csseditor/doubleeditors.h
+++ b/quanta/components/csseditor/doubleeditors.h
@@ -31,7 +31,7 @@ class doubleEditorBase : public miniEditor {
m_dxValue;
public:
- doubleEditorBase(TQWidget *tqparent=0, const char *name=0);
+ doubleEditorBase(TQWidget *parent=0, const char *name=0);
virtual ~doubleEditorBase(){}
virtual void setInitialValue(){}
virtual void connectToPropertySetter(propertySetter* /*p*/){}
@@ -52,7 +52,7 @@ class doublePercentageEditor : public doubleEditorBase {
*m_sbDx;
public:
- doublePercentageEditor(TQWidget *tqparent=0, const char *name=0);
+ doublePercentageEditor(TQWidget *parent=0, const char *name=0);
virtual ~doublePercentageEditor();
virtual void setInitialValue(const TQString& sx, const TQString& dx);
virtual void connectToPropertySetter(propertySetter* p);
@@ -66,7 +66,7 @@ class doubleComboBoxEditor : public doubleEditorBase {
*m_cbDx;
public:
- doubleComboBoxEditor(TQWidget *tqparent=0, const char *name=0);
+ doubleComboBoxEditor(TQWidget *parent=0, const char *name=0);
virtual ~doubleComboBoxEditor();
TQComboBox* cbSx() const { return m_cbSx;}
TQComboBox* cbDx() const { return m_cbDx;}
@@ -81,7 +81,7 @@ class doubleLengthEditor : public doubleEditorBase {
*m_ssbDx;
public:
- doubleLengthEditor(TQWidget *tqparent=0, const char *name=0);
+ doubleLengthEditor(TQWidget *parent=0, const char *name=0);
virtual ~doubleLengthEditor();
virtual void setInitialValue(const TQString& sx, const TQString& dx);
virtual void connectToPropertySetter(propertySetter* p);
diff --git a/quanta/components/csseditor/encodingselector.cpp b/quanta/components/csseditor/encodingselector.cpp
index fb0272a0..f8ba4ac6 100644
--- a/quanta/components/csseditor/encodingselector.cpp
+++ b/quanta/components/csseditor/encodingselector.cpp
@@ -26,7 +26,7 @@
*@author gulmini luciano
*/
-encodingSelector::encodingSelector(TQWidget *tqparent, const char* name) : encodingSelectorS(tqparent,name){
+encodingSelector::encodingSelector(TQWidget *parent, const char* name) : encodingSelectorS(parent,name){
TQStringList encodings (KGlobal::charsets()->availableEncodingNames());
int insert = 0;
for (uint i=0; i < encodings.count(); i++) {
diff --git a/quanta/components/csseditor/encodingselector.h b/quanta/components/csseditor/encodingselector.h
index 9c2db48c..fcca20c6 100644
--- a/quanta/components/csseditor/encodingselector.h
+++ b/quanta/components/csseditor/encodingselector.h
@@ -31,7 +31,7 @@ class encodingSelector : public encodingSelectorS {
TQ_OBJECT
public:
- encodingSelector(TQWidget *tqparent=0, const char* name=0);
+ encodingSelector(TQWidget *parent=0, const char* name=0);
~encodingSelector();
TQString encodingSet() const { return cbEncoding->currentText();}
diff --git a/quanta/components/csseditor/fontfamilychooser.cpp b/quanta/components/csseditor/fontfamilychooser.cpp
index fe494713..273c5a4c 100644
--- a/quanta/components/csseditor/fontfamilychooser.cpp
+++ b/quanta/components/csseditor/fontfamilychooser.cpp
@@ -32,7 +32,7 @@
#include<kdebug.h>
-fontFamilyChooser::fontFamilyChooser(TQWidget* tqparent, const char *name) : fontFamilyChooserS(tqparent,name){
+fontFamilyChooser::fontFamilyChooser(TQWidget* parent, const char *name) : fontFamilyChooserS(parent,name){
TQFont tmpFont( KGlobalSettings::generalFont().family(), 64, TQFont::Black );
lePreview->setMinimumHeight( lePreview->fontMetrics().lineSpacing() );
diff --git a/quanta/components/csseditor/fontfamilychooser.h b/quanta/components/csseditor/fontfamilychooser.h
index 9cb8af54..2b18e30f 100644
--- a/quanta/components/csseditor/fontfamilychooser.h
+++ b/quanta/components/csseditor/fontfamilychooser.h
@@ -44,7 +44,7 @@ class fontFamilyChooser : public fontFamilyChooserS
void moveFontDown();
public:
- fontFamilyChooser(TQWidget* tqparent, const char *name=0);
+ fontFamilyChooser(TQWidget* parent, const char *name=0);
~fontFamilyChooser();
TQStringList fontList();
void setInitialValue(const TQString& s);
diff --git a/quanta/components/csseditor/minieditor.h b/quanta/components/csseditor/minieditor.h
index 0d668529..3a7fa1bf 100644
--- a/quanta/components/csseditor/minieditor.h
+++ b/quanta/components/csseditor/minieditor.h
@@ -28,7 +28,7 @@ class propertySetter;
class miniEditor : public TQHBox{
public:
- miniEditor(TQWidget *tqparent=0, const char *name=0):TQHBox(tqparent,name){}
+ miniEditor(TQWidget *parent=0, const char *name=0):TQHBox(parent,name){}
~miniEditor(){}
virtual void connectToPropertySetter(propertySetter* p)=0;
};
diff --git a/quanta/components/csseditor/percentageeditor.cpp b/quanta/components/csseditor/percentageeditor.cpp
index cd0eec23..b02a1615 100644
--- a/quanta/components/csseditor/percentageeditor.cpp
+++ b/quanta/components/csseditor/percentageeditor.cpp
@@ -17,7 +17,7 @@
#include "percentageeditor.h"
#include "propertysetter.h"
-percentageEditor::percentageEditor(const TQString& initialValue, TQWidget *tqparent, const char *name) : miniEditor(tqparent,name)
+percentageEditor::percentageEditor(const TQString& initialValue, TQWidget *parent, const char *name) : miniEditor(parent,name)
{
TQString temp(initialValue);
m_sb = new mySpinBox(0,9999,1,this);
diff --git a/quanta/components/csseditor/percentageeditor.h b/quanta/components/csseditor/percentageeditor.h
index 31a0d6ef..d4cacecd 100644
--- a/quanta/components/csseditor/percentageeditor.h
+++ b/quanta/components/csseditor/percentageeditor.h
@@ -42,7 +42,7 @@ class percentageEditor : public miniEditor {
private:
mySpinBox *m_sb;
public:
- percentageEditor(const TQString& initialValue="0",TQWidget *tqparent=0, const char *name=0);
+ percentageEditor(const TQString& initialValue="0",TQWidget *parent=0, const char *name=0);
~percentageEditor();
virtual void connectToPropertySetter(propertySetter* p);
signals:
diff --git a/quanta/components/csseditor/propertysetter.cpp b/quanta/components/csseditor/propertysetter.cpp
index 894a9562..f1e1c101 100644
--- a/quanta/components/csseditor/propertysetter.cpp
+++ b/quanta/components/csseditor/propertysetter.cpp
@@ -36,7 +36,7 @@
#include "csseditor_globals.h"
#include "minieditor.h"
-propertySetter::propertySetter(TQWidget *tqparent, const char *name ) : TQHBox(tqparent,name) {
+propertySetter::propertySetter(TQWidget *parent, const char *name ) : TQHBox(parent,name) {
m_ind = 0;
m_cb = 0L;
m_list.setAutoDelete(true);
diff --git a/quanta/components/csseditor/propertysetter.h b/quanta/components/csseditor/propertysetter.h
index df9c29bc..3f1c5af4 100644
--- a/quanta/components/csseditor/propertysetter.h
+++ b/quanta/components/csseditor/propertysetter.h
@@ -42,7 +42,7 @@ class propertySetter : public TQHBox {
KPushButton *m_pb;
public:
- propertySetter(TQWidget *tqparent=0, const char *name=0);
+ propertySetter(TQWidget *parent=0, const char *name=0);
~propertySetter();
void installMiniEditor(miniEditor *m);
diff --git a/quanta/components/csseditor/specialsb.cpp b/quanta/components/csseditor/specialsb.cpp
index e59fca51..6edf110c 100644
--- a/quanta/components/csseditor/specialsb.cpp
+++ b/quanta/components/csseditor/specialsb.cpp
@@ -21,7 +21,7 @@
#include <klineedit.h>
-specialSB::specialSB(TQWidget *tqparent, const char *name, bool useLineEdit ) : miniEditor(tqparent,name) {
+specialSB::specialSB(TQWidget *parent, const char *name, bool useLineEdit ) : miniEditor(parent,name) {
if (useLineEdit)
{
m_lineEdit = new KLineEdit(this);
@@ -87,13 +87,13 @@ TQStringList specialSB::cbValueList(){
return l;
}
-frequencyEditor::frequencyEditor(TQWidget *tqparent, const char *name ) : specialSB(tqparent,name) {
+frequencyEditor::frequencyEditor(TQWidget *parent, const char *name ) : specialSB(parent,name) {
m_cb->insertItem("Hz");
m_cb->insertItem("kHz");
m_sb->setMaxValue(9999);
}
-angleEditor::angleEditor(TQWidget *tqparent, const char *name) : specialSB(tqparent,name){
+angleEditor::angleEditor(TQWidget *parent, const char *name) : specialSB(parent,name){
m_cb->insertItem("deg");
m_cb->insertItem("grad");
m_cb->insertItem("rad");
@@ -101,13 +101,13 @@ angleEditor::angleEditor(TQWidget *tqparent, const char *name) : specialSB(tqpar
m_sb->setMaxValue(400);
}
-timeEditor::timeEditor(TQWidget *tqparent, const char *name ) : specialSB(tqparent,name) {
+timeEditor::timeEditor(TQWidget *parent, const char *name ) : specialSB(parent,name) {
m_cb->insertItem("ms");
m_cb->insertItem("s");
m_sb->setMaxValue(99999);
}
-lengthEditor::lengthEditor(TQWidget *tqparent, const char *name ) : specialSB(tqparent,name, true) {
+lengthEditor::lengthEditor(TQWidget *parent, const char *name ) : specialSB(parent,name, true) {
m_cb->insertItem("px");
m_cb->insertItem("em");
m_cb->insertItem("ex");
diff --git a/quanta/components/csseditor/specialsb.h b/quanta/components/csseditor/specialsb.h
index 6df3fc9d..1536c5fe 100644
--- a/quanta/components/csseditor/specialsb.h
+++ b/quanta/components/csseditor/specialsb.h
@@ -36,7 +36,7 @@ class specialSB : public miniEditor {
KLineEdit *m_lineEdit;
public:
- specialSB(TQWidget *tqparent=0, const char *name=0, bool useLineEdit = false);
+ specialSB(TQWidget *parent=0, const char *name=0, bool useLineEdit = false);
~specialSB();
void insertItem(const TQString& s){ m_cb->insertItem(s); }
void setInitialValue(const TQString& s);
@@ -57,28 +57,28 @@ class angleEditor : public specialSB {
Q_OBJECT
TQ_OBJECT
public:
- angleEditor(TQWidget *tqparent=0, const char *name=0);
+ angleEditor(TQWidget *parent=0, const char *name=0);
};
class frequencyEditor : public specialSB {
Q_OBJECT
TQ_OBJECT
public:
- frequencyEditor(TQWidget *tqparent=0, const char *name=0);
+ frequencyEditor(TQWidget *parent=0, const char *name=0);
};
class timeEditor : public specialSB {
Q_OBJECT
TQ_OBJECT
public:
- timeEditor(TQWidget *tqparent=0, const char *name=0);
+ timeEditor(TQWidget *parent=0, const char *name=0);
};
class lengthEditor : public specialSB {
Q_OBJECT
TQ_OBJECT
public:
- lengthEditor(TQWidget *tqparent=0, const char *name=0);
+ lengthEditor(TQWidget *parent=0, const char *name=0);
};
#endif
diff --git a/quanta/components/csseditor/styleeditor.cpp b/quanta/components/csseditor/styleeditor.cpp
index fff108d1..b94bdbcd 100644
--- a/quanta/components/csseditor/styleeditor.cpp
+++ b/quanta/components/csseditor/styleeditor.cpp
@@ -39,7 +39,7 @@
#include "viewmanager.h"
#include "csseditor.h"
-StyleEditor::StyleEditor(TQWidget *tqparent, const char* name) : TLPEditor(tqparent,name){
+StyleEditor::StyleEditor(TQWidget *parent, const char* name) : TLPEditor(parent,name){
connect(m_pb, TQT_SIGNAL(clicked()), this, TQT_SLOT(openCSSEditor()));
setToolTip(i18n("Open css dialog"));
TQIconSet iconSet = SmallIconSet(TQString::tqfromLatin1("stylesheet"));
diff --git a/quanta/components/csseditor/styleeditor.h b/quanta/components/csseditor/styleeditor.h
index 49f4fd3c..16f7c855 100644
--- a/quanta/components/csseditor/styleeditor.h
+++ b/quanta/components/csseditor/styleeditor.h
@@ -30,7 +30,7 @@ class StyleEditor : public TLPEditor{
int m_iconWidth,
m_iconHeight;
public:
- StyleEditor(TQWidget *tqparent=0, const char* name=0);
+ StyleEditor(TQWidget *parent=0, const char* name=0);
virtual void setButtonIcon(int width, int height);
public slots:
diff --git a/quanta/components/csseditor/tlpeditors.cpp b/quanta/components/csseditor/tlpeditors.cpp
index a674a209..7a35ee23 100644
--- a/quanta/components/csseditor/tlpeditors.cpp
+++ b/quanta/components/csseditor/tlpeditors.cpp
@@ -34,7 +34,7 @@
#include "fontfamilychooser.h"
#include "project.h"
-TLPEditor::TLPEditor(TQWidget *tqparent, const char* name) : miniEditor(tqparent,name){
+TLPEditor::TLPEditor(TQWidget *parent, const char* name) : miniEditor(parent,name){
m_label = new TQLabel(this);
m_le = new TQLineEdit(this);
m_pb = new KPushButton(this);
@@ -66,7 +66,7 @@ void TLPEditor::setWhatsThis(TQString s){
TQWhatsThis::add(m_le,s);
}
-URIEditor::URIEditor(TQWidget *tqparent, const char* name) : TLPEditor(tqparent,name){
+URIEditor::URIEditor(TQWidget *parent, const char* name) : TLPEditor(parent,name){
TQString whatsthis =i18n("With this line edit you can insert the URI of the resource you want to reach");
setWhatsThis(whatsthis);
setLabelText(" Uri :");
@@ -150,7 +150,7 @@ void URIEditor::openFileDialog(){
}
}
-fontEditor::fontEditor(TQWidget *tqparent, const char* name) : TLPEditor(tqparent,name), m_initialValue(TQString()){
+fontEditor::fontEditor(TQWidget *parent, const char* name) : TLPEditor(parent,name), m_initialValue(TQString()){
TQString whatsthis =i18n("With this line edit you can insert the name of the font you want to use");
setWhatsThis(whatsthis);
setLabelText(i18n("Font family:"));
diff --git a/quanta/components/csseditor/tlpeditors.h b/quanta/components/csseditor/tlpeditors.h
index 80d5899b..3ff7bbef 100644
--- a/quanta/components/csseditor/tlpeditors.h
+++ b/quanta/components/csseditor/tlpeditors.h
@@ -39,7 +39,7 @@ class TLPEditor : public miniEditor { //editor with a line text and a button cal
KPushButton *m_pb;
public:
- TLPEditor(TQWidget *tqparent, const char* name=0);
+ TLPEditor(TQWidget *parent, const char* name=0);
virtual ~TLPEditor();
virtual void setButtonIcon(TQString);
void setToolTip(TQString);
@@ -61,7 +61,7 @@ class fontEditor : public TLPEditor{
TQString m_initialValue;
public:
- fontEditor(TQWidget *tqparent, const char* name=0);
+ fontEditor(TQWidget *parent, const char* name=0);
virtual void setInitialValue(const TQString& s) { m_initialValue = s; }
virtual void connectToPropertySetter(propertySetter* p);
@@ -81,7 +81,7 @@ class URIEditor : public TLPEditor {
URIResourceType m_resourceType;
public:
- URIEditor(TQWidget *tqparent, const char* name=0);
+ URIEditor(TQWidget *parent, const char* name=0);
void setMode(const mode& m);
void setResourceType(const URIResourceType& r) { m_resourceType = r ; }
virtual void setInitialValue(const TQString& /*s*/){}