• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

korganizer

  • KOrg
  • MainWindow
Public Member Functions | List of all members
KOrg::MainWindow Class Referenceabstract

#include <mainwindow.h>

Inheritance diagram for KOrg::MainWindow:
Inheritance graph
[legend]

Public Member Functions

 MainWindow ()
 
virtual ~MainWindow ()
 
virtual ActionManager * actionManager ()=0
 
virtual KActionCollection * getActionCollection () const =0
 
virtual KUrl getCurrentURL () const =0
 
bool hasDocument () const
 
virtual void init (bool hasDocument)
 
virtual KXMLGUIClient * mainGuiClient ()=0
 
virtual KXMLGUIFactory * mainGuiFactory ()=0
 
virtual bool openURL (const KUrl &url, bool merge=false)=0
 
virtual bool saveAsURL (const KUrl &kurl)=0
 
virtual bool saveURL ()=0
 
void setHasDocument (bool d)
 
virtual void setTitle ()=0
 
virtual void showStatusMessage (const QString &message)=0
 
virtual QWidget * topLevelWidget ()=0
 
virtual CalendarViewBase * view () const =0
 

Detailed Description

interface for korganizer main window

Author
Cornelius Schumacher

Definition at line 44 of file mainwindow.h.

Constructor & Destructor Documentation

KOrg::MainWindow::MainWindow ( )

Definition at line 26 of file mainwindow.cpp.

KOrg::MainWindow::~MainWindow ( )
virtual

Definition at line 30 of file mainwindow.cpp.

Member Function Documentation

virtual ActionManager* KOrg::MainWindow::actionManager ( )
pure virtual

Return ActionManager of this main window.

Implemented in KOrganizerPart, and KOrganizer.

virtual KActionCollection* KOrg::MainWindow::getActionCollection ( ) const
pure virtual

Return actionCollection of this main window.

Implemented in KOrganizerPart, and KOrganizer.

virtual KUrl KOrg::MainWindow::getCurrentURL ( ) const
pure virtual

Get current URL.

Implemented in KOrganizer, and KOrganizerPart.

bool KOrg::MainWindow::hasDocument ( ) const

Definition at line 44 of file mainwindow.cpp.

void KOrg::MainWindow::init ( bool  hasDocument)
virtual

Reimplemented in KOrganizer.

Definition at line 34 of file mainwindow.cpp.

virtual KXMLGUIClient* KOrg::MainWindow::mainGuiClient ( )
pure virtual

Return XML GUI client of this main window.

Implemented in KOrganizer, and KOrganizerPart.

virtual KXMLGUIFactory* KOrg::MainWindow::mainGuiFactory ( )
pure virtual

Return XML GUI factory of this main window.

Implemented in KOrganizer, and KOrganizerPart.

virtual bool KOrg::MainWindow::openURL ( const KUrl &  url,
bool  merge = false 
)
pure virtual

Load calendar file from URL.

Merge into current calendar, if merge is true.

Parameters
urlThe URL of the calendar to open
mergeIf true, the items from the url are inserted into the current calendar (default resource). Otherwise the URL is added as a new resource.

Implemented in KOrganizer, and KOrganizerPart.

virtual bool KOrg::MainWindow::saveAsURL ( const KUrl &  kurl)
pure virtual

Save calendar file to URL.

Implemented in KOrganizer, and KOrganizerPart.

virtual bool KOrg::MainWindow::saveURL ( )
pure virtual

Save calendar file to URL of current calendar.

Implemented in KOrganizer, and KOrganizerPart.

void KOrg::MainWindow::setHasDocument ( bool  d)

Definition at line 39 of file mainwindow.cpp.

virtual void KOrg::MainWindow::setTitle ( )
pure virtual

Set window title.

Implemented in KOrganizerPart.

virtual void KOrg::MainWindow::showStatusMessage ( const QString &  message)
pure virtual

Show status message in status bar.

Implemented in KOrganizerPart.

virtual QWidget* KOrg::MainWindow::topLevelWidget ( )
pure virtual

Return widget whcih represents this main window.

Implemented in KOrganizer, and KOrganizerPart.

virtual CalendarViewBase* KOrg::MainWindow::view ( ) const
pure virtual

Implemented in KOrganizer, and KOrganizerPart.


The documentation for this class was generated from the following files:
  • mainwindow.h
  • mainwindow.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:33:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

korganizer

Skip menu "korganizer"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer
  • pimprint

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal