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 /kword/KWDocument.cpp | |
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 'kword/KWDocument.cpp')
-rw-r--r-- | kword/KWDocument.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kword/KWDocument.cpp b/kword/KWDocument.cpp index 5942c28b..9420f048 100644 --- a/kword/KWDocument.cpp +++ b/kword/KWDocument.cpp @@ -105,7 +105,7 @@ class KWCommandHistory : public KoCommandHistory { public: KWCommandHistory( KWDocument * doc ) : KoCommandHistory( doc->actionCollection(), true ), m_pDoc( doc ) {} -public /*slots*/: // They are already slots in the tqparent. Running tqmoc on the inherited class shouldn't be necessary AFAICS. +public /*slots*/: // They are already slots in the parent. Running tqmoc on the inherited class shouldn't be necessary AFAICS. virtual void undo(); virtual void redo(); private: @@ -151,8 +151,8 @@ public: const int KWDocument::CURRENT_SYNTAX_VERSION = 3; -KWDocument::KWDocument(TQWidget *parentWidget, const char *widname, TQObject* tqparent, const char* name, bool singleViewMode ) - : KoDocument( parentWidget, widname, tqparent, name, singleViewMode ), +KWDocument::KWDocument(TQWidget *parentWidget, const char *widname, TQObject* parent, const char* name, bool singleViewMode ) + : KoDocument( parentWidget, widname, parent, name, singleViewMode ), m_urlIntern() { KWStatisticVariable::setExtendedType( true ); @@ -3011,12 +3011,12 @@ TQDragObject* KWDocument::dragSelected( const TQValueList<KWFrameView*> &selecte return dragSelectedPrivate(0, selectedFrames, 0); } // can't be const due to recalcVariables() -TQDragObject* KWDocument::dragSelected( TQWidget *tqparent, KWTextFrameSet* fs) { +TQDragObject* KWDocument::dragSelected( TQWidget *parent, KWTextFrameSet* fs) { TQValueList<KWFrameView*> noFrames; - return dragSelectedPrivate(tqparent, noFrames, fs); + return dragSelectedPrivate(parent, noFrames, fs); } // can't be const due to recalcVariables() -TQDragObject* KWDocument::dragSelectedPrivate( TQWidget *tqparent, const TQValueList<KWFrameView*> &selectedFrames, KWTextFrameSet* fs) +TQDragObject* KWDocument::dragSelectedPrivate( TQWidget *parent, const TQValueList<KWFrameView*> &selectedFrames, KWTextFrameSet* fs) { // We'll create a store (ZIP format) in memory TQBuffer buffer; @@ -3039,7 +3039,7 @@ TQDragObject* KWDocument::dragSelectedPrivate( TQWidget *tqparent, const TQValue delete store; - KMultipleDrag* multiDrag = new KMultipleDrag( tqparent ); + KMultipleDrag* multiDrag = new KMultipleDrag( parent ); if ( !plainText.isEmpty() ) multiDrag->addDragObject( new TQTextDrag( plainText, 0 ) ); if ( !picture.isNull() ) @@ -3735,12 +3735,12 @@ void KWDocument::addShell( KoMainWindow *shell ) KoDocument::addShell( shell ); } -KoView* KWDocument::createViewInstance( TQWidget* tqparent, const char* name ) +KoView* KWDocument::createViewInstance( TQWidget* parent, const char* name ) { if ( isEmbedded() ) - return new KWView( "ModeEmbedded", tqparent, name, this ); + return new KWView( "ModeEmbedded", parent, name, this ); else - return new KWView( m_viewModeType, tqparent, name, this ); + return new KWView( m_viewModeType, parent, name, this ); } // Paint this document when it's embedded @@ -5431,15 +5431,15 @@ int KWDocument::lastPage() const { return pageManager()->lastPageNumber(); } -TQWidget* KWDocument::createCustomDocumentWidget(TQWidget *tqparent) { +TQWidget* KWDocument::createCustomDocumentWidget(TQWidget *parent) { KoColumns columns; columns.columns = 1; columns.ptColumnSpacing = m_defaultColumnSpacing; - return new KWStartupWidget(tqparent, this, columns); + return new KWStartupWidget(parent, this, columns); } -KWDocument::FramesChangedHandler::FramesChangedHandler(KWDocument *tqparent) { - m_parent = tqparent; +KWDocument::FramesChangedHandler::FramesChangedHandler(KWDocument *parent) { + m_parent = parent; m_needLayout = false; } |