Contents
Navigation
Home User Reference Other Resources


The QTPlgObjectsList class provides you with a convenient mechanism to store and retrieve collections of QTPlugin objects.

Since version 6.7 of the plugin this class can be used in Console Applications






The QTPlgObjectsList class constructors are called when you create a new instance of the class, while the ˜QTPlgObjectsList class destructor, is called automatically when the class is no more in use. Also, you can invoke the class destructor by setting the instance of the class to nil.

Once a new class instance is returned, it is good practice to check the class property to be sure that the new object can be used. The conditions that determine if a QTPlgObjectsList object is valid are the same as its .


The class provides you with the following initializer methods:
()
This is the default constructor. Use it to create an empty container in memory
(other as QTPlgObjectsList)
This is the copy constructor. The properties of the object to be copied will be used to initialize the new class instance properties

(value as )
use this method to append the plugin object specified by the value parameter to the list in use; if not otherwise stated, you can store into the list any QTPlugin object. As the list retains a copy of the object provided to it, you can safely dipose of the original once you have done with it. If you want to change the object an existing list item points to, you should use the class property instead
returns nothing. You can check the class property for errors

(ob as QTPlgObjectsList) as QTPlgObjectsList
use the + Realbasic operator to create a new list whose contents are obtained by merging the items of the source lists
returns a new QTPlgObjectsList class instance. Check the class property for errors