//
// This file is part of the Marble Desktop Globe.
//
// This program is free software licensed under the GNU LGPL. You can
// find a copy of this license in LICENSE.txt in the top directory of
// the source code.
//
// Copyright 2006-2007 Torsten Rahn <tackat@kde.org>"
// Copyright 2007      Inge Wallin  <ingwa@kde.org>"
//


#ifndef MARBLESEARCHLISTVIEW_H
#define MARBLESEARCHLISTVIEW_H


#include <QtGui/QListView>

#include "marble_export.h"

class QModelIndex;
class QString;

namespace Marble
{

class MARBLE_EXPORT MarbleSearchListView : public QListView
{
    Q_OBJECT

 public:
    explicit MarbleSearchListView(QWidget*);

 Q_SIGNALS:
    void centerOn(const QModelIndex&);

 public Q_SLOTS:
    void  selectItem(const QString&);
    void  activate();

 private:
    Q_DISABLE_COPY( MarbleSearchListView )
    class Private;
    Private  * const d;
};

}

#endif // MARBLESEARCHLISTVIEW_H
