00001 #ifndef __TAGSUCHE_H__ 00002 #define __TAGSUCHE_H__ 00003 00008 /* 00009 Copyright (C) 2008 Johannes Bretscher 00010 00011 This program is free software; you can redistribute it and/or modify 00012 it under the terms of the GNU General Public License as published by 00013 the Free Software Foundation; either version 2 of the License, or 00014 (at your option) any later version. 00015 00016 This program is distributed in the hope that it will be useful, 00017 but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00019 GNU General Public License for more details. 00020 00021 You should have received a copy of the GNU General Public License 00022 along with this program; if not, write to the Free Software 00023 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00024 00025 */ 00026 00027 #include "ui_tagsuche.h" 00028 #include "datenbank.h" 00029 #include <QStringList> 00030 00033 class Tagsuche : public QDialog { 00034 // Data area 00035 Ui::Tagsuche m_ui; 00036 Datenbank *m_datenbank; 00037 00038 QButtonGroup m_modeSelect; 00039 00040 public: 00041 Tagsuche(Datenbank*, QWidget* =0, Qt::WindowFlags=0); 00042 00043 void accept(); 00044 00045 signals: 00046 void selected(const QStringList &); 00047 00048 private: 00049 Q_OBJECT 00050 }; 00051 00052 #endif