1 /***************************************************************************
2 Copyright 2006 David Nolden <david.nolden.kdevelop@art-master.de>
3 ***************************************************************************/
5 /***************************************************************************
7 * This program is free software; you can redistribute it and/or modify *
8 * it under the terms of the GNU General Public License as published by *
9 * the Free Software Foundation; either version 2 of the License, or *
10 * (at your option) any later version. *
12 ***************************************************************************/
14 #include "indocumentmessage.h"
15 #include "lib/network/messagetypeset.h"
16 #include "kdevteamwork_messageshower.h"
18 ///@todo move some stuff from conversationmanager.cpp here
20 ///Can be used to get and set the context-lines
21 DocumentContextLines
& InDocumentMessage::contextLines() {
22 return m_contextLines
;
25 InDocumentReference
& InDocumentMessage::start() {
29 InDocumentReference
& InDocumentMessage::end() {
33 QString
InDocumentMessage::shortName() const {
34 return "Document-Message";
37 void InDocumentMessage::showInWidget( QWidget
* widget
, KDevTeamwork
* tw
) {
38 new InDocumentMessageShower( this, widget
, tw
);
41 REGISTER_MESSAGE( InDocumentMessage
)
43 // kate: space-indent on; indent-width 2; tab-width 2; replace-tabs on