initial commit
This commit is contained in:
commit
9d20827c46
2469 changed files with 470994 additions and 0 deletions
25
qcm/kde.qcm
Normal file
25
qcm/kde.qcm
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
/*
|
||||
-----BEGIN QCMOD-----
|
||||
name: KDE
|
||||
-----END QCMOD-----
|
||||
*/
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
// qc_kde
|
||||
//----------------------------------------------------------------------------
|
||||
class qc_kde : public ConfObj
|
||||
{
|
||||
public:
|
||||
qc_kde(Conf *c) : ConfObj(c) {}
|
||||
QString name() const { return "KDE"; }
|
||||
QString shortname() const { return "kde"; }
|
||||
bool exec()
|
||||
{
|
||||
char *p = getenv("KDEDIR");
|
||||
if(!p)
|
||||
return false;
|
||||
|
||||
conf->addExtra(QString("KDE = %1").arg(p));
|
||||
return true;
|
||||
}
|
||||
};
|
||||
Reference in a new issue