[yast-commit] r56461 - in /trunk/ncurses-pkg/src: NCPkgSearchSettings.cc NCPkgSearchSettings.h
Author: kmachalkova Date: Mon Mar 30 15:20:07 2009 New Revision: 56461 URL: http://svn.opensuse.org/viewcvs/yast?rev=56461&view=rev Log: Keywords search option added Modified: trunk/ncurses-pkg/src/NCPkgSearchSettings.cc trunk/ncurses-pkg/src/NCPkgSearchSettings.h Modified: trunk/ncurses-pkg/src/NCPkgSearchSettings.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses-pkg/src/NCPkgSearchSettings.cc?rev=56461&r1=56460&r2=56461&view=diff ============================================================================== --- trunk/ncurses-pkg/src/NCPkgSearchSettings.cc (original) +++ trunk/ncurses-pkg/src/NCPkgSearchSettings.cc Mon Mar 30 15:20:07 2009 @@ -40,6 +40,8 @@ items.push_back (checkName); checkSummary = new YItem ( _( "Summary" ), true); items.push_back (checkSummary); + checkKeywords = new YItem ( _( "Keywords" )); + items.push_back (checkKeywords); checkDescr = new YItem ( _( "Description (time-consuming)" )); items.push_back (checkDescr); checkProvides = new YItem ( _( "Provides" )); @@ -58,6 +60,10 @@ { return checkSummary->selected(); } +bool NCPkgSearchSettings::doCheckKeywords() +{ + return checkKeywords->selected(); +} bool NCPkgSearchSettings::doCheckDescr() { return checkDescr->selected(); Modified: trunk/ncurses-pkg/src/NCPkgSearchSettings.h URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses-pkg/src/NCPkgSearchSettings.h?rev=56461&r1=56460&r2=56461&view=diff ============================================================================== --- trunk/ncurses-pkg/src/NCPkgSearchSettings.h (original) +++ trunk/ncurses-pkg/src/NCPkgSearchSettings.h Mon Mar 30 15:20:07 2009 @@ -35,6 +35,7 @@ YItemCollection items; YItem *checkName; YItem *checkSummary; + YItem *checkKeywords; YItem *checkDescr; YItem *checkProvides; YItem *checkRequires; @@ -47,6 +48,7 @@ bool doCheckName(); bool doCheckSummary(); + bool doCheckKeywords(); bool doCheckDescr(); bool doCheckProvides(); bool doCheckRequires(); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
kmachalkova@svn.opensuse.org