This repository has been archived on 2025-12-24. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
yachat/qcm/kde.qcm

26 lines
525 B
Text
Raw Permalink Normal View History

2025-12-25 01:37:49 +05:00
/*
-----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;
}
};