summaryrefslogtreecommitdiff
path: root/src/plugins/android/androidmanifesteditorwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/android/androidmanifesteditorwidget.h')
-rw-r--r--src/plugins/android/androidmanifesteditorwidget.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/plugins/android/androidmanifesteditorwidget.h b/src/plugins/android/androidmanifesteditorwidget.h
index ab19800e2f..b35d7ccd2f 100644
--- a/src/plugins/android/androidmanifesteditorwidget.h
+++ b/src/plugins/android/androidmanifesteditorwidget.h
@@ -48,6 +48,8 @@ class QLineEdit;
class QListView;
class QSpinBox;
class QToolButton;
+class QXmlStreamReader;
+class QXmlStreamWriter;
QT_END_NAMESPACE
namespace Core { class IEditor; }
@@ -137,7 +139,6 @@ private:
void syncToEditor();
bool checkDocument(QDomDocument doc, QString *errorMessage, int *errorLine, int *errorColumn);
- bool setAndroidAppLibName(QDomDocument document, QDomElement activity, const QString &name);
enum IconDPI { LowDPI, MediumDPI, HighDPI };
QIcon icon(const QString &baseDir, IconDPI dpi);
QString iconPath(const QString &baseDir, IconDPI dpi);
@@ -147,6 +148,14 @@ private:
void hideInfoBar();
Q_SLOT void updateTargetComboBox();
+ void parseManifest(QXmlStreamReader &reader, QXmlStreamWriter &writer);
+ void parseApplication(QXmlStreamReader &reader, QXmlStreamWriter &writer);
+ void parseActivity(QXmlStreamReader &reader, QXmlStreamWriter &writer);
+ bool parseMetaData(QXmlStreamReader &reader, QXmlStreamWriter &writer);
+ void parseUsesSdk(QXmlStreamReader &reader, QXmlStreamWriter &writer);
+ QString parseUsesPermission(QXmlStreamReader &reader, QXmlStreamWriter &writer, const QSet<QString> permissions);
+ void parseUnknownElement(QXmlStreamReader &reader, QXmlStreamWriter &writer);
+
bool m_dirty; // indicates that we need to call syncToEditor()
bool m_stayClean;
bool m_setAppName;