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

korganizer

Public Slots | Public Member Functions | Protected Slots | Protected Member Functions | List of all members
KOrganizer Class Reference

#include <korganizer.h>

Inheritance diagram for KOrganizer:
Inheritance graph
[legend]

Public Slots

void showStatusMessage (const QString &)
 

Public Member Functions

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

Protected Slots

void newMainWindow (const KUrl &)
 
void readSettings ()
 
void setTitle ()
 
void slotEditKeys ()
 
void statusBarPressed (int id)
 
void writeSettings ()
 

Protected Member Functions

void initActions ()
 
bool queryClose ()
 
void readProperties (const KConfigGroup &)
 
void saveProperties (KConfigGroup &)
 

Detailed Description

This is the main class for KOrganizer.

It extends the KDE KMainWindow. it provides the main view that the user sees upon startup, as well as menus, buttons, etc. etc.

constructs a new main window for korganizer

Author
Preston Brown

Definition at line 52 of file korganizer.h.

Constructor & Destructor Documentation

KOrganizer::KOrganizer ( )

Definition at line 50 of file korganizer.cpp.

KOrganizer::~KOrganizer ( )
virtual

Definition at line 68 of file korganizer.cpp.

Member Function Documentation

ActionManager* KOrganizer::actionManager ( )
inlinevirtual

Return ActionManager of this main window.

Implements KOrg::MainWindow.

Definition at line 62 of file korganizer.h.

KActionCollection* KOrganizer::getActionCollection ( ) const
inlinevirtual

Return actionCollection of this main window.

Implements KOrg::MainWindow.

Definition at line 63 of file korganizer.h.

KUrl KOrganizer::getCurrentURL ( ) const
virtual

Get current URL.

Implements KOrg::MainWindow.

Definition at line 209 of file korganizer.cpp.

void KOrganizer::init ( bool  hasDocument)
virtual

Reimplemented from KOrg::MainWindow.

Definition at line 75 of file korganizer.cpp.

void KOrganizer::initActions ( )
protected

Definition at line 148 of file korganizer.cpp.

virtual KXMLGUIClient* KOrganizer::mainGuiClient ( )
inlinevirtual

Return XML GUI client of this main window.

Implements KOrg::MainWindow.

Definition at line 86 of file korganizer.h.

virtual KXMLGUIFactory* KOrganizer::mainGuiFactory ( )
inlinevirtual

Return XML GUI factory of this main window.

Implements KOrg::MainWindow.

Definition at line 85 of file korganizer.h.

void KOrganizer::newMainWindow ( const KUrl &  url)
protectedslot

Definition at line 110 of file korganizer.cpp.

bool KOrganizer::openURL ( const KUrl &  url,
bool  merge = false 
)
virtual

Open calendar file from URL.

Merge into current calendar, if merge is true.

Parameters
urlThe URL to open
mergetrue if the incidences in URL should be imported into the current calendar (default resource or calendar file), false if the URL should be added as a new resource.
Returns
true on success, false if an error occurred

Implements KOrg::MainWindow.

Definition at line 194 of file korganizer.cpp.

bool KOrganizer::queryClose ( )
protected

supplied so that close events close calendar properly.

Definition at line 169 of file korganizer.cpp.

void KOrganizer::readProperties ( const KConfigGroup &  config)
protected

Definition at line 219 of file korganizer.cpp.

void KOrganizer::readSettings ( )
protectedslot

using the KConfig associated with the kapp variable, read in the settings from the config file.

Definition at line 126 of file korganizer.cpp.

bool KOrganizer::saveAsURL ( const KUrl &  kurl)
virtual

Save calendar file to URL.

Implements KOrg::MainWindow.

Definition at line 204 of file korganizer.cpp.

void KOrganizer::saveProperties ( KConfigGroup &  config)
protected

Definition at line 214 of file korganizer.cpp.

bool KOrganizer::saveURL ( )
virtual

Save calendar file to URL of current calendar.

Implements KOrg::MainWindow.

Definition at line 199 of file korganizer.cpp.

void KOrganizer::setTitle ( )
protectedslot

Sets title of window according to filename and modification state.

Definition at line 229 of file korganizer.cpp.

void KOrganizer::showStatusMessage ( const QString &  message)
slot

show status message

Definition at line 189 of file korganizer.cpp.

void KOrganizer::slotEditKeys ( )
protectedslot

Definition at line 163 of file korganizer.cpp.

void KOrganizer::statusBarPressed ( int  id)
protectedslot

Definition at line 184 of file korganizer.cpp.

virtual QWidget* KOrganizer::topLevelWidget ( )
inlinevirtual

Return widget whcih represents this main window.

Implements KOrg::MainWindow.

Definition at line 87 of file korganizer.h.

KOrg::CalendarViewBase * KOrganizer::view ( ) const
virtual

Implements KOrg::MainWindow.

Definition at line 224 of file korganizer.cpp.

void KOrganizer::writeSettings ( )
protectedslot

write current state to config file.

Definition at line 138 of file korganizer.cpp.


The documentation for this class was generated from the following files:
  • korganizer.h
  • korganizer.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