filemanager/src/filemanager/src/components/fmtimequery.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 16 Apr 2010 14:53:38 +0300
changeset 14 1957042d8c7e
child 18 edd66bde63a4
child 37 15bc28c9dd51
permissions -rw-r--r--
Revision: 201011 Kit: 201015

/*
 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of "Eclipse Public License v1.0"
 * which accompanies this distribution, and is available
 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
 *
 * Initial Contributors:
 * Nokia Corporation - initial contribution.
 * 
 * Contributors:
 *
 * 
 * Description:
 *     The header file of the time query of file manager
 */

#ifndef FMTIMEQUERY_H
#define FMTIMEQUERY_H

#include "fmcommon.h"

#include <QTime>

#include <hbdialog.h>

class QGraphicsWidget;
class HbDateTimeEdit;
class FmTimeQuery : public HbDialog
{
public:
    FmTimeQuery(QGraphicsItem *parent=0);
	~FmTimeQuery( void );

    /**
     * Set time to query
     * @param time time whant to display when query dialog shown
     */
    void setTime( const QTime &time );

    /**
     * Get the time that set by user
     * @return time
     */
    QTime getTime();

private:
    QGraphicsWidget *mContentWidget;
    HbDateTimeEdit  *mTimeWidget;

};

#endif //FMTIMEQUERY_H