diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 04766b207afba7961d4d802313e426f5a2fbef63 (patch) | |
tree | c888ea1027c793e2d0386a7e5a1a0cd077b03cb3 /kounavail | |
parent | b6edfe41c9395f2e20784cbf0e630af6426950a3 (diff) | |
download | koffice-04766b207afba7961d4d802313e426f5a2fbef63.tar.gz koffice-04766b207afba7961d4d802313e426f5a2fbef63.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kounavail')
-rw-r--r-- | kounavail/kounavail.cc | 20 | ||||
-rw-r--r-- | kounavail/kounavail.h | 10 |
2 files changed, 15 insertions, 15 deletions
diff --git a/kounavail/kounavail.cc b/kounavail/kounavail.cc index 1f1743af..364a8e84 100644 --- a/kounavail/kounavail.cc +++ b/kounavail/kounavail.cc @@ -30,15 +30,15 @@ #include <kglobalsettings.h> #include <tqapplication.h> -KoUnavailPart::KoUnavailPart( TQWidget *parentWidget, const char *widgetName, TQObject* tqparent, const char* name ) - : KoDocument( parentWidget, widgetName, tqparent, name, false /*singleViewMode*/ ) +KoUnavailPart::KoUnavailPart( TQWidget *parentWidget, const char *widgetName, TQObject* parent, const char* name ) + : KoDocument( parentWidget, widgetName, parent, name, false /*singleViewMode*/ ) { setReadWrite( false ); } -KoView* KoUnavailPart::createViewInstance( TQWidget* tqparent, const char* name ) +KoView* KoUnavailPart::createViewInstance( TQWidget* parent, const char* name ) { - return new KoUnavailView( this, tqparent, name ); + return new KoUnavailView( this, parent, name ); } bool KoUnavailPart::loadOasis( const TQDomDocument& doc, KoOasisStyles&, const TQDomDocument&, KoStore* ) @@ -105,8 +105,8 @@ void KoUnavailPart::paintContent( TQPainter& painter, const TQRect& rect, bool / painter.restore(); } -KoUnavailView::KoUnavailView( KoUnavailPart* part, TQWidget* tqparent, const char* name ) - : KoView( part, tqparent, name ) +KoUnavailView::KoUnavailView( KoUnavailPart* part, TQWidget* parent, const char* name ) + : KoView( part, parent, name ) { setInstance( KoUnavailFactory::global() ); //setXMLFile( "kounavail.rc" ); @@ -130,8 +130,8 @@ K_EXPORT_COMPONENT_FACTORY( libkounavailpart, KoUnavailFactory ) KInstance* KoUnavailFactory::s_global = 0L; KAboutData* KoUnavailFactory::s_aboutData = 0L; -KoUnavailFactory::KoUnavailFactory( TQObject* tqparent, const char* name ) - : KoFactory( tqparent, name ) +KoUnavailFactory::KoUnavailFactory( TQObject* parent, const char* name ) + : KoFactory( parent, name ) { global(); } @@ -144,9 +144,9 @@ KoUnavailFactory::~KoUnavailFactory() s_global = 0L; } -KParts::Part* KoUnavailFactory::createPartObject( TQWidget *parentWidget, const char *widgetName, TQObject* tqparent, const char* name, const char*, const TQStringList & ) +KParts::Part* KoUnavailFactory::createPartObject( TQWidget *parentWidget, const char *widgetName, TQObject* parent, const char* name, const char*, const TQStringList & ) { - return new KoUnavailPart( parentWidget, widgetName, tqparent, name ); + return new KoUnavailPart( parentWidget, widgetName, parent, name ); } KAboutData* KoUnavailFactory::aboutData() diff --git a/kounavail/kounavail.h b/kounavail/kounavail.h index 41d2f77f..8f331a6b 100644 --- a/kounavail/kounavail.h +++ b/kounavail/kounavail.h @@ -30,7 +30,7 @@ class KoUnavailPart : public KoDocument TQ_PROPERTY( TQString unavailReason READ unavailReason WRITE setUnavailReason ) TQ_PROPERTY( TQString realURL READ realURL WRITE setRealURL ) public: - KoUnavailPart( TQWidget *parentWidget = 0, const char *widgetName = 0, TQObject* tqparent = 0, const char* name = 0 ); + KoUnavailPart( TQWidget *parentWidget = 0, const char *widgetName = 0, TQObject* parent = 0, const char* name = 0 ); virtual void paintContent( TQPainter& painter, const TQRect& rect, bool transparent = FALSE, double zoomX = 1.0, double zoomY = 1.0 ); @@ -62,7 +62,7 @@ public: TQString realURL() const { return m_url.url(); } protected: - virtual KoView* createViewInstance( TQWidget* tqparent, const char* name ); + virtual KoView* createViewInstance( TQWidget* parent, const char* name ); TQDomDocument m_doc; TQCString m_mimetype; @@ -76,7 +76,7 @@ class KoUnavailView : public KoView Q_OBJECT TQ_OBJECT public: - KoUnavailView( KoUnavailPart* part, TQWidget* tqparent = 0, const char* name = 0 ); + KoUnavailView( KoUnavailPart* part, TQWidget* parent = 0, const char* name = 0 ); protected: virtual void paintEvent( TQPaintEvent* ); @@ -93,10 +93,10 @@ class KoUnavailFactory : public KoFactory Q_OBJECT TQ_OBJECT public: - KoUnavailFactory( TQObject* tqparent = 0, const char* name = 0 ); + KoUnavailFactory( TQObject* parent = 0, const char* name = 0 ); ~KoUnavailFactory(); - virtual KParts::Part *createPartObject( TQWidget *parentWidget = 0, const char *widgetName = 0, TQObject *tqparent = 0, const char *name = 0, const char *classname = "KoDocument", const TQStringList &args = TQStringList() ); + virtual KParts::Part *createPartObject( TQWidget *parentWidget = 0, const char *widgetName = 0, TQObject *parent = 0, const char *name = 0, const char *classname = "KoDocument", const TQStringList &args = TQStringList() ); static KInstance* global(); |