TDEIO Slaves
Prev
Next

Chapter 7. TDEIO Slaves

PyTDE Extensions can be used for the creation of tdeio-slaves. PyTDE Extensions handles the C++ glue code needed for making tdeioslaves in Python. developer.kde.org has some documentation about TDEIO-slaves aimed at C++ programmers.

In your setup.py file you can specify the list of tdeioslaves that need to be installed.

    tdeioslaves = [ ('src/tdeioslave.protocol','tdeioslave.py')] )
This is just a list of tuples. The first item is name of the .protocol file that you've made for your tdeio-slave. The second item is the name of the Python program to run when the user views the module in kcontrol. This program is expected to be in the application's data files directory.

Prev
Next
Home


Would you like to comment or contribute an update to this page?
Send feedback to the TDE Development Team