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 | f1087d880d002e2f4bde6adad1592bda91460d12 (patch) | |
tree | 4299342b1275cda0c626877485a02fa8fdd7c1d5 /src/gvcore/imageviewcontroller.cpp | |
parent | ff8c66f117613688a0979d2296cbf6c778136419 (diff) | |
download | gwenview-f1087d880d002e2f4bde6adad1592bda91460d12.tar.gz gwenview-f1087d880d002e2f4bde6adad1592bda91460d12.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/gwenview@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gvcore/imageviewcontroller.cpp')
-rw-r--r-- | src/gvcore/imageviewcontroller.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gvcore/imageviewcontroller.cpp b/src/gvcore/imageviewcontroller.cpp index a3721d0..f24a2e8 100644 --- a/src/gvcore/imageviewcontroller.cpp +++ b/src/gvcore/imageviewcontroller.cpp @@ -64,11 +64,11 @@ namespace Gwenview { */ class XMLGUIBuilder : public KXMLGUIBuilder { public: - XMLGUIBuilder(TQWidget* tqparent) : KXMLGUIBuilder(tqparent) {} + XMLGUIBuilder(TQWidget* parent) : KXMLGUIBuilder(parent) {} - virtual TQWidget* createContainer(TQWidget *tqparent, int index, const TQDomElement &element, int &id) { + virtual TQWidget* createContainer(TQWidget *parent, int index, const TQDomElement &element, int &id) { if (element.tagName().lower() == "toolbar") { - return KXMLGUIBuilder::createContainer(tqparent, index, element, id); + return KXMLGUIBuilder::createContainer(parent, index, element, id); } else { return 0; } @@ -264,8 +264,8 @@ struct ImageViewController::Private { //------------------------------------------------------------------------ -ImageViewController::ImageViewController(TQWidget* tqparent, Document* document, KActionCollection* actionCollection) -: TQObject(tqparent) { +ImageViewController::ImageViewController(TQWidget* parent, Document* document, KActionCollection* actionCollection) +: TQObject(parent) { d=new Private; d->mImageViewController=this; d->mDocument=document; @@ -273,7 +273,7 @@ ImageViewController::ImageViewController(TQWidget* tqparent, Document* document, d->mAutoHideTimer=new TQTimer(this); d->mCursorHidden=false; - d->mContainer=new TQWidget(tqparent); + d->mContainer=new TQWidget(parent); d->mContainer->setMinimumWidth(1); // Make sure we can resize the toolbar smaller than its minimum size TQVBoxLayout* tqlayout=new TQVBoxLayout(d->mContainer); d->mToolBar=new KToolBar(d->mContainer, "", true); @@ -425,7 +425,7 @@ bool ImageViewController::eventFilter(TQObject* object, TQEvent* event) { // have to check we are not dealing with another object. bool isAChildOfStack=false; TQObject* parentObject; - for (parentObject=object->tqparent(); parentObject; parentObject=parentObject->tqparent()) { + for (parentObject=object->parent(); parentObject; parentObject=parentObject->parent()) { if (TQT_BASE_OBJECT(parentObject)==TQT_BASE_OBJECT(d->mStack)) { isAChildOfStack=true; break; |