summaryrefslogtreecommitdiffstats
path: root/korganizer/kocore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/kocore.cpp')
-rw-r--r--korganizer/kocore.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/korganizer/kocore.cpp b/korganizer/kocore.cpp
index b9d404e70..d5ed4f39b 100644
--- a/korganizer/kocore.cpp
+++ b/korganizer/kocore.cpp
@@ -41,6 +41,8 @@
#include <tqwidget.h>
+static bool m_editoropen = false;
+
KOCore *KOCore::mSelf = 0;
KOCore *KOCore::self()
@@ -62,6 +64,16 @@ KOCore::~KOCore()
mSelf = 0;
}
+bool KOCore::editorWindowOpen()
+{
+ return m_editoropen;
+}
+
+void KOCore::setEditorWindowOpen(bool open)
+{
+ m_editoropen = open;
+}
+
KTrader::OfferList KOCore::availablePlugins( const TQString &type, int version )
{
TQString constraint;