Make zooming invisible to user (doesn't do anything yet)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=757079
This commit is contained in:
parent
091fe857ab
commit
cb869ce141
@ -184,11 +184,14 @@ void Containment::setContainmentType(Containment::Type type)
|
|||||||
Plasma::Widget *addWidgetTool = addToolBoxTool("addwidgets", "list-add", i18n("Add Widgets"));
|
Plasma::Widget *addWidgetTool = addToolBoxTool("addwidgets", "list-add", i18n("Add Widgets"));
|
||||||
connect(addWidgetTool, SIGNAL(clicked()), this, SIGNAL(showAddWidgets()));
|
connect(addWidgetTool, SIGNAL(clicked()), this, SIGNAL(showAddWidgets()));
|
||||||
|
|
||||||
|
//zooming provides no functionality for 4.0 (not implemented yet) and will confuse user
|
||||||
|
#if 0
|
||||||
Plasma::Widget *zoomInTool = addToolBoxTool("zoomIn", "zoom-in", i18n("Zoom In"));
|
Plasma::Widget *zoomInTool = addToolBoxTool("zoomIn", "zoom-in", i18n("Zoom In"));
|
||||||
connect(zoomInTool, SIGNAL(clicked()), this, SIGNAL(zoomIn()));
|
connect(zoomInTool, SIGNAL(clicked()), this, SIGNAL(zoomIn()));
|
||||||
|
|
||||||
Plasma::Widget *zoomOutTool = addToolBoxTool("zoomOut", "zoom-out", i18n("Zoom Out"));
|
Plasma::Widget *zoomOutTool = addToolBoxTool("zoomOut", "zoom-out", i18n("Zoom Out"));
|
||||||
connect(zoomOutTool, SIGNAL(clicked()), this, SIGNAL(zoomOut()));
|
connect(zoomOutTool, SIGNAL(clicked()), this, SIGNAL(zoomOut()));
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
delete d->toolbox;
|
delete d->toolbox;
|
||||||
|
Loading…
Reference in New Issue
Block a user