summaryrefslogtreecommitdiffstats
path: root/kmrml
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commite7366c97c998679efa80cf61c88e64a11a3d3c33 (patch)
treea161d2940165f6cc47c05f0271ad8e5f64ffe6e8 /kmrml
parentda4be7880ff1de6415ab6256afd2514e64f5fa2e (diff)
downloadtdegraphics-e7366c97c998679efa80cf61c88e64a11a3d3c33.tar.gz
tdegraphics-e7366c97c998679efa80cf61c88e64a11a3d3c33.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmrml')
-rw-r--r--kmrml/kmrml/algorithmcombo.cpp4
-rw-r--r--kmrml/kmrml/algorithmcombo.h2
-rw-r--r--kmrml/kmrml/algorithmdialog.cpp8
-rw-r--r--kmrml/kmrml/algorithmdialog.h2
-rw-r--r--kmrml/kmrml/browser.cpp6
-rw-r--r--kmrml/kmrml/browser.h2
-rw-r--r--kmrml/kmrml/collectioncombo.cpp4
-rw-r--r--kmrml/kmrml/collectioncombo.h2
-rw-r--r--kmrml/kmrml/kcontrol/indexcleaner.cpp4
-rw-r--r--kmrml/kmrml/kcontrol/indexcleaner.h2
-rw-r--r--kmrml/kmrml/kcontrol/indexer.cpp4
-rw-r--r--kmrml/kmrml/kcontrol/indexer.h2
-rw-r--r--kmrml/kmrml/kcontrol/kcmkmrml.cpp4
-rw-r--r--kmrml/kmrml/kcontrol/kcmkmrml.h2
-rw-r--r--kmrml/kmrml/kcontrol/mainpage.cpp4
-rw-r--r--kmrml/kmrml/kcontrol/mainpage.h2
-rw-r--r--kmrml/kmrml/mrml_creator.cpp4
-rw-r--r--kmrml/kmrml/mrml_creator.h2
-rw-r--r--kmrml/kmrml/mrml_elements.cpp14
-rw-r--r--kmrml/kmrml/mrml_elements.h6
-rw-r--r--kmrml/kmrml/mrml_part.cpp8
-rw-r--r--kmrml/kmrml/mrml_part.h4
-rw-r--r--kmrml/kmrml/mrml_view.cpp12
-rw-r--r--kmrml/kmrml/mrml_view.h6
-rw-r--r--kmrml/kmrml/propertysheet.cpp2
-rw-r--r--kmrml/kmrml/propertysheet.h4
-rw-r--r--kmrml/kmrml/propertywidgets.cpp20
-rw-r--r--kmrml/kmrml/propertywidgets.h10
28 files changed, 73 insertions, 73 deletions
diff --git a/kmrml/kmrml/algorithmcombo.cpp b/kmrml/kmrml/algorithmcombo.cpp
index bdd56ca3..2a2d4a3b 100644
--- a/kmrml/kmrml/algorithmcombo.cpp
+++ b/kmrml/kmrml/algorithmcombo.cpp
@@ -25,8 +25,8 @@ using namespace KMrml;
// ### copycat of CollectionCombo... tqmoc can't handle templates unfortunately..
// could use base-class MrmlElement....
-AlgorithmCombo::AlgorithmCombo( TQWidget *tqparent, const char *name )
- : KComboBox( false, tqparent, name ),
+AlgorithmCombo::AlgorithmCombo( TQWidget *parent, const char *name )
+ : KComboBox( false, parent, name ),
m_algorithms( 0L )
{
connect( this, TQT_SIGNAL( activated( const TQString& ) ),
diff --git a/kmrml/kmrml/algorithmcombo.h b/kmrml/kmrml/algorithmcombo.h
index 082780b4..1a4f8dde 100644
--- a/kmrml/kmrml/algorithmcombo.h
+++ b/kmrml/kmrml/algorithmcombo.h
@@ -32,7 +32,7 @@ namespace KMrml
TQ_OBJECT
public:
- AlgorithmCombo( TQWidget *tqparent, const char *name = 0 );
+ AlgorithmCombo( TQWidget *parent, const char *name = 0 );
~AlgorithmCombo();
void setAlgorithms( const AlgorithmList * algorithms );
diff --git a/kmrml/kmrml/algorithmdialog.cpp b/kmrml/kmrml/algorithmdialog.cpp
index 60926b1e..68060bb3 100644
--- a/kmrml/kmrml/algorithmdialog.cpp
+++ b/kmrml/kmrml/algorithmdialog.cpp
@@ -34,8 +34,8 @@ using namespace KMrml;
class ScrollView : public TQScrollView
{
public:
- ScrollView(TQWidget* tqparent = 0, const char* name = 0)
- : TQScrollView(tqparent, name)
+ ScrollView(TQWidget* parent = 0, const char* name = 0)
+ : TQScrollView(parent, name)
{
setFrameStyle(TQFrame::NoFrame);
m_frame = new TQFrame(viewport(), "ScrollView::m_frame");
@@ -60,8 +60,8 @@ private:
AlgorithmDialog::AlgorithmDialog( const AlgorithmList& algorithms,
const CollectionList& collections,
const Collection& currentColl,
- TQWidget *tqparent, const char *name )
- : KDialogBase( tqparent, name, false, i18n("Configure Query Algorithms"),
+ TQWidget *parent, const char *name )
+ : KDialogBase( parent, name, false, i18n("Configure Query Algorithms"),
Ok | Cancel, Ok, false ),
m_allAlgorithms( algorithms ),
m_collections( collections )
diff --git a/kmrml/kmrml/algorithmdialog.h b/kmrml/kmrml/algorithmdialog.h
index f5e02116..8e0f56a5 100644
--- a/kmrml/kmrml/algorithmdialog.h
+++ b/kmrml/kmrml/algorithmdialog.h
@@ -37,7 +37,7 @@ namespace KMrml
public:
AlgorithmDialog( const AlgorithmList&, const CollectionList&,
const Collection& currentColl,
- TQWidget *tqparent = 0, const char *name = 0 );
+ TQWidget *parent = 0, const char *name = 0 );
~AlgorithmDialog();
private slots:
diff --git a/kmrml/kmrml/browser.cpp b/kmrml/kmrml/browser.cpp
index 7603debb..57ac0085 100644
--- a/kmrml/kmrml/browser.cpp
+++ b/kmrml/kmrml/browser.cpp
@@ -23,9 +23,9 @@
using namespace KMrml;
-Browser::Browser( MrmlPart *tqparent, const char *name )
- : KParts::BrowserExtension( tqparent, name ),
- m_part( tqparent )
+Browser::Browser( MrmlPart *parent, const char *name )
+ : KParts::BrowserExtension( parent, name ),
+ m_part( parent )
{
}
diff --git a/kmrml/kmrml/browser.h b/kmrml/kmrml/browser.h
index c30e148c..47979fea 100644
--- a/kmrml/kmrml/browser.h
+++ b/kmrml/kmrml/browser.h
@@ -31,7 +31,7 @@ namespace KMrml
TQ_OBJECT
public:
- Browser( MrmlPart *tqparent, const char *name );
+ Browser( MrmlPart *parent, const char *name );
~Browser();
virtual void saveState( TQDataStream& stream );
diff --git a/kmrml/kmrml/collectioncombo.cpp b/kmrml/kmrml/collectioncombo.cpp
index d71a1c2a..7238305e 100644
--- a/kmrml/kmrml/collectioncombo.cpp
+++ b/kmrml/kmrml/collectioncombo.cpp
@@ -22,8 +22,8 @@
using namespace KMrml;
-CollectionCombo::CollectionCombo( TQWidget *tqparent, const char *name )
- : KComboBox( false, tqparent, name ),
+CollectionCombo::CollectionCombo( TQWidget *parent, const char *name )
+ : KComboBox( false, parent, name ),
m_collections( 0L )
{
connect( this, TQT_SIGNAL( activated( const TQString& ) ),
diff --git a/kmrml/kmrml/collectioncombo.h b/kmrml/kmrml/collectioncombo.h
index dc7722d4..746c0a86 100644
--- a/kmrml/kmrml/collectioncombo.h
+++ b/kmrml/kmrml/collectioncombo.h
@@ -32,7 +32,7 @@ namespace KMrml
TQ_OBJECT
public:
- CollectionCombo( TQWidget *tqparent, const char *name = 0 );
+ CollectionCombo( TQWidget *parent, const char *name = 0 );
~CollectionCombo();
void setCollections( const CollectionList * collections );
diff --git a/kmrml/kmrml/kcontrol/indexcleaner.cpp b/kmrml/kmrml/kcontrol/indexcleaner.cpp
index 18d5205e..3c09b7a3 100644
--- a/kmrml/kmrml/kcontrol/indexcleaner.cpp
+++ b/kmrml/kmrml/kcontrol/indexcleaner.cpp
@@ -15,8 +15,8 @@ using namespace KMrmlConfig;
IndexCleaner::IndexCleaner( const TQStringList& dirs,
const KMrml::Config *config,
- TQObject *tqparent, const char *name )
- : TQObject( tqparent, name ),
+ TQObject *parent, const char *name )
+ : TQObject( parent, name ),
m_dirs( dirs ),
m_config( config ),
m_process( 0L )
diff --git a/kmrml/kmrml/kcontrol/indexcleaner.h b/kmrml/kmrml/kcontrol/indexcleaner.h
index afc2ebfd..a9d4e6c1 100644
--- a/kmrml/kmrml/kcontrol/indexcleaner.h
+++ b/kmrml/kmrml/kcontrol/indexcleaner.h
@@ -27,7 +27,7 @@ namespace KMrmlConfig
public:
IndexCleaner( const TQStringList& dirs, const KMrml::Config *config,
- TQObject *tqparent = 0, const char *name = 0 );
+ TQObject *parent = 0, const char *name = 0 );
~IndexCleaner();
void start();
diff --git a/kmrml/kmrml/kcontrol/indexer.cpp b/kmrml/kmrml/kcontrol/indexer.cpp
index 14c6a5c5..78e83f76 100644
--- a/kmrml/kmrml/kcontrol/indexer.cpp
+++ b/kmrml/kmrml/kcontrol/indexer.cpp
@@ -36,8 +36,8 @@
using namespace KMrmlConfig;
Indexer::Indexer( const KMrml::Config* config,
- TQObject *tqparent, const char *name )
- : TQObject( tqparent, name ),
+ TQObject *parent, const char *name )
+ : TQObject( parent, name ),
m_config( config ),
m_dirCount( 0 )
{
diff --git a/kmrml/kmrml/kcontrol/indexer.h b/kmrml/kmrml/kcontrol/indexer.h
index d9fede24..3fd97da9 100644
--- a/kmrml/kmrml/kcontrol/indexer.h
+++ b/kmrml/kmrml/kcontrol/indexer.h
@@ -35,7 +35,7 @@ namespace KMrmlConfig
public:
Indexer( const KMrml::Config *config,
- TQObject *tqparent = 0L, const char *name = 0 );
+ TQObject *parent = 0L, const char *name = 0 );
~Indexer();
void startIndexing( const TQStringList& dirs );
diff --git a/kmrml/kmrml/kcontrol/kcmkmrml.cpp b/kmrml/kmrml/kcontrol/kcmkmrml.cpp
index 3bff026a..42aaf534 100644
--- a/kmrml/kmrml/kcontrol/kcmkmrml.cpp
+++ b/kmrml/kmrml/kcontrol/kcmkmrml.cpp
@@ -43,8 +43,8 @@ static const int COL_FILENAME = 1;
typedef KGenericFactory<KCMKMrml, TQWidget> MrmlFactory;
K_EXPORT_COMPONENT_FACTORY( kcm_kmrml, MrmlFactory("kmrml") )
-KCMKMrml::KCMKMrml(TQWidget *tqparent, const char *name, const TQStringList & ):
- KCModule(MrmlFactory::instance(), tqparent, name)
+KCMKMrml::KCMKMrml(TQWidget *parent, const char *name, const TQStringList & ):
+ KCModule(MrmlFactory::instance(), parent, name)
{
KAboutData* ab = new KAboutData(
"kcmkmrml",
diff --git a/kmrml/kmrml/kcontrol/kcmkmrml.h b/kmrml/kmrml/kcontrol/kcmkmrml.h
index 1c15a0a2..583689e7 100644
--- a/kmrml/kmrml/kcontrol/kcmkmrml.h
+++ b/kmrml/kmrml/kcontrol/kcmkmrml.h
@@ -34,7 +34,7 @@ namespace KMrmlConfig
TQ_OBJECT
public:
- KCMKMrml(TQWidget *tqparent, const char *name, const TQStringList &);
+ KCMKMrml(TQWidget *parent, const char *name, const TQStringList &);
virtual ~KCMKMrml();
virtual void defaults();
diff --git a/kmrml/kmrml/kcontrol/mainpage.cpp b/kmrml/kmrml/kcontrol/mainpage.cpp
index 90756bfb..c44f1b0e 100644
--- a/kmrml/kmrml/kcontrol/mainpage.cpp
+++ b/kmrml/kmrml/kcontrol/mainpage.cpp
@@ -50,8 +50,8 @@
using namespace KMrmlConfig;
-MainPage::MainPage( TQWidget *tqparent, const char *name )
- : TQVBox( tqparent, name ),
+MainPage::MainPage( TQWidget *parent, const char *name )
+ : TQVBox( parent, name ),
m_indexer( 0L ),
m_indexCleaner( 0L ),
m_progressDialog( 0L ),
diff --git a/kmrml/kmrml/kcontrol/mainpage.h b/kmrml/kmrml/kcontrol/mainpage.h
index 7a7d6902..82510fc9 100644
--- a/kmrml/kmrml/kcontrol/mainpage.h
+++ b/kmrml/kmrml/kcontrol/mainpage.h
@@ -49,7 +49,7 @@ namespace KMrmlConfig
TQ_OBJECT
public:
- MainPage( TQWidget *tqparent, const char *name );
+ MainPage( TQWidget *parent, const char *name );
~MainPage();
void resetDefaults();
diff --git a/kmrml/kmrml/mrml_creator.cpp b/kmrml/kmrml/mrml_creator.cpp
index 03f2ef77..fe4a14c6 100644
--- a/kmrml/kmrml/mrml_creator.cpp
+++ b/kmrml/kmrml/mrml_creator.cpp
@@ -65,12 +65,12 @@ TQDomElement MrmlCreator::addRelevanceList( TQDomElement& query )
* Creates a <user-relevance-element> with the given attributes set.
*/
void MrmlCreator::createRelevanceElement( TQDomDocument& doc,
- TQDomElement& tqparent,
+ TQDomElement& parent,
const TQString& url,
Relevance relevance )
{
TQDomElement element = doc.createElement( "user-relevance-element" );
element.setAttribute( "image-location", url );
element.setAttribute( "user-relevance", TQString::number( relevance ) );
- tqparent.appendChild( element );
+ parent.appendChild( element );
}
diff --git a/kmrml/kmrml/mrml_creator.h b/kmrml/kmrml/mrml_creator.h
index 2c9e33c3..b1037558 100644
--- a/kmrml/kmrml/mrml_creator.h
+++ b/kmrml/kmrml/mrml_creator.h
@@ -41,7 +41,7 @@ namespace MrmlCreator
/**
* Creates a <user-relevance-element> with the given attributes set.
*/
- void createRelevanceElement( TQDomDocument& doc, TQDomElement& tqparent,
+ void createRelevanceElement( TQDomDocument& doc, TQDomElement& parent,
const TQString& url, Relevance relevance );
}
diff --git a/kmrml/kmrml/mrml_elements.cpp b/kmrml/kmrml/mrml_elements.cpp
index ae7ddeee..8700ed43 100644
--- a/kmrml/kmrml/mrml_elements.cpp
+++ b/kmrml/kmrml/mrml_elements.cpp
@@ -144,11 +144,11 @@ Algorithm Algorithm::defaultAlgorithm()
return algo;
}
-TQDomElement Algorithm::toElement( TQDomElement& tqparent ) const
+TQDomElement Algorithm::toElement( TQDomElement& parent ) const
{
- TQDomDocument doc = tqparent.ownerDocument();
+ TQDomDocument doc = parent.ownerDocument();
TQDomElement algorithm = doc.createElement( MrmlShared::algorithm() );
- tqparent.appendChild( algorithm );
+ parent.appendChild( algorithm );
setOtherAttributes( algorithm );
if ( !m_name.isEmpty() )
@@ -242,12 +242,12 @@ bool QueryParadigmList::matches( const QueryParadigmList& other ) const
///////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////
-TQValueList<TQDomElement> KMrml::directChildElements( const TQDomElement& tqparent,
+TQValueList<TQDomElement> KMrml::directChildElements( const TQDomElement& parent,
const TQString& tagName )
{
TQValueList<TQDomElement> list;
- TQDomNode node = tqparent.firstChild();
+ TQDomNode node = parent.firstChild();
while ( !node.isNull() )
{
if ( node.isElement() && node.nodeName() == tagName )
@@ -259,10 +259,10 @@ TQValueList<TQDomElement> KMrml::directChildElements( const TQDomElement& tqpare
return list;
}
-TQDomElement KMrml::firstChildElement( const TQDomElement& tqparent,
+TQDomElement KMrml::firstChildElement( const TQDomElement& parent,
const TQString& tagName )
{
- TQDomNode node = tqparent.firstChild();
+ TQDomNode node = parent.firstChild();
while ( !node.isNull() )
{
if ( node.isElement() && node.nodeName() == tagName )
diff --git a/kmrml/kmrml/mrml_elements.h b/kmrml/kmrml/mrml_elements.h
index ae66dcab..6fe6767d 100644
--- a/kmrml/kmrml/mrml_elements.h
+++ b/kmrml/kmrml/mrml_elements.h
@@ -106,7 +106,7 @@ namespace KMrml
m_collectionId = id;
}
- TQDomElement toElement( TQDomElement& tqparent ) const;
+ TQDomElement toElement( TQDomElement& parent ) const;
const PropertySheet& propertySheet() const;
static Algorithm defaultAlgorithm();
@@ -221,9 +221,9 @@ namespace KMrml
};
- TQValueList<TQDomElement> directChildElements( const TQDomElement& tqparent,
+ TQValueList<TQDomElement> directChildElements( const TQDomElement& parent,
const TQString& tagName);
- TQDomElement firstChildElement( const TQDomElement& tqparent,
+ TQDomElement firstChildElement( const TQDomElement& parent,
const TQString& tagName );
diff --git a/kmrml/kmrml/mrml_part.cpp b/kmrml/kmrml/mrml_part.cpp
index 032eafe6..c35e6607 100644
--- a/kmrml/kmrml/mrml_part.cpp
+++ b/kmrml/kmrml/mrml_part.cpp
@@ -92,12 +92,12 @@ KInstance * PartFactory::instance()
KParts::Part * PartFactory::createPartObject( TQWidget *parentWidget,
const char *widgetName,
- TQObject *tqparent,
+ TQObject *parent,
const char *name,
const char *,
const TQStringList& args )
{
- return new MrmlPart( parentWidget, widgetName, tqparent, name, args );
+ return new MrmlPart( parentWidget, widgetName, parent, name, args );
}
@@ -112,9 +112,9 @@ KParts::Part * PartFactory::createPartObject( TQWidget *parentWidget,
uint MrmlPart::s_sessionId = 0;
MrmlPart::MrmlPart( TQWidget *parentWidget, const char * /* widgetName */,
- TQObject *tqparent, const char *name,
+ TQObject *parent, const char *name,
const TQStringList& /* args */ )
- : KParts::ReadOnlyPart( tqparent, name ),
+ : KParts::ReadOnlyPart( parent, name ),
m_job( 0L ),
m_status( NeedCollection )
{
diff --git a/kmrml/kmrml/mrml_part.h b/kmrml/kmrml/mrml_part.h
index 8b2d4cdd..1451b833 100644
--- a/kmrml/kmrml/mrml_part.h
+++ b/kmrml/kmrml/mrml_part.h
@@ -60,7 +60,7 @@ public:
enum tqStatus { NeedCollection, CanSearch, InProgress };
MrmlPart( TQWidget *parentWidget, const char *widgetName,
- TQObject *tqparent, const char *name, const TQStringList& args );
+ TQObject *parent, const char *name, const TQStringList& args );
~MrmlPart();
TQString sessionId() const { return m_sessionId; }
@@ -162,7 +162,7 @@ public:
protected:
virtual KParts::Part * createPartObject( TQWidget *parentWidget = 0,
const char *widgetName = 0,
- TQObject *tqparent = 0,
+ TQObject *parent = 0,
const char *name = 0,
const char *classname = "KParts::Part",
const TQStringList& args = TQStringList() );
diff --git a/kmrml/kmrml/mrml_view.cpp b/kmrml/kmrml/mrml_view.cpp
index 5874c996..d5b26117 100644
--- a/kmrml/kmrml/mrml_view.cpp
+++ b/kmrml/kmrml/mrml_view.cpp
@@ -37,8 +37,8 @@
using namespace KMrml;
-MrmlView::MrmlView( TQWidget *tqparent, const char *name )
- : TQScrollView( tqparent, name )
+MrmlView::MrmlView( TQWidget *parent, const char *name )
+ : TQScrollView( parent, name )
{
setStaticBackground( true );
setResizePolicy( Manual );
@@ -103,11 +103,11 @@ MrmlViewItem * MrmlView::addItem( const KURL& url, const KURL& thumbURL,
}
void MrmlView::addRelevanceToQuery( TQDomDocument& document,
- TQDomElement& tqparent )
+ TQDomElement& parent )
{
TQPtrListIterator<MrmlViewItem> it( m_items );
for( ; it.current(); ++it ) {
- it.current()->createRelevanceElement( document, tqparent );
+ it.current()->createRelevanceElement( document, parent );
}
}
@@ -439,13 +439,13 @@ bool MrmlViewItem::hitsPixmap( const TQPoint& pos ) const
}
void MrmlViewItem::createRelevanceElement( TQDomDocument& document,
- TQDomElement& tqparent )
+ TQDomElement& parent )
{
int rel = m_combo->currentItem();
if ( rel == Neutral )
return;
- MrmlCreator::createRelevanceElement( document, tqparent, m_url.url(),
+ MrmlCreator::createRelevanceElement( document, parent, m_url.url(),
(rel == Relevant) ? MrmlCreator::Relevant : MrmlCreator::Irrelevant );
}
diff --git a/kmrml/kmrml/mrml_view.h b/kmrml/kmrml/mrml_view.h
index d666910f..a9f1aad1 100644
--- a/kmrml/kmrml/mrml_view.h
+++ b/kmrml/kmrml/mrml_view.h
@@ -55,7 +55,7 @@ class MrmlView : public TQScrollView
TQ_OBJECT
public:
- MrmlView( TQWidget *tqparent = 0L, const char *name = 0L );
+ MrmlView( TQWidget *parent = 0L, const char *name = 0L );
~MrmlView();
MrmlViewItem * addItem( const KURL& url, const KURL& thumbURL,
@@ -64,7 +64,7 @@ public:
double similarity );
- void addRelevanceToQuery( TQDomDocument&, TQDomElement& tqparent );
+ void addRelevanceToQuery( TQDomDocument&, TQDomElement& parent );
void clear();
@@ -120,7 +120,7 @@ public:
void setPixmap( const TQPixmap& pixmap );
- void createRelevanceElement( TQDomDocument& document, TQDomElement& tqparent );
+ void createRelevanceElement( TQDomDocument& document, TQDomElement& parent );
double similarity() const { return m_similarity; }
diff --git a/kmrml/kmrml/propertysheet.cpp b/kmrml/kmrml/propertysheet.cpp
index 6391c62e..dba9d531 100644
--- a/kmrml/kmrml/propertysheet.cpp
+++ b/kmrml/kmrml/propertysheet.cpp
@@ -105,7 +105,7 @@ void PropertySheet::initFromDOM( const TQDomElement& elem )
m_subSheets.append( new PropertySheet( *it ) );
}
-TQWidget * PropertySheet::createWidget( TQWidget */*tqparent*/, const char */*name*/ )
+TQWidget * PropertySheet::createWidget( TQWidget */*parent*/, const char */*name*/ )
{
TQWidget *w = 0L;
diff --git a/kmrml/kmrml/propertysheet.h b/kmrml/kmrml/propertysheet.h
index 89d9a37f..2e20cb85 100644
--- a/kmrml/kmrml/propertysheet.h
+++ b/kmrml/kmrml/propertysheet.h
@@ -71,9 +71,9 @@ namespace KMrml
}
void initFromDOM( const TQDomElement& elem );
- void toElement( TQDomElement& tqparent );
+ void toElement( TQDomElement& parent );
- TQWidget * createWidget( TQWidget *tqparent, const char *name = 0 );
+ TQWidget * createWidget( TQWidget *parent, const char *name = 0 );
private:
static Visibility getVisibility( const TQString& value );
diff --git a/kmrml/kmrml/propertywidgets.cpp b/kmrml/kmrml/propertywidgets.cpp
index 5c562588..18508f3a 100644
--- a/kmrml/kmrml/propertywidgets.cpp
+++ b/kmrml/kmrml/propertywidgets.cpp
@@ -19,8 +19,8 @@
#include "propertywidgets.h"
IntegerWidget::IntegerWidget( const PropertySheet& sheet,
- TQWidget *tqparent, const char *name )
- : TQHBox( tqparent, name )
+ TQWidget *parent, const char *name )
+ : TQHBox( parent, name )
{
}
@@ -39,8 +39,8 @@ int IntegerWidget::value() const
///////////////////////////////////////////////////////////////////
ComboWidget::ComboWidget( const PropertySheet& sheet,
- TQWidget *tqparent, const char *name )
- : TQHBox( tqparent, name )
+ TQWidget *parent, const char *name )
+ : TQHBox( parent, name )
{
}
@@ -60,8 +60,8 @@ TQString ComboWidget::value() const
///////////////////////////////////////////////////////////////////
CheckBoxWidget::CheckBoxWidget( const PropertySheet& sheet,
- TQWidget *tqparent, const char *name )
- : TQHBox( tqparent, name )
+ TQWidget *parent, const char *name )
+ : TQHBox( parent, name )
{
}
@@ -81,8 +81,8 @@ bool CheckBoxWidget::value() const
///////////////////////////////////////////////////////////////////
LineEditWidget::LineEditWidget( const PropertySheet& sheet,
- TQWidget *tqparent, const char *name )
- : TQHBox( tqparent, name )
+ TQWidget *parent, const char *name )
+ : TQHBox( parent, name )
{
}
@@ -102,8 +102,8 @@ TQString LineEditWidget::value() const
///////////////////////////////////////////////////////////////////
ListBoxWidget::ListBoxWidget( const PropertySheet& sheet,
- TQWidget *tqparent, const char *name )
- : TQHBox( tqparent, name )
+ TQWidget *parent, const char *name )
+ : TQHBox( parent, name )
{
}
diff --git a/kmrml/kmrml/propertywidgets.h b/kmrml/kmrml/propertywidgets.h
index 1048e6f0..d0987c0b 100644
--- a/kmrml/kmrml/propertywidgets.h
+++ b/kmrml/kmrml/propertywidgets.h
@@ -32,7 +32,7 @@ namespace KMrml
public:
IntegerWidget( const PropertySheet& sheet,
- TQWidget *tqparent = tqparent, const char *name = 0L );
+ TQWidget *parent = parent, const char *name = 0L );
~IntegerWidget();
int value() const;
@@ -48,7 +48,7 @@ namespace KMrml
public:
ComboWidget( const PropertySheet& sheet,
- TQWidget *tqparent = tqparent, const char *name = 0L );
+ TQWidget *parent = parent, const char *name = 0L );
~ComboWidget();
TQString value() const;
@@ -64,7 +64,7 @@ namespace KMrml
public:
CheckBoxWidget( const PropertySheet& sheet,
- TQWidget *tqparent = tqparent, const char *name = 0L );
+ TQWidget *parent = parent, const char *name = 0L );
~CheckBoxWidget();
bool value();
@@ -82,7 +82,7 @@ namespace KMrml
public:
LineEditWidget( const PropertySheet& sheet,
- TQWidget *tqparent = tqparent, const char *name = 0L );
+ TQWidget *parent = parent, const char *name = 0L );
~LineEditWidget();
TQString value();
@@ -98,7 +98,7 @@ namespace KMrml
public:
ListBoxWidget( const PropertySheet& sheet,
- TQWidget *tqparent = tqparent, const char *name = 0L );
+ TQWidget *parent = parent, const char *name = 0L );
~ListBoxWidget();
TQStringList values();