controlpanelui/src/cpprofilewrapper/src/cpprofilemonitor.cpp
changeset 40 593f946f4fec
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/controlpanelui/src/cpprofilewrapper/src/cpprofilemonitor.cpp	Wed Sep 29 10:09:58 2010 +0800
@@ -0,0 +1,48 @@
+/*
+ * 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:  
+ *   
+ */
+
+#include "cpprofilemonitor.h"
+#include "cpprofilemonitor_p.h"
+
+/*!
+     \class  CpProfileMonitor
+     \brief This class will observe the profile change or modification, and emit related signals.
+ */
+/*!
+     \fn  void profileActivated(int activeProfileId)
+     This signal will emmit when a new profile activated
+ */
+/*!
+     \fn      void activeProfileModified(int activeProfileId)
+     This signal will emmit when active profile's settings are modified
+ */
+/*!
+  Constructor
+ */
+CpProfileMonitor::CpProfileMonitor(QObject *parent)
+    :QObject(parent),d_ptr(new CpProfileMonitorPrivate())
+{
+    d_ptr->initialize(this);
+}
+
+/*!
+   Descontructor
+ */
+CpProfileMonitor::~CpProfileMonitor()
+{    
+    delete d_ptr;        
+}