messagingapp/msgui/unifiededitor/inc/msgtypenotifier.h
changeset 25 84d9eb65b26f
parent 23 238255e8b033
child 27 e4592d119491
child 37 518b245aa84c
child 79 2981cb3aa489
--- a/messagingapp/msgui/unifiededitor/inc/msgtypenotifier.h	Fri Apr 16 14:56:15 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,66 +0,0 @@
-/*
- * 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: Helper class to keep record of msg type changes
- *
- */
-
-#ifndef MSG_TYPE_NOTIFIER_H
-#define MSG_TYPE_NOTIFIER_H
-
-#include <QObject>
-#include "convergedmessage.h"
-
-class MsgTypeNotifier : public QObject
-    {
-    Q_OBJECT
-
-public:
-
-    /**
-     * Constructor
-     */
-    MsgTypeNotifier(QObject* parent=0);
-
-    /**
-     * Destructor
-     */
-    ~MsgTypeNotifier();
-
-    /**
-     * Seeker method to access current message type
-     */
-    ConvergedMessage::MessageType messageType() const;
-
-    /**
-     * Set to skip showing note for first time
-     */
-    void setSkipNote();
-
-public slots:
-    /**
-     * Public slot to keep MMS content count for the under construction
-     * message. To be called from content widgets.
-     * @param isAdded true/false
-     */
-    void onMMContentAdded(bool isAdded);
-    
-private:
-    void showPopup(const QString& text);
-
-private:
-    int mmContentCount;
-    bool mSkipNote;
-    };
-
-#endif //MSG_TYPE_NOTIFIER_H