[Kst] [Bug 140466] Search functionality in data manager is too general

George Staikos staikos at kde.org
Tue Jan 23 03:06:29 CET 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=140466         
staikos kde org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From staikos kde org  2007-01-23 03:06 -------
SVN commit 626381 by staikos:

Only search column 0.  Is this really what we want?  I'm not convinced either
way right now, but at least this shows how to solve the problem
BUG: 140466


 M  +4 -0      kstdatamanager_i.cpp  


--- trunk/extragear/graphics/kst/src/libkstapp/kstdatamanager_i.cpp #626380:626381
 @ -614,6 +614,10  @
   connect(DataView, SIGNAL(contextMenuRequested(QListViewItem*, const QPoint&, int)), this, SLOT(contextMenu(QListViewItem*, const QPoint&, int)));
 
   _searchWidget = new KListViewSearchLineWidget(DataView, SearchBox);
+  QValueList<int> cols;
+  cols.append(0);
+  _searchWidget->createSearchLine(DataView);
+  _searchWidget->searchLine()->setSearchColumns(cols);
 
   QMainWindow *main = static_cast<QMainWindow*>(parent);
   main->setUsesTextLabel(true);


More information about the Kst mailing list