diff options
Diffstat (limited to 'kontact/plugins/korganizer/korganizerplugin.cpp')
-rw-r--r-- | kontact/plugins/korganizer/korganizerplugin.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kontact/plugins/korganizer/korganizerplugin.cpp b/kontact/plugins/korganizer/korganizerplugin.cpp index 7aef2e6e0..f219661d2 100644 --- a/kontact/plugins/korganizer/korganizerplugin.cpp +++ b/kontact/plugins/korganizer/korganizerplugin.cpp @@ -212,6 +212,12 @@ void KOrganizerPlugin::processDropEvent( QDropEvent *event ) .arg( event->format() ) ); } +bool KOrganizerPlugin::queryClose() const { + KOrganizerIface_stub stub( kapp->dcopClient(), "korganizer", "KOrganizerIface" ); + bool canClose=stub.canQueryClose(); + return canClose; +} + void KOrganizerPlugin::loadProfile( const QString& directory ) { DCOPRef ref( "korganizer", "KOrganizerIface" ); |