messagingapp/msgui/appengine/tsrc/testconversationengine/inc/testconversationupdatehandler.h
changeset 37 518b245aa84c
equal deleted inserted replaced
25:84d9eb65b26f 37:518b245aa84c
       
     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:
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef T_CONVERSATIONUPDATEHANDLER_H_
       
    19 #define T_CONVERSATIONUPDATEHANDLER_H_
       
    20 
       
    21 // INCLUDES
       
    22 #include <QtTest/QtTest>
       
    23 
       
    24 
       
    25 class TConversationUpdateHandler : public QObject
       
    26     {
       
    27     Q_OBJECT
       
    28 public: 
       
    29 
       
    30     /**
       
    31      * Constructor
       
    32      */
       
    33     explicit TConversationUpdateHandler(QObject* parent = 0);    
       
    34 
       
    35     /**
       
    36      * Set the conversation view update handler 
       
    37      */
       
    38     void SetConversationsViewUpdateHandler();
       
    39 
       
    40     /**
       
    41      * Set the conversation summary view update handler 
       
    42      */
       
    43     void SetConversationsSummaryViewUpdateHandler();
       
    44    
       
    45 private slots:
       
    46 
       
    47     /**
       
    48      * Validates Conversation view on updation 
       
    49      */
       
    50     void ConversationsViewUpdated();
       
    51 
       
    52     /**
       
    53      * Validates Conversation summary view on updation 
       
    54      */
       
    55     void ConversationsSummaryViewUpdated();
       
    56     
       
    57     };
       
    58 #endif /* T_CONVERSATIONUPDATEHANDLER_H_ */