summaryrefslogtreecommitdiffstats
path: root/interfaces/ktexteditor/documentdcopinfo.cpp
blob: b339d01cd4dba7d54c36d9737336628df75bccad (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()
{

}

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