korganizer

#include <korganizer.h>

Inheritance diagram for KOrganizer:
KOrg::MainWindow

Public Slots

void showStatusMessage (const TQString &)
 

Public Member Functions

 KOrganizer (const char *name=0)
 
void init (bool hasDocument)
 
KOrg::CalendarViewBaseview () const
 
ActionManageractionManager ()
 
TDEActionCollection * getActionCollection () const
 
bool openURL (const KURL &url, bool merge=false)
 
bool saveURL ()
 
bool saveAsURL (const KURL &kurl)
 
KURL getCurrentURL () const
 
virtual KXMLGUIFactory * mainGuiFactory ()
 
virtual KXMLGUIClient * mainGuiClient ()
 
virtual TQWidget * topLevelWidget ()
 
virtual bool isCurrentlyActivePart ()
 
- Public Member Functions inherited from KOrg::MainWindow
virtual void showStatusMessage (const TQString &message)=0
 
virtual void setTitle ()=0
 
void setHasDocument (bool d)
 
bool hasDocument () const
 

Protected Slots

void readSettings ()
 
void writeSettings ()
 
void statusBarPressed (int)
 
void setTitle ()
 
void newMainWindow (const KURL &)
 

Protected Member Functions

void initActions ()
 
bool queryClose ()
 
bool queryExit ()
 
void saveProperties (TDEConfig *)
 
void readProperties (TDEConfig *)
 

Detailed Description

This is the main class for KOrganizer.

It extends the KDE TDEMainWindow. 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 65 of file korganizer.h.

Constructor & Destructor Documentation

◆ KOrganizer()

KOrganizer::KOrganizer ( const char *  name = 0)

Constructs a new main window.

Parameters
nameTQt internal widget name

Definition at line 89 of file korganizer.cpp.

Member Function Documentation

◆ actionManager()

ActionManager* KOrganizer::actionManager ( )
inlinevirtual

Return ActionManager of this main window.

Implements KOrg::MainWindow.

Definition at line 80 of file korganizer.h.

◆ getActionCollection()

TDEActionCollection* KOrganizer::getActionCollection ( ) const
inlinevirtual

Return actionCollection of this main window.

Implements KOrg::MainWindow.

Definition at line 81 of file korganizer.h.

◆ getCurrentURL()

KURL KOrganizer::getCurrentURL ( ) const
virtual

Get current URL.

Implements KOrg::MainWindow.

Definition at line 264 of file korganizer.cpp.

◆ mainGuiClient()

virtual KXMLGUIClient* KOrganizer::mainGuiClient ( )
inlinevirtual

Return XML GUI client of this main window.

Implements KOrg::MainWindow.

Definition at line 96 of file korganizer.h.

◆ mainGuiFactory()

virtual KXMLGUIFactory* KOrganizer::mainGuiFactory ( )
inlinevirtual

Return XML GUI factory of this main window.

Implements KOrg::MainWindow.

Definition at line 95 of file korganizer.h.

◆ openURL()

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

Open calendar file from URL.

Merge into current calendar, if merge is true.

Implements KOrg::MainWindow.

Definition at line 249 of file korganizer.cpp.

◆ queryClose()

bool KOrganizer::queryClose ( )
protected

supplied so that close events close calendar properly.

Definition at line 219 of file korganizer.cpp.

◆ readSettings

void KOrganizer::readSettings ( )
protectedslot

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

Definition at line 178 of file korganizer.cpp.

◆ saveAsURL()

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

Save calendar file to URL.

Implements KOrg::MainWindow.

Definition at line 259 of file korganizer.cpp.

◆ saveURL()

bool KOrganizer::saveURL ( )
virtual

Save calendar file to URL of current calendar.

Implements KOrg::MainWindow.

Definition at line 254 of file korganizer.cpp.

◆ setTitle

void KOrganizer::setTitle ( )
protectedslot

Sets title of window according to filename and modification state.

Definition at line 284 of file korganizer.cpp.

◆ showStatusMessage

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

show status message

Definition at line 244 of file korganizer.cpp.

◆ topLevelWidget()

virtual TQWidget* KOrganizer::topLevelWidget ( )
inlinevirtual

Return widget whcih represents this main window.

Implements KOrg::MainWindow.

Definition at line 97 of file korganizer.h.

◆ writeSettings

void KOrganizer::writeSettings ( )
protectedslot

write current state to config file.

Definition at line 191 of file korganizer.cpp.


The documentation for this class was generated from the following files: