- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
#define DEFAULT_TIMEOUT 30000
................................................
class CSettings //: public QSettings
{
................................................
static QVariant svalue( QString qs, QVariant defValue );
................................................
};
................................................
QString qs = QString("%1").arg( DEFAULT_TIMEOUT );
m_nTimeout = CSettings::svalue("connection/Timeout", qs.toAscii().data()).toString().toInt();
Комментарии (7) RSS
Добавить комментарий