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

bool DebconfKde::DebconfFrontend::process (  ) [protected, virtual, slot, inherited]

This slot should be called when there is new data available.

Reimplemented in DebconfKde::DebconfFrontendFifo.

Definition at line 279 of file debconf.cpp.

                        : [" << item << "] [" << type << "] " << value;
    say(QLatin1String( "0 ok" ));
}

void DebconfFrontend::cmd_x_ping(const QString &param)
{
    Q_UNUSED(param);
    say(QLatin1String( "0 pong" ));
}

bool DebconfFrontend::process()
{
    QTextStream in(getReadDevice());
    QString line = in.readLine();

    if (line.isEmpty()) {
        return false;
    }

    QString command = line.section(QLatin1Char( ' ' ), 0, 0);
    QString value = line.section(QLatin1Char( ' ' ), 1);


Generated by  Doxygen 1.6.0   Back to index