src/hbcore/utils/hbxmlloaderbaseactions_p.h
changeset 34 ed14f46c0e55
parent 7 923ff622b8b9
--- a/src/hbcore/utils/hbxmlloaderbaseactions_p.h	Mon Oct 04 17:49:30 2010 +0300
+++ b/src/hbcore/utils/hbxmlloaderbaseactions_p.h	Mon Oct 18 18:23:13 2010 +0300
@@ -30,7 +30,6 @@
 #include "hbxmlloaderabstractactions_p.h"
 
 #include <hbglobal.h>
-#include <hbdeviceprofile.h>
 
 #include <QGraphicsWidget>
 #include <QGraphicsLayout>
@@ -49,6 +48,7 @@
 
 class HbXmlLoaderAbstractPrivate;
 struct HbXmlLengthValue;
+class HbMainWindow;
 
 class HB_CORE_PRIVATE_EXPORT HbXmlLoaderBaseActions : public HbXmlLoaderAbstractActions
 {
@@ -77,7 +77,7 @@
         QGraphicsWidget* findWidget(const QString &name);
         QObject* findObject(const QString &name);
 
-	public:
+    public:
 
         virtual bool pushDocument(const QString& context);
         virtual bool pop(const HbXml::ElementType type);
@@ -96,7 +96,7 @@
         bool toPixels(const HbXmlLengthValue &lengthVal, qreal& result) const;
         QString translate(const QString &value, const QString &comment);
         Hb::Edge getAnchorOppositeEdge( Hb::Edge edge ) const;
-		
+        
     protected:
         QString mContext;
 
@@ -107,9 +107,7 @@
     private:
         Q_DISABLE_COPY(HbXmlLoaderBaseActions)
     public:
-#ifndef HB_BIN_CSS
-        HbDeviceProfile mCurrentProfile;
-#endif
+        const HbMainWindow* mMainWindow;
 };
 
 #endif // HBXMLLOADERBASEACTIONS_P_H