logsui/logsengine/src/logsconfigurationparams.cpp
changeset 15 76d2cf7a585e
parent 2 7119b73b84d6
equal deleted inserted replaced
13:52d644758b05 15:76d2cf7a585e
    22 // -----------------------------------------------------------------------------
    22 // -----------------------------------------------------------------------------
    23 //
    23 //
    24 // -----------------------------------------------------------------------------
    24 // -----------------------------------------------------------------------------
    25 //
    25 //
    26 LogsConfigurationParams::LogsConfigurationParams( QObject* parent ) : 
    26 LogsConfigurationParams::LogsConfigurationParams( QObject* parent ) : 
    27     QObject(parent), mListItemTextWidth(0)
    27     QObject(parent), mListItemTextWidth(0), mLocaleChanged(false)
    28 {
    28 {
    29     
    29     
    30     LOGS_QDEBUG( "logs [ENG] <-> LogsConfigurationParams::LogsConfigurationParams()" )
    30     LOGS_QDEBUG( "logs [ENG] <-> LogsConfigurationParams::LogsConfigurationParams()" )
    31 }
    31 }
    32 
    32 
    38     const LogsConfigurationParams& params )
    38     const LogsConfigurationParams& params )
    39 {
    39 {
    40     
    40     
    41     LOGS_QDEBUG( "logs [ENG] <-> LogsConfigurationParams::operator=()" )
    41     LOGS_QDEBUG( "logs [ENG] <-> LogsConfigurationParams::operator=()" )
    42     mListItemTextWidth = params.mListItemTextWidth;
    42     mListItemTextWidth = params.mListItemTextWidth;
       
    43     mLocaleChanged = params.mLocaleChanged;
    43     return *this;
    44     return *this;
    44 }
    45 }
    45 
    46 
    46 // -----------------------------------------------------------------------------
    47 // -----------------------------------------------------------------------------
    47 //
    48 //
    68 int LogsConfigurationParams::listItemTextWidth() const
    69 int LogsConfigurationParams::listItemTextWidth() const
    69 {
    70 {
    70     return mListItemTextWidth;
    71     return mListItemTextWidth;
    71 }
    72 }
    72 
    73 
       
    74 // -----------------------------------------------------------------------------
       
    75 //
       
    76 // -----------------------------------------------------------------------------
       
    77 //
       
    78 void LogsConfigurationParams::setLocaleChanged(bool changed)
       
    79 {
       
    80     mLocaleChanged = changed;
       
    81 }
       
    82 
       
    83 // -----------------------------------------------------------------------------
       
    84 //
       
    85 // -----------------------------------------------------------------------------
       
    86 //
       
    87 bool LogsConfigurationParams::localeChanged() const
       
    88 {
       
    89     return mLocaleChanged;
       
    90 }
       
    91 
    73 // End of file
    92 // End of file
    74 
    93