From daacd749bb954a587013d26d5b1f965b7cf60d8b Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Mon, 30 Jun 2008 13:56:38 +0000 Subject: trashed kvi_styledcontrols git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@1972 17fca916-40b9-46aa-a4ea-0a15b648b75c --- src/modules/objects/class_wrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/objects/class_wrapper.cpp') diff --git a/src/modules/objects/class_wrapper.cpp b/src/modules/objects/class_wrapper.cpp index b181b5b36..c27b0b53d 100644 --- a/src/modules/objects/class_wrapper.cpp +++ b/src/modules/objects/class_wrapper.cpp @@ -89,7 +89,7 @@ Now %A. will be point to the wrapped object, therefore we could modify its property or to consider it as if it were an object created by us in scripting. [br] Obviously, deleting the created object (for example %A) you don't will delete the object of Kvirc (in this case the statusbar). [br] Another example could be this:[br] - %A=$new(wrapper,0,test,KviFrame::kvirc_frame,KviStyledToolButton::kvirc.identityoptions)[br] + %A=$new(wrapper,0,test,KviFrame::kvirc_frame,QToolButton::kvirc.identityoptions)[br] %A->$setProperty(usesBigPixmap,0)[br] In this fool example with the function $setProperty, we has setted the property usesBigPixmap to False, making to become the small icons of the ToolBar.[br] [br] -- cgit v1.3.1-10-gc9f91