Home · All Classes · Grouped Classes · Annotated · Functions

changelistener.h Example File
content/changelistener/changelistener.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 CHANGELISTENER_H
    #define CHANGELISTENER_H

    #include <QLabel>
    #include <QContent>
    #include <QFileInfo>

    class ChangeListener : public QLabel
    {
        Q_OBJECT

    public:
        ChangeListener( QWidget *parent = 0, Qt::WindowFlags flags = 0 );
        ~ChangeListener();

    private slots:
        void timeout();
        void changed( const QContentIdList &contentIds, QContent::ChangeType type );

    private:
        int nextIndex;
        QContentId lastContentId;
        QString categoryId;
        QFileInfoList imageFiles;
    };

    #endif // CHANGELISTENER_H


Copyright © 2008 Nokia Trademarks
Qtopia 4.3.3