

Definition at line 461 of file qcleanlooksstyle.cpp.
Public Member Functions | |
| QCleanlooksStylePrivate () | |
| ~QCleanlooksStylePrivate () | |
| void | lookupIconTheme () const |
| QCleanlooksStylePrivate::QCleanlooksStylePrivate | ( | ) | [inline] |
| QCleanlooksStylePrivate::~QCleanlooksStylePrivate | ( | ) | [inline] |
| void QCleanlooksStylePrivate::lookupIconTheme | ( | ) | const |
Definition at line 4092 of file qcleanlooksstyle.cpp.
References QIODevice::readLine(), QProcess::start(), QProcess::waitForFinished(), and QProcess::waitForStarted().
04093 { 04094 #ifdef Q_WS_X11 04095 if (!themeName.isEmpty()) 04096 return; 04097 QProcess gconftool; 04098 gconftool.start(QLatin1String("gconftool-2 --get /desktop/gnome/interface/icon_theme")); 04099 if (gconftool.waitForStarted(2000) && gconftool.waitForFinished(2000)) 04100 themeName = QLatin1String(gconftool.readLine().trimmed()); 04101 if (themeName.isEmpty()) 04102 themeName = "gnome"; 04103 #endif 04104 }
Here is the call graph for this function:

1.5.1