kandy Library API Documentation

KandyView Class Reference

This is the main view class for Kandy. Main view. More...

#include <kandyview.h>

List of all members.

Public Slots

void addCommand ()
void executeCommand ()
void deleteCommand ()
void editCommand ()

Signals

void signalChangeStatusbar (const QString &text)
 Use this signal to change the content of the statusbar.

void signalChangeCaption (const QString &text)
 Use this signal to change the content of the caption.

void modifiedChanged (bool)

Public Member Functions

 KandyView (CommandScheduler *, QWidget *parent)
 Default constructor.

virtual ~KandyView ()
 Destructor.

void importPhonebook ()
 Import phonebook from mobile phone and save it to Kab.

void print (QPainter *, int height, int width)
 Print this view to any medium -- paper or not.

bool loadFile (const QString &filename)
bool saveFile (const QString &filename)
void setModified (bool modified=true)
bool isModified ()

Protected Slots

void appendOutput (const char *line)
void setResult (ATCommand *)


Detailed Description

This is the main view class for Kandy. Main view.

Most of the non-menu, non-toolbar, and non-statusbar (e.g., non frame) GUI code should go here.

This kandy uses an HTML component as an example.

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

Definition at line 34 of file kandyview.h.


Constructor & Destructor Documentation

KandyView::KandyView CommandScheduler *  ,
QWidget parent
 

Default constructor.

Definition at line 34 of file kandyview.cpp.

KandyView::~KandyView  )  [virtual]
 

Destructor.

Definition at line 51 of file kandyview.cpp.


Member Function Documentation

void KandyView::importPhonebook  ) 
 

Import phonebook from mobile phone and save it to Kab.

This function returns before the job is actually done.

Definition at line 62 of file kandyview.cpp.

void KandyView::print QPainter ,
int  height,
int  width
 

Print this view to any medium -- paper or not.

Definition at line 56 of file kandyview.cpp.

void KandyView::signalChangeStatusbar const QString text  )  [signal]
 

Use this signal to change the content of the statusbar.

void KandyView::signalChangeCaption const QString text  )  [signal]
 

Use this signal to change the content of the caption.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.5.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Sun Feb 15 11:40:32 2004 by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2001