Logo Search packages:      
Sourcecode: debconf-kde version File versions  Download package

Classes | Public Types | Signals | Public Member Functions | Protected Slots | Protected Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes

DebconfKde::DebconfFrontend Class Reference

#include <debconf.h>

Inheritance diagram for DebconfKde::DebconfFrontend:
Inheritance graph
[legend]
Collaboration diagram for DebconfKde::DebconfFrontend:
Collaboration graph
[legend]

List of all members.

Classes

struct  Cmd

Public Types

enum  PropertyKey {
  Choices, Description, ExtendedDescription, Type,
  UnknownPropertyKey = -1
}
enum  TypeKey {
  String, Password, Progress, Boolean,
  Select, Multiselect, Note, Error,
  Title, Text, UnknownTypeKey = -1
}

Signals

void backup (bool capable)
void finished ()
void go (const QString &title, const QStringList &input)
void progress (const QString &param)

Public Member Functions

void back ()
virtual void cancel ()
 DebconfFrontend (QObject *parent=0)
void next ()
QString property (const QString &key, PropertyKey p) const
void say (const QString &string)
void setValue (const QString &key, const QString &value)
TypeKey type (const QString &string) const
QString value (const QString &key) const

Protected Slots

virtual void disconnected ()
virtual bool process ()

Protected Member Functions

virtual QIODevice * getReadDevice () const =0
virtual QIODevice * getWriteDevice () const =0
virtual void reset ()

Private Types

typedef QHash< PropertyKey,
QString > 
Properties
typedef QHash< QString, QString > Substitutions

Private Member Functions

void cmd_capb (const QString &caps)
void cmd_data (const QString &param)
void cmd_get (const QString &param)
void cmd_go (const QString &)
void cmd_input (const QString &param)
void cmd_progress (const QString &param)
void cmd_set (const QString &param)
void cmd_subst (const QString &param)
void cmd_title (const QString &param)
void cmd_x_ping (const QString &param)
PropertyKey propertyKeyFromString (const QString &string)
QString substitute (const QString &key, const QString &rest) const

Static Private Member Functions

template<class T >
static int enumFromString (const QString &str, const char *enumName)

Private Attributes

QHash< QString, Properties > m_data
QStringList m_input
QHash< QString, Substitutions > m_subst
QString m_title
QHash< QString, QString > m_values

Static Private Attributes

static const Cmd commands []

Detailed Description

An abstract class which talks Debconf Passthrough frontend protocol. It does not implement underlying I/O method specifics.

Definition at line 71 of file debconf.h.


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

Generated by  Doxygen 1.6.0   Back to index