controlpanelui/src/cpplugins/personalizationplugin/src/cpprofilenameeditdialog.h
branchRCL_3
changeset 13 90fe62538f66
equal deleted inserted replaced
12:3fec62e6e7fc 13:90fe62538f66
       
     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 
       
    18 #ifndef CPPROFILENAMEEDITDIALOG_H
       
    19 #define CPPROFILENAMEEDITDIALOG_H
       
    20 
       
    21 #include <hbdialog.h>
       
    22 
       
    23 class HbWidget;
       
    24 class HbLineEdit;
       
    25 
       
    26 class CpProfileNameEditDialog : public HbDialog
       
    27 {
       
    28     Q_OBJECT
       
    29     
       
    30 public:
       
    31     CpProfileNameEditDialog( QGraphicsItem *parent = 0 );
       
    32     virtual ~CpProfileNameEditDialog();
       
    33     
       
    34     static bool launchProfileNameEditDialog( QString &profileName );
       
    35     
       
    36 private slots:
       
    37     void checkPrimaryAction();
       
    38     
       
    39 private:
       
    40     void init();
       
    41     void setLineEditText( const QString &text );
       
    42     QString getLineEditText();
       
    43     
       
    44 private:
       
    45     HbWidget *mContentWidget;
       
    46     HbLineEdit  *mTextEdit;
       
    47 };
       
    48 
       
    49 #endif /* CPPROFILENAMEEDITDIALOG_H */