Go to the documentation of this file.00001 #ifndef ADDSHOWDIALOG_H
00002 #define ADDSHOWDIALOG_H
00003
00004 #include <QtGui/QDialog>
00005 #include <QtXml>
00006 #include "ui_addshowdialog.h"
00007
00008 class QNetworkReply;
00009
00012 class addshowdialog: public QDialog {
00013 Q_OBJECT
00014
00015 public:
00016 addshowdialog(QWidget *parent = 0);
00017 ~addshowdialog();
00018
00019 private:
00020 void GetSearchResults(QString showname);
00021
00022 Ui::addshowdialogClass ui;
00023
00025 QDomDocument searchResults;
00026
00027 signals:
00030 void AddedShow(QString showId);
00031
00032 public slots:
00033 void ProcessSearchResults(QNetworkReply* netreply);
00034 void Search();
00035 void AddShow();
00036 void EnableSearch(const QString& text);
00037 void EnableAdd();
00038
00039 };
00040
00041 #endif // ADDSHOWDIALOG_H