model

package
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2017 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RoleID = int(core.Qt__UserRole) + 1<<iota
	RoleSessionID
	RoleSource
	RoleIsGroup
	RoleGroupID
	RoleGroupName
	RoleGroupMembers
	RoleMessage
	RoleSection
	RoleTimestamp
	RoleUnread
	RoleOutgoing
	RoleSent
	RoleReceived
	RoleHasAttachment
	RoleAttachment
	RoleMimeType
	RolePath
	RoleQueued
	RoleName
	RoleCreated
	RoleLastSeen
)

Unique list of Roles for the QAbstractListModels

Variables

This section is empty.

Functions

This section is empty.

Types

type ContactModel added in v0.4.1

type ContactModel struct {
	core.QObject
	// contains filtered or unexported fields
}

type DeviceModel

type DeviceModel struct {
	core.QAbstractListModel
	// contains filtered or unexported fields
}

type FilePicker

type FilePicker struct {
	core.QAbstractListModel
	// contains filtered or unexported fields
}

type MessageModel

type MessageModel struct {
	core.QAbstractListModel
	// contains filtered or unexported fields
}

type Prompt

type Prompt struct {
	core.QObject
	// contains filtered or unexported fields
}

func (*Prompt) GetConfirmResetPeerIdentity

func (p *Prompt) GetConfirmResetPeerIdentity(source string) string

Prompt the user to confirm reset peer identity

func (*Prompt) GetPhoneNumber

func (p *Prompt) GetPhoneNumber() string

Prompt the user to enter telephone number for Registration

func (*Prompt) GetStoragePassword

func (p *Prompt) GetStoragePassword() string

Prompt the user for storage password

func (*Prompt) GetVerificationCode

func (p *Prompt) GetVerificationCode() string

Prompt the user to enter the verification code

type SessionModel

type SessionModel struct {
	core.QAbstractListModel
	// contains filtered or unexported fields
}

func (*SessionModel) SetSection

func (model *SessionModel) SetSection(s *store.Session)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL