~penk/account-plugins/add-accounts-plugin-e-mail

« back to all changes in this revision

Viewing changes to qml/e-mail/AuthSelector.qml

  • Committer: Penk Chen
  • Date: 2016-04-19 23:52:31 UTC
  • Revision ID: penk.chen@canonical.com-20160419235231-7w9moihl3jixvwqd
add accounts-plugin-e-mail

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Copyright (C) 2015 Dan Chapman <dpniel@ubuntu.com>
 
2
 
 
3
   This program is free software; you can redistribute it and/or
 
4
   modify it under the terms of the GNU General Public License as
 
5
   published by the Free Software Foundation; either version 2 of
 
6
   the License or (at your option) version 3
 
7
 
 
8
   This program is distributed in the hope that it will be useful,
 
9
   but WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
11
   GNU General Public License for more details.
 
12
 
 
13
   You should have received a copy of the GNU General Public License
 
14
   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
15
*/
 
16
import QtQuick 2.4
 
17
import Ubuntu.Components 1.3
 
18
import accounts.plugin.Email 1.0
 
19
 
 
20
OptionSelector {
 
21
    model: SaslMechanisms.toList()
 
22
    delegate: OptionSelectorDelegate {
 
23
        text: modelData
 
24
    }
 
25
}