~ubuntu-branches/ubuntu/lucid/kmess/lucid

« back to all changes in this revision

Viewing changes to src/chat/chatmessageview.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2009-12-05 21:19:26 UTC
  • mfrom: (1.1.7 upstream) (0.1.8 sid)
  • Revision ID: james.westby@ubuntu.com-20091205211926-r26u8j38kysf6o2p
Tags: 2.0.2-1
* New upstream release 
  - Fixes friendly names (LP: #485640)
* Update Homepage: http://kmess.org
* Add Build-Depends: libphonon-dev | libqt4-phonon-dev (ubuntu friendly)
* kmess.1 fix lintian:hyphen-used-as-minus-sign

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
#include <KMenu>
42
42
 
43
43
// The constructor
44
 
ChatMessageView::ChatMessageView( QWidget *parent )
45
 
 : KHTMLPart( parent, 0, DefaultGUI )
 
44
ChatMessageView::ChatMessageView( QWidget *parentWidget, QObject *parent )
 
45
 : KHTMLPart( parentWidget, parent, DefaultGUI )
46
46
 , chatClearingMark_(0)
47
47
 , isEmpty_(true)
48
48
 , lastMessageId_(0)
389
389
      // Before the first message, add a simple header
390
390
      chatHistory += "\n\n"
391
391
                  +  i18nc( "Header of a single chat saved as plain text chat log: %1 is the chat date and time",
392
 
                            "Chat started on: %2",
 
392
                            "Chat started on: %1",
393
393
                            KGlobal::locale()->formatDateTime( QDateTime::fromTime_t( date ), KLocale::ShortDate ) )
394
394
                  +  "\n------------------------------------------------------------\n";
395
395
 
429
429
      if( ! append )
430
430
      {
431
431
        chatHistory.prepend( i18nc( "Header of a chat file saved in plain text: %1 is the contact",
432
 
                                    "Saved KMess chats with %1" )
 
432
                                    "Saved KMess chats with %1", handle )
433
433
                           + "\n######################################################################\n" );
434
434
      }
435
435