bluetoothengine/btui/btuidelegate/btabstractdelegate.cpp
changeset 19 43824b19ee35
child 31 a0ea99b6fa53
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bluetoothengine/btui/btuidelegate/btabstractdelegate.cpp	Fri May 14 16:01:46 2010 +0300
@@ -0,0 +1,40 @@
+/*
+* Copyright (c) 2010 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 "btabstractdelegate.h"
+#include "btuimodel.h"
+
+/*!
+    Constructor.
+ */
+BtAbstractDelegate::BtAbstractDelegate( BtuiModel& model, QObject *parent )
+    : QObject( parent ), mModel(model)
+{
+}
+
+/*!
+    Destructor.
+ */
+BtAbstractDelegate::~BtAbstractDelegate()
+{
+}
+
+BtuiModel &BtAbstractDelegate::model()
+{
+    return mModel;
+}