diff options
| author | Robin Burchell <robin+git@viroteck.net> | 2014-02-03 16:55:05 +0100 |
|---|---|---|
| committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-03 16:58:57 +0100 |
| commit | cc24f4f33e6342b3d95a8988f904073e2f6f3b32 (patch) | |
| tree | 0a21f172723a375f3df38db694c015ab3265fba3 /examples/qtmail/app/selectcomposerwidget.h | |
| parent | eef36ce2e30e6e1c60f527eed54f3abae21ecfb9 (diff) | |
Restore compilation of qtmail example.
Change-Id: Id59253e1d121ab0dfcdb59f7018b897f6c1df086
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Diffstat (limited to 'examples/qtmail/app/selectcomposerwidget.h')
| -rw-r--r-- | examples/qtmail/app/selectcomposerwidget.h | 90 |
1 files changed, 0 insertions, 90 deletions
diff --git a/examples/qtmail/app/selectcomposerwidget.h b/examples/qtmail/app/selectcomposerwidget.h deleted file mode 100644 index 62a35a9e..00000000 --- a/examples/qtmail/app/selectcomposerwidget.h +++ /dev/null @@ -1,90 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the Qt Messaging Framework. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, 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, Digia gives you certain additional -** rights. These rights are described in the Digia Qt LGPL Exception -** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the -** packaging of this file. Please review the following information to -** ensure the GNU General Public License version 3.0 requirements will be -** met: http://www.gnu.org/copyleft/gpl.html. -** -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#ifndef SELECTCOMPOSERWIDGET_H -#define SELECTCOMPOSERWIDGET_H - -#include <QPair> -#include <qmailmessage.h> -#include <QString> -#include <QWidget> - -class SelectListWidget; - -QT_BEGIN_NAMESPACE - -class QListWidget; -class QListWidgetItem; - -QT_END_NAMESPACE - -class SelectComposerWidget : public QWidget -{ - Q_OBJECT - -public: - SelectComposerWidget( QWidget* parent ); - - void setSelected(const QString& selected, QMailMessage::MessageType type); - - QString singularKey() const; - - QList<QMailMessage::MessageType> availableTypes() const; - - QPair<QString, QMailMessage::MessageType> currentSelection() const; - -signals: - void selected(const QPair<QString, QMailMessage::MessageType> &); - void cancel(); - -protected slots: - void accept(QListWidgetItem* item); - void refresh(); - -protected: - void keyPressEvent(QKeyEvent *e); - void init(); - -private: - SelectListWidget* m_listWidget; -}; - -#endif |
