diff options
author | kh1 <qt-info@nokia.com> | 2011-05-31 17:22:24 +0200 |
---|---|---|
committer | kh1 <qt-info@nokia.com> | 2011-05-31 17:32:27 +0200 |
commit | 75e611acc5b7123ed0b5d892985659cf2e1b75e8 (patch) | |
tree | 153f06894511ef5e50030445fa53f34fcb9623b6 /examples/testapp/updateagent.h | |
parent | f8fd66a05de9ba34b4cc0f04aed3f92e88cab96b (diff) |
Add missing files to make the testapp compile fully.
Review-by: tjenssen
Diffstat (limited to 'examples/testapp/updateagent.h')
-rw-r--r-- | examples/testapp/updateagent.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/examples/testapp/updateagent.h b/examples/testapp/updateagent.h new file mode 100644 index 000000000..7f7840739 --- /dev/null +++ b/examples/testapp/updateagent.h @@ -0,0 +1,49 @@ +/************************************************************************** +** +** This file is part of Qt SDK** +** +** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).* +** +** Contact: Nokia Corporation qt-info@nokia.com** +** +** GNU Lesser General Public License Usage +** +** This file may be used under the terms of the GNU Lesser General Public +** License version 2.1 as published by the Free Software Foundation and +** appearing in the file LICENSE.LGPL included in the packaging of this file. +** Please review the following information to ensure the GNU Lesser General +** Public License version 2.1 requirements will be met: +** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain additional +** rights. These rights are described in the Nokia Qt LGPL Exception version +** 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** If you are unsure which license is appropriate for your use, please contact +** (qt-info@nokia.com). +** +**************************************************************************/ +#ifndef UPDATEAGENT_H +#define UPDATEAGENT_H + +#include <QtCore/QObject> +#include <KDToolsCore/pimpl_ptr.h> + +class UpdateAgent : public QObject +{ + Q_OBJECT +public: + explicit UpdateAgent( QObject* parent = 0 ); + ~UpdateAgent(); + +Q_SIGNALS: + void updatesAvailable(); + +private: + Q_PRIVATE_SLOT( d, void maybeCheck() ); + + class Private; + kdtools::pimpl_ptr< Private > d; +}; + +#endif |