summaryrefslogtreecommitdiffstats
path: root/src/gvcore/imageviewcontroller.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gvcore/imageviewcontroller.cpp')
-rw-r--r--src/gvcore/imageviewcontroller.cpp14
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;