summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libs/installer/productkeycheck.cpp4
-rw-r--r--src/libs/installer/productkeycheck.h9
2 files changed, 4 insertions, 9 deletions
diff --git a/src/libs/installer/productkeycheck.cpp b/src/libs/installer/productkeycheck.cpp
index e86ef77ff..5d663d6bd 100644
--- a/src/libs/installer/productkeycheck.cpp
+++ b/src/libs/installer/productkeycheck.cpp
@@ -35,8 +35,6 @@
#include "productkeycheck.h"
#include "packagemanagercore.h"
-namespace QInstaller {
-
class ProductKeyCheckPrivate
{
};
@@ -109,5 +107,3 @@ QList<int> ProductKeyCheck::registeredPages() const
{
return QList<int>();
}
-
-} // namespace QInstaller
diff --git a/src/libs/installer/productkeycheck.h b/src/libs/installer/productkeycheck.h
index 3b0ceb086..db8a6a8d6 100644
--- a/src/libs/installer/productkeycheck.h
+++ b/src/libs/installer/productkeycheck.h
@@ -42,9 +42,10 @@
namespace QInstaller {
class PackageManagerCore;
-class ProductKeyCheckPrivate;
class Repository;
+} // QInstaller
+
class INSTALLER_EXPORT ProductKeyCheck
{
Q_DISABLE_COPY(ProductKeyCheck)
@@ -52,7 +53,7 @@ class INSTALLER_EXPORT ProductKeyCheck
public:
~ProductKeyCheck();
static ProductKeyCheck *instance();
- void init(PackageManagerCore *core);
+ void init(QInstaller::PackageManagerCore *core);
// was validLicense
bool hasValidKey();
@@ -75,9 +76,7 @@ public:
private:
ProductKeyCheck();
- ProductKeyCheckPrivate *const d;
+ class ProductKeyCheckPrivate *const d;
};
-} // namespace QInstaller
-
#endif // PRODUCTKEYCHECK_H