/epxsubmit_dialog.h

http://ewitool.googlecode.com/ · C Header · 57 lines · 25 code · 10 blank · 22 comment · 0 complexity · 4bbd95ffe6e0a9c32483c5c4f483f8f1 MD5 · raw file

  1. /***************************************************************************
  2. * Copyright (C) 2008 by Steve Merrony *
  3. * steve@brahma *
  4. * *
  5. * This program is free software; you can redistribute it and/or modify *
  6. * it under the terms of the GNU General Public License as published by *
  7. * the Free Software Foundation; either version 3 of the License, or *
  8. * (at your option) any later version. *
  9. * *
  10. * This program is distributed in the hope that it will be useful, *
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of *
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
  13. * GNU General Public License for more details. *
  14. * *
  15. * You should have received a copy of the GNU General Public License *
  16. * along with this program; if not, write to the *
  17. * Free Software Foundation, Inc., *
  18. * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
  19. ***************************************************************************/
  20. #ifndef EPXSUBMIT_DIALOG_H
  21. #define EPXSUBMIT_DIALOG_H
  22. /**
  23. @author Steve Merrony <steve@brahma>
  24. */
  25. #include <QDialog>
  26. #include <QSettings>
  27. #include <QStringList>
  28. #include "patchexchange.h"
  29. #include "ui_epxSubmit_dialog.h"
  30. class epxSubmit_dialog : public QDialog, Ui::epxSubmit_Dialog {
  31. Q_OBJECT
  32. public:
  33. epxSubmit_dialog( QString pname );
  34. ~epxSubmit_dialog();
  35. QString p_origin;
  36. QString p_private;
  37. QString p_type;
  38. QString p_desc;
  39. QString p_tags;
  40. private slots:
  41. void accept();
  42. void populateDropdowns( QStringList dd_data );
  43. private:
  44. QSettings *settings;
  45. patchExchange *epx;
  46. };
  47. #endif