Author: sh-sh-sh Date: Wed Feb 4 17:56:02 2009 New Revision: 55261 URL: http://svn.opensuse.org/viewcvs/yast?rev=55261&view=rev Log: cosmetics Modified: trunk/qt/src/QY2ComboTabWidget.h trunk/qt/src/YQMenuButton.cc trunk/qt/src/YQSignalBlocker.h Modified: trunk/qt/src/QY2ComboTabWidget.h URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/QY2ComboTabWidget.h?rev=55261&r1=55260&r2=55261&view=diff ============================================================================== --- trunk/qt/src/QY2ComboTabWidget.h (original) +++ trunk/qt/src/QY2ComboTabWidget.h Wed Feb 4 17:56:02 2009 @@ -80,7 +80,6 @@ void showPage( QWidget * page ); - protected slots: /** Modified: trunk/qt/src/YQMenuButton.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/YQMenuButton.cc?rev=55261&r1=55260&r2=55261&view=diff ============================================================================== --- trunk/qt/src/YQMenuButton.cc (original) +++ trunk/qt/src/YQMenuButton.cc Wed Feb 4 17:56:02 2009 @@ -80,8 +80,8 @@ _qt_button->setMenu( menu ); menu->setProperty( "class", "ymenubutton QMenu" ); - connect( menu, SIGNAL( triggered ( QAction* ) ), - this, SLOT ( menuEntryActivated( QAction* ) ) ); + connect( menu, SIGNAL( triggered ( QAction * ) ), + this, SLOT ( menuEntryActivated( QAction * ) ) ); // // Recursively add Qt menu items from the YMenuItems @@ -117,8 +117,8 @@ else subMenu = parentMenu->addMenu( QIcon( icon ), fromUTF8( item->label() )); - connect( subMenu, SIGNAL( triggered ( QAction* ) ), - this, SLOT ( menuEntryActivated( QAction* ) ) ); + connect( subMenu, SIGNAL( triggered ( QAction * ) ), + this, SLOT ( menuEntryActivated( QAction * ) ) ); rebuildMenuTree( subMenu, item->childrenBegin(), item->childrenEnd() ); } @@ -129,10 +129,12 @@ // to this YQMenuButton. QAction *act; + if ( icon.isNull() ) act = parentMenu->addAction( fromUTF8( item->label() ) ); else act = parentMenu->addAction( QIcon( icon ), fromUTF8( item->label() ) ); + _serials[act] = item->index(); } } Modified: trunk/qt/src/YQSignalBlocker.h URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/YQSignalBlocker.h?rev=55261&r1=55260&r2=55261&view=diff ============================================================================== --- trunk/qt/src/YQSignalBlocker.h (original) +++ trunk/qt/src/YQSignalBlocker.h Wed Feb 4 17:56:02 2009 @@ -23,7 +23,7 @@ /** * Helper class to block Qt signals for QWidgets or QObjects as long as this -Y * object exists. + * object exists. * * This object will restore the old blocked state when it goes out of scope. **/ -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org