diff -r 73a1feb507fb -r bc78a40cd63c mmsharing/livecommsui/lcui/tsrc/ut_lcui/hbstubs/dialpad.h --- a/mmsharing/livecommsui/lcui/tsrc/ut_lcui/hbstubs/dialpad.h Tue Aug 31 15:12:07 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,64 +0,0 @@ -/*! -* 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: Dialpad popup -* -*/ - -#ifndef DIALPAD_H -#define DIALPAD_H - -#include - -#include -#include - -class HbLineEdit; - -const int DialpadButtonCount = 13; - -class Dialpad : public HbWidget -{ - Q_OBJECT - -public: - explicit Dialpad(); - explicit Dialpad(const HbMainWindow& mainWindow); - - virtual ~Dialpad(); - - HbLineEdit& editor() const; - - bool isOpen() const {return mIsOpen;} - -public slots: - - void setTapOutsideDismiss( bool enable ); - - void openDialpad() { mIsOpen = true; } - - void closeDialpad() { mIsOpen = false; } - - void setCallButtonEnabled(bool enabled); - -signals: - void aboutToClose(); - -public: - HbLineEdit* mLineEdit; - bool mIsCallButtonEnabled; - bool mIsOpen; - bool mIsTabOutsideDismissEnabled; -}; - -#endif // DIALPAD_H