Last change
on this file since 10 was 2, checked in by dmik, 19 years ago |
Imported original Psi 0.10 sources from Affinix
|
File size:
525 bytes
|
Line | |
---|
1 | /*
|
---|
2 | -----BEGIN QCMOD-----
|
---|
3 | name: KDE
|
---|
4 | -----END QCMOD-----
|
---|
5 | */
|
---|
6 |
|
---|
7 | //----------------------------------------------------------------------------
|
---|
8 | // qc_kde
|
---|
9 | //----------------------------------------------------------------------------
|
---|
10 | class qc_kde : public ConfObj
|
---|
11 | {
|
---|
12 | public:
|
---|
13 | qc_kde(Conf *c) : ConfObj(c) {}
|
---|
14 | QString name() const { return "KDE"; }
|
---|
15 | QString shortname() const { return "kde"; }
|
---|
16 | bool exec()
|
---|
17 | {
|
---|
18 | char *p = getenv("KDEDIR");
|
---|
19 | if(!p)
|
---|
20 | return false;
|
---|
21 |
|
---|
22 | conf->addExtra(QString("KDE = %1").arg(p));
|
---|
23 | return true;
|
---|
24 | }
|
---|
25 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.