

Definition at line 940 of file qplastiquestyle.cpp.
Public Member Functions | |
| QPlastiqueStylePrivate () | |
| virtual | ~QPlastiqueStylePrivate () |
| void | lookupIconTheme () const |
Public Attributes | |
| QList< QProgressBar * > | bars |
| int | progressBarAnimateTimer |
| QTime | timer |
| QPlastiqueStylePrivate::QPlastiqueStylePrivate | ( | ) |
Definition at line 958 of file qplastiquestyle.cpp.
References isNull(), qgetenv(), and UsePixmapCache.
00958 : 00959 QWindowsStylePrivate() 00960 #ifndef QT_NO_PROGRESSBAR 00961 , progressBarAnimateTimer(0) 00962 #endif 00963 { 00964 if (!qgetenv("QT_STYLE_NO_PIXMAPCACHE").isNull()) 00965 UsePixmapCache = false; 00966 }
Here is the call graph for this function:

| QPlastiqueStylePrivate::~QPlastiqueStylePrivate | ( | ) | [virtual] |
| void QPlastiqueStylePrivate::lookupIconTheme | ( | ) | const |
Definition at line 5521 of file qplastiquestyle.cpp.
References QSettings::beginGroup(), QFileInfo::canonicalFilePath(), QFileInfo::exists(), QSettings::IniFormat, kdeHome(), QVariant::toString(), and QSettings::value().
05522 { 05523 #ifdef Q_WS_X11 05524 if (!themeName.isEmpty()) 05525 return; 05526 QFileInfo fileInfo("/usr/share/icons/default.kde"); 05527 QDir dir(fileInfo.canonicalFilePath()); 05528 QString defaultTheme = fileInfo.exists() ? dir.dirName() : "crystalsvg"; 05529 05530 QSettings settings(kdeHome() + QLatin1String("/share/config/kdeglobals"), QSettings::IniFormat); 05531 settings.beginGroup("Icons"); 05532 themeName = settings.value("Theme", defaultTheme).toString(); 05533 /* 05534 // This can be enabled if there are bug reports that this doesn't cover all cases (which it doesn't) 05535 QProcess kreadconfig; 05536 kreadconfig.start(QLatin1String("kreadconfig --file kdeglobals --group Icons --key Theme --default crystalsvg")); 05537 if (kreadconfig.waitForFinished()) 05538 themeName = QLatin1String(kreadconfig.readLine().trimmed()); 05539 */ 05540 #endif 05541 }
Here is the call graph for this function:

Definition at line 950 of file qplastiquestyle.cpp.
Definition at line 951 of file qplastiquestyle.cpp.
1.5.1