36 class MyNetworkAccessManager:
public QNetworkAccessManager
41 MyNetworkAccessManager(QObject *parent) : QNetworkAccessManager(parent) {}
44 QNetworkReply * createRequest(Operation op,
45 const QNetworkRequest & req,
46 QIODevice * outgoingData = 0);
56 class MyWebPage:
public QWebPage
61 QObject *createPlugin(
62 const QString &classid,
64 const QStringList ¶mNames,
65 const QStringList & paramValues);
68 MyWebPage(QObject *parent = 0);
80 class MyWebView:
public QWebView
85 QProgressBar* progressBar;
88 void link(
const QUrl& url);
90 void stopBusy(
bool val);
93 void ignoreSSLErrors(QNetworkReply *reply, QList<QSslError> sslErrors);
97 MyWebView(QWidget *parent = 0);
99 MyWebPage* webPage() {
return &m_page;}
100 virtual QSize sizeHint ()
const;
107 class WebPageDockWidget :
public QDockWidget
114 void addToJavascript();
115 void saveOnlineFinished();
118 WebPageDockWidget(MuseScore*
mscore, QWidget* parent = 0);
119 Q_INVOKABLE
void load();
120 Q_INVOKABLE
bool saveCurrentScoreOnline(QString action, QVariantMap parameters, QString fileFieldName);
121 Q_INVOKABLE
bool setCurrentScoreSource(QString source);
122 Q_INVOKABLE QObject* currentScore();
127 class CookieJar :
public QNetworkCookieJar
132 CookieJar(QString path, QObject *parent = 0);
144 class WebScoreView :
public ScoreView
147 QNetworkAccessManager* networkManager;
150 void networkFinished(QNetworkReply*);
153 WebScoreView(QWidget* parent = 0);
154 WebScoreView(
const WebScoreView&);
155 void setScore(
const QString&);
158 Q_DECLARE_METATYPE(WebScoreView);
Definition: aeolus.cpp:26
MScore * mscore
Definition: musescore.cpp:171