messagingapp/msgui/unifiedviewer/inc/univiewertextitem.h
changeset 76 60a8a215b0ec
parent 38 4e4b6adb1024
equal deleted inserted replaced
73:ecf6a73a9186 76:60a8a215b0ec
    97 
    97 
    98     /**
    98     /**
    99      * common handlers.
    99      * common handlers.
   100      */
   100      */
   101     void openContactInfo();
   101     void openContactInfo();
   102     void saveToContacts();
       
   103     void copyToClipboard();
   102     void copyToClipboard();
   104     
   103     
   105     /**
   104     /**
   106      * Slot for handling valid returns from the framework.
   105      * Slot for handling valid returns from the framework.
   107      * 
   106      * 
   139     QTextCharFormat mFormatHighlight;
   138     QTextCharFormat mFormatHighlight;
   140     QTextCharFormat mFormatNormal;
   139     QTextCharFormat mFormatNormal;
   141 
   140 
   142     //Current cursor position.
   141     //Current cursor position.
   143     int mCursorPos;
   142     int mCursorPos;
       
   143 
       
   144 #ifdef MSGUI_UNIT_TEST
       
   145     /**
       
   146      * Unit Testing
       
   147      */
       
   148     friend class TestUniViewerTextItem;
       
   149 #endif
   144 };
   150 };
   145 
   151 
   146 #endif // UNIVIEWERTEXTITEM_H
   152 #endif // UNIVIEWERTEXTITEM_H