QCleanlooksStylePrivate Class Reference

Inheritance diagram for QCleanlooksStylePrivate:

Inheritance graph
[legend]
Collaboration diagram for QCleanlooksStylePrivate:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 461 of file qcleanlooksstyle.cpp.

Public Member Functions

 QCleanlooksStylePrivate ()
 ~QCleanlooksStylePrivate ()
void lookupIconTheme () const


Constructor & Destructor Documentation

QCleanlooksStylePrivate::QCleanlooksStylePrivate (  )  [inline]

Definition at line 465 of file qcleanlooksstyle.cpp.

00466         : QWindowsStylePrivate()
00467     { }

QCleanlooksStylePrivate::~QCleanlooksStylePrivate (  )  [inline]

Definition at line 468 of file qcleanlooksstyle.cpp.

00469     { }


Member Function Documentation

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:


The documentation for this class was generated from the following file:
Generated on Thu Mar 15 16:59:35 2007 for Qt 4.2 User's Guide by  doxygen 1.5.1