kandy Library API Documentation

Kandy Class Reference

This class serves as the main window for Kandy. Main window class. More...

#include <kandy.h>

List of all members.

Public Slots

void setTitle ()
void modemConnect ()
void showErrorMessage (const QString &)

Signals

void showMobileWin ()
void connectStateChanged (bool)

Public Member Functions

 Kandy (CommandScheduler *)
virtual ~Kandy ()
void load (const QString &url)
void save (const QString &url)

Protected Member Functions

virtual void dragEnterEvent (QDragEnterEvent *event)
virtual void dropEvent (QDropEvent *event)
bool queryClose ()
void saveProperties (KConfig *)
void readProperties (KConfig *)


Detailed Description

This class serves as the main window for Kandy. Main window class.

It handles the menus, toolbars, and status bars.

Author:
Cornelius Schumacher <schumacher@kde.org>
Version:
0.1

Definition at line 48 of file kandy.h.


Constructor & Destructor Documentation

Kandy::Kandy CommandScheduler *   ) 
 

Default Constructor.

Definition at line 60 of file kandy.cpp.

References Kandy(), and load().

Referenced by Kandy().

Kandy::~Kandy  )  [virtual]
 

Default Destructor.

Definition at line 98 of file kandy.cpp.


Member Function Documentation

void Kandy::load const QString url  ) 
 

Use this method to load whatever file/URL you have.

Definition at line 102 of file kandy.cpp.

References load(), and KandyView::loadFile().

Referenced by Kandy(), and load().

void Kandy::dragEnterEvent QDragEnterEvent event  )  [protected, virtual]
 

Overridden virtuals for Qt drag 'n drop (XDND).

Definition at line 166 of file kandy.cpp.

References dragEnterEvent().

Referenced by dragEnterEvent().

void Kandy::saveProperties KConfig *   )  [protected]
 

This function is called when it is time for the app to save its properties for session management purposes.

Definition at line 151 of file kandy.cpp.

References saveProperties().

Referenced by saveProperties().

void Kandy::readProperties KConfig *   )  [protected]
 

This function is called when this app is restored.

The KConfig object points to the session management config file that was saved with saveProperties

Definition at line 158 of file kandy.cpp.

References readProperties().

Referenced by readProperties().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kandy Library Version 3.3.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Oct 1 15:19:02 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003