logsui/logsengine/inc/logsconfigurationparams.h
changeset 2 7119b73b84d6
child 15 76d2cf7a585e
equal deleted inserted replaced
0:4a5361db8937 2:7119b73b84d6
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 #ifndef LOGSCONFIGURATIONPARAMS_H
       
    18 #define LOGSCONFIGURATIONPARAMS_H
       
    19 
       
    20 #include <QObject>
       
    21 #include <logsexport.h>
       
    22 
       
    23 /**
       
    24  *
       
    25  */
       
    26 class LogsConfigurationParams : public QObject
       
    27 {
       
    28     Q_OBJECT
       
    29 
       
    30 public: // The exported API
       
    31 
       
    32     LOGSENGINE_EXPORT explicit LogsConfigurationParams(QObject* parent = 0);
       
    33     LOGSENGINE_EXPORT ~LogsConfigurationParams();
       
    34     
       
    35     LOGSENGINE_EXPORT void setListItemTextWidth(int width);
       
    36     LOGSENGINE_EXPORT int listItemTextWidth() const;  
       
    37     
       
    38     LOGSENGINE_EXPORT LogsConfigurationParams& operator=(const LogsConfigurationParams& params);
       
    39 
       
    40 private:
       
    41     int mListItemTextWidth;
       
    42 
       
    43 };
       
    44                   
       
    45 #endif // LOGSCONFIGURATIONPARAMS_H