summaryrefslogtreecommitdiffstats
path: root/tools/assistant
diff options
context:
space:
mode:
Diffstat (limited to 'tools/assistant')
-rw-r--r--tools/assistant/tools/assistant/xbelsupport.cpp4
-rw-r--r--tools/assistant/tools/assistant/xbelsupport.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/tools/assistant/tools/assistant/xbelsupport.cpp b/tools/assistant/tools/assistant/xbelsupport.cpp
index 545be6c..3c545ac 100644
--- a/tools/assistant/tools/assistant/xbelsupport.cpp
+++ b/tools/assistant/tools/assistant/xbelsupport.cpp
@@ -44,6 +44,8 @@
#include <QtCore/QCoreApplication>
+QT_BEGIN_NAMESPACE
+
struct Bookmark {
QString title;
QString url;
@@ -232,3 +234,5 @@ QStandardItem *XbelReader::createChildItem(QStandardItem *item)
return childItem;
}
+
+QT_END_NAMESPACE
diff --git a/tools/assistant/tools/assistant/xbelsupport.h b/tools/assistant/tools/assistant/xbelsupport.h
index 177b04b..f3bf102 100644
--- a/tools/assistant/tools/assistant/xbelsupport.h
+++ b/tools/assistant/tools/assistant/xbelsupport.h
@@ -48,6 +48,8 @@
QT_FORWARD_DECLARE_CLASS(QIODevice)
QT_FORWARD_DECLARE_CLASS(QStandardItem)
+QT_BEGIN_NAMESPACE
+
class BookmarkModel;
class XbelWriter : public QXmlStreamWriter
@@ -84,4 +86,6 @@ private:
BookmarkModel *listModel;
};
+QT_END_NAMESPACE
+
#endif // XBELSUPPORT_H