changelistener.h Example File
content/changelistener/changelistener.h
#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 Trolltech |
Trademarks |
Qt Extended 4.4.3 |