Examples of QQEmail


Examples of iqq.im.bean.QQEmail

      // 封装返回的邮件列表
      List<QQEmail> list = new ArrayList<QQEmail>();
      for(int i=0; i<arr.length(); i++) {
        JSONObject json = arr.getJSONObject(i);
        JSONObject ct = json.getJSONObject("c");
        QQEmail mail = new QQEmail();
        mail.setFlag(json.getLong("t"));
        mail.setId(ct.getString("mailid"));
        mail.setSender(ct.getString("sender"));
        mail.setSenderNick(ct.getString("senderNick"));
        mail.setSenderEmail(ct.getString("senderEmail"));
        mail.setSubject(ct.getString("subject"));
        mail.setSummary(ct.getString("summary"));
        mail.setUnread(true);
        list.add(mail);
      }
      notifyActionEvent(QQActionEvent.Type.EVT_OK,
          new QQNotifyEvent(Type.EMAIL_NOTIFY, list));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.