~ubuntu-branches/ubuntu/vivid/kdepim/vivid

« back to all changes in this revision

Viewing changes to kmail/identitydialog.h

  • Committer: Package Import Robot
  • Author(s): Scott Kitterman, Jonathan Riddell, Rohan Garg, Scott Kitterman
  • Date: 2012-11-21 13:12:36 UTC
  • mfrom: (0.2.33)
  • Revision ID: package-import@ubuntu.com-20121121131236-32ijw9a2txrar80k
Tags: 4:4.9.80-0ubuntu1
[ Jonathan Riddell ]
* New upstream beta release

[ Rohan Garg ]
* Add nepomuk-core-dev to build-deps

[ Scott Kitterman ]
* Add new package, libpimcommon4
  - Add libpimcommon4.install
  - Add to debian/control, including kdepim-dbg and kdepim-dev depends
  - Add to kdepim-dev.install
* Remove usr/bin/backupmail and related files from kmail.install as they are
  not provided by upstream anymore
* Add usr/bin/pimsettingexporter and related files to kmail.install
* Add libnepomukwidgets-dev to build-depends

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
  class TemplatesConfiguration;
71
71
}
72
72
 
 
73
namespace MessageComposer {
 
74
  class ComposerAutoCorrectionLanguage;
 
75
}
 
76
 
 
77
 
73
78
namespace KMail {
74
79
 
75
80
  class IdentityDialog : public KDialog {
76
81
    Q_OBJECT
77
82
  public:
78
 
    IdentityDialog( QWidget * parent=0 );
79
 
    virtual ~IdentityDialog();
 
83
    explicit IdentityDialog( QWidget * parent=0 );
 
84
    ~IdentityDialog();
80
85
 
81
86
    void setIdentity( /*_not_ const*/ KPIMIdentities::Identity & ident );
82
87
 
86
91
    void slotAboutToShow( int );
87
92
 
88
93
    /*! \reimp */
89
 
    virtual void slotButtonClicked( int button );
 
94
    void slotButtonClicked( int button );
90
95
 
91
96
    // copy default templates to identity templates
92
97
    void slotCopyGlobal();
93
98
 
94
99
  private slots:
95
100
    void slotDelayedButtonClicked( KJob* );
96
 
 
 
101
    void slotEditVcard();
97
102
  private:
98
103
    bool checkFolderExists( const QString & folder, const QString & msg );
99
104
    bool validateAddresses( const QString & addresses );
100
 
 
 
105
    void updateVcardButton();
 
106
    void editVcard(const QString& filename);
101
107
  protected:
102
108
    // "general" tab:
103
109
    KLineEdit                    *mNameEdit;
121
127
    MailCommon::FolderRequester      *mTemplatesCombo;
122
128
    QCheckBox                        *mTransportCheck;
123
129
    MailTransport::TransportComboBox *mTransportCombo;
 
130
    QCheckBox                        *mAttachMyVCard;
 
131
    QString                          mVcardFilename;
 
132
    KPushButton                      *mEditVCard;
 
133
    MessageComposer::ComposerAutoCorrectionLanguage *mAutoCorrectionLanguage;
 
134
 
124
135
    // "templates" tab:
125
136
    TemplateParser::TemplatesConfiguration *mWidget;
126
137
    QCheckBox                    *mCustom;