editor.cpp
00001
00022 #include "editor.h"
00023 #include "core.h"
00024
00025 namespace Komposer {
00026
00027 class Editor::Private {
00028 public:
00029 QString id;
00030 Core* core;
00031 };
00032
00033 Editor::Editor( Core* core, QObject* parent, const char* name )
00034 : QObject( parent, name ), d( new Private )
00035 {
00036 d->core = core;
00037 }
00038
00039 Editor::~Editor()
00040 {
00041 delete d; d = 0;
00042 }
00043
00044 void
00045 Editor::select()
00046 {
00047 }
00048
00049 void
00050 Editor::setIdentifier( const QString &identifier )
00051 {
00052 d->id = identifier;
00053 }
00054
00055 QString
00056 Editor::identifier() const
00057 {
00058 return d->id;
00059 }
00060
00061 Core*
00062 Editor::core() const
00063 {
00064 return d->core;
00065 }
00066
00067 }
00068
00069 #include "editor.moc"
This file is part of the documentation for libkdepim Library Version 3.2.2.