Home · All Classes · Grouped Classes · Annotated · Functions

filterdemo.h Example File
content/filtering/filterdemo.h

    /****************************************************************************
    **
    ** This file is part of the Qtopia Phone Edition Package.
    **
    ** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
    **
    ** $QT_EXTENDED_DUAL_LICENSE$
    **
    ****************************************************************************/

    #ifndef FILTERDEMO_H
    #define FILTERDEMO_H

    #include <QListView>
    #include <QContentSet>

    class QKeyEvent;

    class FilterDemo : public QListView
    {
        Q_OBJECT
    public:
        FilterDemo( QWidget *parent = 0, Qt::WindowFlags flags = 0 );

    protected:
        void keyPressEvent( QKeyEvent *event );

    private:
        bool nextFilter();

        int index;
        QContentSet contentSet;
    };

    #endif


Copyright © 2008 Nokia Trademarks
Qtopia 4.3.3