kandy Library API Documentation

kandyview.h

00001 #ifndef KANDYVIEW_H
00002 #define KANDYVIEW_H
00003 
00004 #include <qwidget.h>
00005 
00006 #include "kandyview_base.h"
00007 
00008 class QPainter;
00009 class QMultiLineEdit;
00010 class QTextStream;
00011 class QDataStream;
00012 class QDomDocument;
00013 class QDomElement;
00014 
00015 class KURL;
00016 
00017 class Modem;
00018 class ATCommand;
00019 class MobileGui;
00020 class CommandScheduler;
00021 class CmdPropertiesDialog;
00022 
00034 class KandyView : public KandyView_base
00035 {
00036     Q_OBJECT
00037   public:
00041     KandyView(CommandScheduler *,QWidget *parent);
00042 
00046     virtual ~KandyView();
00047 
00052     void importPhonebook();
00053 
00057     void print(QPainter *, int height, int width);
00058 
00059     bool loadFile(const QString& filename);
00060     bool saveFile(const QString& filename);
00061 
00062     void setModified(bool modified=true);
00063     bool isModified();
00064 
00065   public slots:
00066     void addCommand();
00067     void executeCommand();
00068     void deleteCommand();
00069     void editCommand();
00070 
00071   signals:
00075     void signalChangeStatusbar(const QString& text);
00076 
00080     void signalChangeCaption(const QString& text);
00081 
00082     void modifiedChanged(bool);
00083 
00084   protected slots:
00085     void appendOutput(const char *line);
00086 
00087     void setResult(ATCommand *);
00088 
00089   private slots:
00090     void slotSetTitle(const QString& title);
00091     void processLastLine();
00092 
00093   private:
00094     QString mLastInput;
00095 
00096     CommandScheduler *mScheduler;
00097 
00098     bool mModified;
00099 };
00100 
00101 #endif // KANDYVIEW_H
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.4.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Sat Oct 18 02:47:06 2003 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001