qcpix/tsrc/orbitsearch/searchhelper.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 18 Aug 2010 10:53:26 +0300
changeset 15 cf5c74390b98
parent 0 671dee74050a
permissions -rw-r--r--
Revision: 201031 Kit: 201033

/*
* Copyright (c) 2010 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: 
*
*/

#ifndef HELPER_H_
#define HELPER_H_

#include <QObject>
#include "uicontrols.h"
#include <cpixsearcher.h>
#include <QTime>

class SearchHelper: public QObject
    {
Q_OBJECT
public:
    SearchHelper(HbLineEdit*, HbPushButton*, HbTextEdit*, HbLineEdit*, HbLineEdit*, HbPushButton* );
    ~SearchHelper();

public slots:
    void doSearch();
    void showdocs();
    
private:
    ORBIT_SEARCH_CONTROLS //Not owned.
    CpixSearcher* searcher;//Owned
    QTime searchTime;
    QString resultString;
    int iHits;
    };

#endif /* HELPER_H_ */