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 Methods

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

Protected Methods

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 QString::isEmpty(), and load().

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 KandyView::loadFile().

Referenced by Kandy().

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

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

Definition at line 166 of file kandy.cpp.

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.

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.


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.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat May 1 11:37:59 2004 by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2003