ui/commandhandlers/commoncommandhandlers/inc/glxcommondialogs.h
changeset 26 c499df2dbb33
child 29 2c833fc9e98f
equal deleted inserted replaced
24:99ad1390cd33 26:c499df2dbb33
       
     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 GLXCOMMONDIALOGS_H
       
    19 #define GLXCOMMONDIALOGS_H
       
    20 
       
    21 #include <QObject>
       
    22 
       
    23 #include <hbinputdialog.h>
       
    24 
       
    25 class GlxTextInputDialog : public QObject
       
    26 {
       
    27 	Q_OBJECT    
       
    28 public:
       
    29     GlxTextInputDialog();
       
    30     ~GlxTextInputDialog();
       
    31     QString getText(const QString &label,const QString &text = QString(),bool *ok = 0);
       
    32 
       
    33 public slots:
       
    34     void textChanged(const QString &text);
       
    35 
       
    36 private:
       
    37     HbInputDialog* mDialog;
       
    38 };
       
    39 
       
    40 #endif // GLXCOMMONDIALOGS_H