phoneapp/phoneuiqtviewadapter/inc/phonemessagecontroller.h
changeset 22 6bb1b21d2484
child 45 6b911d05207e
equal deleted inserted replaced
21:92ab7f8d0eab 22:6bb1b21d2484
       
     1 /*!
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Handles message editor.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef PHONEMESSAGECONTROLLER_H
       
    19 #define PHONEMESSAGECONTROLLER_H
       
    20 
       
    21 #include <QObject>
       
    22 #include <QString>
       
    23 #include "tphonecmdparamnote.h"
       
    24 
       
    25 // FORWARD DECLARATION
       
    26 class TPhoneCommandParam;
       
    27 
       
    28 class PhoneMessageController : public QObject
       
    29 {
       
    30     Q_OBJECT
       
    31     
       
    32 public:
       
    33 
       
    34     /*!
       
    35         \fn PhoneMessageController (QObject *parent)
       
    36     */
       
    37     PhoneMessageController(QObject *parent = 0);
       
    38         
       
    39     /*!
       
    40         Destructor
       
    41      */
       
    42     virtual ~PhoneMessageController();
       
    43     
       
    44     /*!
       
    45         \fn void openSoftRejectMessageEditor()
       
    46         
       
    47         This method opens soft reject message editor.
       
    48 
       
    49     */
       
    50     void openSoftRejectMessageEditor(TPhoneCommandParam *commandParam);
       
    51  
       
    52 private:
       
    53     
       
    54     /*!
       
    55         \fn void showNote ()
       
    56         
       
    57         This method opens message editor.
       
    58 
       
    59     */
       
    60     void openEditor(QString toField, QString name, QString messageBody = QString());
       
    61     
       
    62 };
       
    63 
       
    64 #endif // PHONEMESSAGECONTROLLER_H
       
    65