Package ts3widgets :: Module filetransfer :: Class FileListModel
[hide private]
[frames] | no frames]

Class FileListModel

source code

PythonQt.QtCore.QAbstractItemModel --+
                                     |
                        object --+   |
                                 |   |
               pytson.Translatable --+
                                     |
                                    FileListModel

Itemmodel to abstract the files contained on a TS3 filepath.

Instance Methods [hide private]
 
__init__(self, schid, cid, password, parent=None, readonly=False)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__del__(self) source code
 
path(self, val) source code
 
currentFiles(self) source code
 
_reload(self, path=None) source code
 
onFileListEvent(self, schid, channelID, path, name, size, date, atype, incompletesize, returnCode) source code
 
onFileListFinishedEvent(self, schid, channelID, path) source code
 
onServerErrorEvent(self, schid, errorMessage, error, returnCode, extraMessage) source code
 
onServerPermissionErrorEvent(self, schid, errorMessage, error, returnCode, failedPermissionID) source code
 
headerData(self, section, orientation, role=Qt.DisplayRole) source code
 
flags(self, idx) source code
 
index(self, row, column, parent=QModelIndex()) source code
 
parent(self, idx) source code
 
rowCount(self, parent=QModelIndex()) source code
 
columnCount(self, parent=QModelIndex()) source code
 
data(self, idx, role=Qt.DisplayRole) source code
 
setData(self, idx, value, role=Qt.EditRole) source code
 
fileByIndex(self, idx) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods [hide private]

Inherited from pytson.Translatable (private): _tr

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, schid, cid, password, parent=None, readonly=False)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

path(self, val)

source code 
Decorators:
  • @path.setter

currentFiles(self)

source code 
Decorators:
  • @property