videocollection/videocollectionview/inc/videocollectionviewplugin.h
changeset 34 bbb98528c666
parent 30 4f111d64a341
child 35 3738fe97f027
--- a/videocollection/videocollectionview/inc/videocollectionviewplugin.h	Thu Apr 01 23:13:36 2010 +0300
+++ b/videocollection/videocollectionview/inc/videocollectionviewplugin.h	Thu Apr 01 23:22:15 2010 +0300
@@ -1,37 +1,30 @@
 /*
-* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:   VideoCollectionViewPlugin class definition
-* 
-*/
+ * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
+ * All rights reserved.
+ * This component and the accompanying materials are made available
+ * under the terms of "Eclipse Public License v1.0"
+ * which accompanies this distribution, and is available
+ * at the URL "http://www.eclipse.org/legal/epl-v10.html".
+ *
+ * Initial Contributors:
+ * Nokia Corporation - initial contribution.
+ *
+ * Contributors:
+ *
+ * Description:   VideoCollectionViewPlugin class definition
+ * 
+ */
 
 #ifndef VIDEOVIEWPLUGIN_H
 #define VIDEOVIEWPLUGIN_H
 
+#include <mpxviewpluginqt.h>
 
-// INCLUDES
-#include <qobject>
-#include <mpxviewpluginqt.h>
-#include <qpointer.h>
-
-class HbAction;
 class VideoCollectionUiLoader;
 class VideoListView;
 
-
-class VideoCollectionViewPlugin : public MpxViewPlugin
-	{
-    
+class VideoCollectionViewPlugin: public MpxViewPlugin
+{
     Q_OBJECT
 
 public: // Constructor / destructor
@@ -39,41 +32,41 @@
     /**
      * Contructor.
      *
-     */ 
+     */
     VideoCollectionViewPlugin();
-    
+
     /**
      * Destructor.
      *
-     */ 
+     */
     virtual ~VideoCollectionViewPlugin();
 
 public: // from QViewPlugin
-    
+
     /**
      * Allocates view and it's objects to be ready to 
      * be activated.
      *
      */
     void createView();
-    
+
     /**
      * Deallocates view and it's objects.
      */
     void destroyView();
-    
+
     /**
      * Activates view
      *
      */
     void activateView();
-    
+
     /**
      * Deactivates view
      *
      */
     void deactivateView();
-    
+
     /**
      * Returns a pointer to the view
      *
@@ -88,7 +81,7 @@
      *
      * @param command id
      */
-    void command( int );
+    void command(int);
 
 public slots: // from QViewPlugin
 
@@ -98,35 +91,32 @@
      *
      * @param orientation new orientation
      */
-    void orientationChange( Qt::Orientation orientation );
-    
+    void orientationChange(Qt::Orientation orientation);
+
     /**
      * Plugin user can notify oback button changes by connecting into this slot
      *
      */
     void back();
-    
 
 private:
-    
+
     /**
      * docml ui loader, owned
      */
     VideoCollectionUiLoader *mUiLoader;
-    
+
     /**
      * View object, owned
      */
     VideoListView *mView;
-    
+
     /**
      * Activated flag. Set as true when view is properly activated.
      * If flag is false, no operations can be do to the view.
      */
     bool mActivated;
-    
-    };
+};
 
 #endif  // VIDEOVIEWPLUGIN_H
-
 // End of File