summaryrefslogtreecommitdiffstats
path: root/interfaces/ktexteditor/documentdcopinfo.cpp
blob: 7377fcf796bf336df930f4510b38a8d76c538774 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#include "documentinfo.h"
#include "documentdcopinfo.h"

#include <dcopclient.h>
using namespace KTextEditor;

DocumentInfoDCOPInterface::DocumentInfoDCOPInterface( DocumentInfoInterface *Parent, const char *name)
	: DCOPObject(name)
{
	m_parent = Parent;
}

DocumentInfoDCOPInterface::~DocumentInfoDCOPInterface()
{

}

QString DocumentInfoDCOPInterface::mimeType()
{
	return m_parent->mimeType();
}
long  DocumentInfoDCOPInterface::fileSize()
{
	return m_parent->fileSize();
}
QString DocumentInfoDCOPInterface::niceFileSize()
{
	return m_parent->niceFileSize();
}
uint DocumentInfoDCOPInterface::documentInfoInterfaceNumber ()
{
	return m_parent->documentInfoInterfaceNumber ();
}