14 #if QT_VERSION < 0x040000 15 #include <qlistview.h> 17 #include <q3listview.h> 41 setNames (
const std::vector < std::string > & names )
43 for (
unsigned int i = 0; i < names.size (); i++ ) {
44 const string & n = names[i];
46 #if QT_VERSION < 0x040000 59 #if QT_VERSION < 0x040000 72 for (
unsigned int i = 0; i <
m_item_list.size(); i++ ) {
73 #if QT_VERSION < 0x040000 78 if ( item -> isSelected () ) {
void setNames(const std::vector< std::string > &names)
Sets the names of the of the top level objects that might be valid DataSource objects.
virtual void doubleClicked()
Responds to a double click on the contained QListView object.
std::vector< QListViewItem *> m_item_list
The list of items added to the list of data source names.
ListDialog(QWidget *parent)
The constructor.
hippodraw::ListDialog class interface
unsigned int selectedItem() const
Returns the index of the selected item.
setSelected(QListViewItem *item, bool selected)