20 #ifndef KDIRSELECTDIALOG_H
21 #define KDIRSELECTDIALOG_H
23 #include <kdialogbase.h>
32 class TDEToggleAction;
54 bool localOnly =
false,
55 TQWidget *parent = 0L,
56 const char *name = 0,
bool modal =
false);
70 bool localOnly()
const {
return m_localOnly; }
82 static KURL selectDirectory(
const TQString& startDir = TQString::null,
83 bool localOnly =
false, TQWidget *parent = 0L,
84 const TQString& caption = TQString::null);
89 TQString
startDir()
const {
return m_startDir; }
92 void setCurrentURL(
const KURL& url );
95 virtual void slotUser1();
98 virtual void accept();
101 TQVBoxLayout *m_mainLayout;
105 void slotCurrentChanged();
106 void slotURLActivated(
const TQString& );
108 void slotComboTextChanged(
const TQString& text );
109 void slotContextMenu( TDEListView *, TQListViewItem *,
const TQPoint & );
110 void slotShowHiddenFoldersToggled();
114 void readConfig( TDEConfig *config,
const TQString& group );
115 void saveConfig( TDEConfig *config,
const TQString& group );
120 TQPopupMenu *m_contextMenu;
121 TDEToggleAction *m_showHiddenFolders;
125 virtual void virtual_hook(
int id,
void* data );
127 class KDirSelectDialogPrivate;
128 KDirSelectDialogPrivate *d;
A pretty dialog for a KDirSelect control for selecting directories.
TQString startDir() const
This is the branch class of the KFileTreeView, which represents one branch in the treeview.
An item for a KFileTreeView that knows about its own KFileItem.
The filetreeview offers a treeview on the file system which behaves like a QTreeView showing files an...