/* * AtomsQtQueryPipe.hpp * * Created on: Nov 8, 2010 * Author: heber */ #ifndef ATOMSQTQUERYPIPE_HPP_ #define ATOMSQTQUERYPIPE_HPP_ // include config.h #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include class QListWidget; class atom; class QtDialog; class AtomsQtQueryPipe : public QWidget { Q_OBJECT public: AtomsQtQueryPipe(std::vector*_content, QtDialog *_dialog, QListWidget *_theList); virtual ~AtomsQtQueryPipe(); public slots: void update(); void add(); void remove(); private: std::vector*content; std::map lookup; std::set currentList; QtDialog *dialog; QListWidget *theList; }; #endif /* ATOMSQTQUERYPIPE_HPP_ */