|
|
A full featured directory browser. Includes all the features of KDirOperator plus the following.
KitDirBrowser ( QWidget * parent, const char * name )
| KitDirBrowser |
Default constructor
KitDirBrowser ( KConfig * config, QWidget * parent, const char * name )
| KitDirBrowser |
Constructor with configuration object pointer
~KitDirBrowser ()
| ~KitDirBrowser |
Destructor
void setDocumentButton ( const QString & icon, const QString & text = QString::null, const QString & tip = QString::null )
| setDocumentButton |
Set the user definable toolbar button, This button defaults to the user "documents" directory.
Parameters:
icon | the name of the button icon |
text | then button text |
tip | the button tooltip |
void loadURL ( const KURL & url )
| loadURL |
[slot]
Load a URL.
void reload ()
| reload |
[slot]
Reload the browser.
void applySettings ( KConfig * config )
| applySettings |
[slot]
Used to load and apply browser and toolbar settings. This does not set the configuration file for bookmarks or filters. That is set in the constructor.
void saveSettings ()
| saveSettings |
[slot]
Saves the browser settings. Settings are automatically applied when constructed.
void saveSettings ( KConfig * config )
| saveSettings |
[slot]
Same as above but with KConfig option.
void resetDocumentButton ()
| resetDocumentButton |
[slot]
Resets the user definable toolbar button to the defaults. (user "documents" directory)
void setDocumentPath ( const KURL & url )
| setDocumentPath |
[slot]
Sets the URL of the user definable toolbar button.
void urlSelected ( const KURL & url )
| urlSelected |
[signal]
reimplemented from KDirOperator urlEntered()
See also: urlEntered
void fileSelected ( const KFileItem * item )
| fileSelected |
[signal]
reimplemented from KDirOperator
See also: fileSelected
void fileHighlighted ( const KFileItem * item )
| fileHighlighted |
[signal]
reimplemented from KDirOperator
See also: fileHighlighted
void dirActivated ( const KFileItem * item )
| dirActivated |
[signal]
reimplemented from KDirOperator
See also: dirActivated