44 #ifdef QBBLOCALETHREAD_ENABLED 48 #include <QtGui/QApplication> 49 #include <QtGui/QWidget> 50 #include <QtGui/QWindowSystemInterface> 58 #include <sys/types.h> 61 #define NAV_CONTROL_PATH "/pps/services/confstr/_CS_LOCALE" 62 #define PPS_BUFFER_SIZE 4096 64 QBBLocaleThread::QBBLocaleThread()
70 QBBLocaleThread::~QBBLocaleThread()
78 #if defined(QBBLOCALETHREAD_DEBUG) 79 qDebug() <<
"QBB: Locale thread started";
117 #if defined(QBBLOCALETHREAD_DEBUG) 118 qDebug() <<
"QBB: Locale thread stopped";
122 void QBBLocaleThread::shutdown()
127 #if defined(QBBLOCALETHREAD_DEBUG) 128 qDebug() <<
"QBB: Locale thread shutdown begin";
134 #if defined(QBBLOCALETHREAD_DEBUG) 135 qDebug() <<
"QBB: Locale thread shutdown end";
139 #endif // QBBLOCALETHREAD_ENABLED
Q_CORE_EXPORT void qDebug(const char *,...)
Q_CORE_EXPORT void qWarning(const char *,...)
static void handleLocaleChange()
QFuture< T > run(Function function,...)
int open(const char *, int,...)