⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 detailspage.h

📁 Qtopia下的邮件处理程序
💻 H
字号:
/******************************************************************************** Copyright (C) 2000-2006 TROLLTECH ASA. All rights reserved.**** This file is part of the Phone Edition of the Qtopia Toolkit.**** Licensees holding a valid license agreement from Trolltech or any of its** authorized distributors may use this file in accordance with** the License Agreement provided with the Licensed Software.**** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for**   information about Trolltech's Commercial License Agreements.**** Contact info@trolltech.com if any conditions of this licensing are** not clear to you.********** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.******************************************************************************/#ifndef DETAILSPAGE_H#define DETAILSPAGE_H#include <qwidget.h>#include <qstring.h>#include <qstringlist.h>#include <qtopia/mail/mailmessage.h>class QLineEdit;class QHBoxLayout;class QComboBox;class QToolButton;class QLabel;class QCheckBox;class DetailsPage : public QWidget{    Q_OBJECTpublic:	    DetailsPage( QWidget *parent, const char *name = 0 );    void setTo( const QString &a_to );    QString to() const;    void setBcc( const QString &a_bcc );    QString bcc() const;    void setCc( const QString &a_cc );    QString cc() const;    QString subject() const;    void setSubject( const QString &sub );    QString from() const;    void setFrom( const QString &from );    void setFromFields( const QStringList &from );    void setType( int t );    void getDetails( MailMessage &mail );        bool eventFilter(QObject* obj, QEvent* event);public slots:    void clear();signals:    void recipientsChanged();private slots:    void editRecipients();    void copy();    void paste();private:    bool m_allowPhoneNumbers, m_allowEmails;    bool m_ignoreFocus;    int m_type;    QCheckBox *m_readReplyField;    QCheckBox *m_deliveryReportField;    QLineEdit *m_subjectField;    QLabel *m_subjectFieldLabel, *m_fromFieldLabel;    QComboBox *m_fromField;    QLabel *m_toFieldLabel, *m_ccFieldLabel, *m_bccFieldLabel;    QLineEdit *m_ccField, *m_bccField, *m_toField;    QHBoxLayout *m_toBox, *m_ccBox, *m_bccBox;    QToolButton *m_toPicker, *m_ccPicker, *m_bccPicker;};#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -