#include <import.h>
Inheritance diagram for SaX::SaXImport:

Public Member Functions | |
| void | doImport (void) |
| void | setSource (int) |
| int | getSectionID (void) |
| QString | getSectionName (void) |
| SaXImport (int) | |
The SaXImport class provides an abstraction for the ISaX interface layer. The class inherits from SaXProcess which itself inherits from SaXStorage. the data is obtained from an isax process call and is stored into the protected area of a storage object. ISaX is the interface between the engine which is responsible to create or modify X11 configurations and the client side which normaly builds a GUI for user interactions concerning X11 issues. The ISaX interface is used for input and output data and is therefore the major structure to read, create and modify X11 configurations. The SaXImport class will cover only the first part which is to read from the interface. A SaXImport object will be constructed with one parameter which defines the section to import. there are seven ISAX sections available:
Example:
#include <sax/sax.h> SaXImport* card = new SaXImport (SAX_CARD); card->doImport(); if (card->getItem("Vendor")) { printf ("%s\n",card->getItem("Vendor").ascii()); }
Definition at line 126 of file import.h.
| SaX::SaXImport::SaXImport | ( | int | ) |
Definition at line 27 of file import.cpp.
References SaX::SaXException::errorString(), and SaX::SaXException::excImportSectionFailed().
Here is the call graph for this function:

| void SaX::SaXImport::doImport | ( | void | ) | [virtual] |
Implements SaX::SaXImportIF.
Definition at line 75 of file import.cpp.
References SaX::SaXProcess::start().
Here is the call graph for this function:

| void SaX::SaXImport::setSource | ( | int | ) | [virtual] |
| int SaX::SaXImport::getSectionID | ( | void | ) | [virtual] |
Implements SaX::SaXImportIF.
Definition at line 101 of file import.cpp.
Referenced by SaX::SaXConfig::addImport(), SaX::SaXExport::SaXExport(), SaX::SaXManipulateCard::SaXManipulateCard(), SaX::SaXManipulateDesktop::SaXManipulateDesktop(), SaX::SaXManipulateDevices::SaXManipulateDevices(), SaX::SaXManipulateExtensions::SaXManipulateExtensions(), SaX::SaXManipulateKeyboard::SaXManipulateKeyboard(), SaX::SaXManipulateLayout::SaXManipulateLayout(), SaX::SaXManipulatePath::SaXManipulatePath(), SaX::SaXManipulatePointers::SaXManipulatePointers(), and SaX::SaXManipulateVNC::SaXManipulateVNC().
| QString SaX::SaXImport::getSectionName | ( | void | ) | [virtual] |
1.5.0