diff options
Diffstat (limited to 'kimagemapeditor')
-rw-r--r-- | kimagemapeditor/kimagemapeditor.cpp | 10 | ||||
-rw-r--r-- | kimagemapeditor/kimagemapeditor.h | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/kimagemapeditor/kimagemapeditor.cpp b/kimagemapeditor/kimagemapeditor.cpp index a2ec27d4..abc6edd1 100644 --- a/kimagemapeditor/kimagemapeditor.cpp +++ b/kimagemapeditor/kimagemapeditor.cpp @@ -84,7 +84,7 @@ typedef KParts::GenericFactory<KImageMapEditor> KimeFactory; K_EXPORT_COMPONENT_FACTORY( libkimagemapeditor , KimeFactory ) -KImageMapEditor::KImageMapEditor(TQWidget *tqparentWidget, const char *, +KImageMapEditor::KImageMapEditor(TQWidget *parentWidget, const char *, TQObject *tqparent, const char *name, const TQStringList & ) : KParts::ReadWritePart(tqparent,name) { @@ -101,7 +101,7 @@ KImageMapEditor::KImageMapEditor(TQWidget *tqparentWidget, const char *, if (mainDock) { // kdDebug() << "KImageMapEditor: We got a KDockMainWindow !" << endl; - KDockWidget* tqparentDock = mainDock->getMainDockWidget(); + KDockWidget* parentDock = mainDock->getMainDockWidget(); areaDock = mainDock->createDockWidget( "Areas", 0L, 0L, i18n("Areas"), i18n("Areas")); mapsDock = mainDock->createDockWidget( "Maps", 0L, 0L, i18n("Maps"), i18n("Maps")); imagesDock = mainDock->createDockWidget( "Images", 0L, 0L, i18n("Images"), i18n("Images")); @@ -114,7 +114,7 @@ KImageMapEditor::KImageMapEditor(TQWidget *tqparentWidget, const char *, mapsDock->setWidget(mapsListView); imagesDock->setWidget(imagesListView); - areaDock->manualDock( (KDockWidget*) tqparentDock, KDockWidget::DockLeft, 30); + areaDock->manualDock( (KDockWidget*) parentDock, KDockWidget::DockLeft, 30); mapsDock->manualDock( (KDockWidget*) areaDock, KDockWidget::DockCenter); imagesDock->manualDock( (KDockWidget*) mapsDock, KDockWidget::DockCenter); @@ -125,7 +125,7 @@ KImageMapEditor::KImageMapEditor(TQWidget *tqparentWidget, const char *, areaDock = 0L; mapsDock = 0L; imagesDock = 0L; - splitter = new TQSplitter(tqparentWidget); + splitter = new TQSplitter(parentWidget); tabWidget = new TQTabWidget(splitter); areaListView = new AreaListView(tabWidget,"AreaListView"); mapsListView = new MapsListView(tabWidget, "MapsListView"); @@ -174,7 +174,7 @@ KImageMapEditor::KImageMapEditor(TQWidget *tqparentWidget, const char *, splitter->setResizeMode(tabWidget,TQSplitter::KeepSize); setWidget(splitter); } else { - drawZone = new DrawZone(tqparentWidget,this); + drawZone = new DrawZone(parentWidget,this); setWidget(drawZone); } diff --git a/kimagemapeditor/kimagemapeditor.h b/kimagemapeditor/kimagemapeditor.h index d2d6e24c..f2dd74c1 100644 --- a/kimagemapeditor/kimagemapeditor.h +++ b/kimagemapeditor/kimagemapeditor.h @@ -134,7 +134,7 @@ class KImageMapEditor : public KParts::ReadWritePart { public : enum ToolType { Selection, Rectangle, Circle, Polygon, Freehand, AddPoint, RemovePoint }; - KImageMapEditor(TQWidget *tqparentWidget, const char *, + KImageMapEditor(TQWidget *parentWidget, const char *, TQObject *tqparent, const char *name, const TQStringList & args = TQStringList()); virtual ~KImageMapEditor(); |