Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner

changelistener.h Example File
content/changelistener/changelistener.h

    /****************************************************************************
    **
    ** This file is part of the Qt Extended Commercial Package.
    **
    ** Copyright (C) 2009 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


Copyright © 2009 Nokia Trademarks
Qt Extended 4.4.3