Some work about adaptive color scheme for Web UI (PR #19901)
http://[316:c51a:62a3:8b9::4]/d4708/qBittorrent/src/branch/adaptive-webui
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
376 B
20 lines
376 B
18 years ago
|
/*
|
||
|
-----BEGIN QCMOD-----
|
||
|
name: python
|
||
|
-----END QCMOD-----
|
||
|
*/
|
||
|
class qc_python : public ConfObj
|
||
|
{
|
||
|
public:
|
||
|
qc_python(Conf *c) : ConfObj(c) {}
|
||
|
QString name() const { return "python >= 2.3"; }
|
||
|
QString shortname() const { return "python"; }
|
||
|
bool exec(){
|
||
|
int r = conf->doCommand("python testpython.py");
|
||
|
if(r == 0)
|
||
|
return true;
|
||
|
else
|
||
|
return false;
|
||
|
}
|
||
|
};
|