KIO
Go to the documentation of this file.
19 #ifndef KURLCOMBOBOX_H
20 #define KURLCOMBOBOX_H
24 #include <QtCore/QList>
25 #include <QtCore/QMap>
26 #include <QtCore/QStringList>
27 #include <QtGui/QIcon>
50 Q_PROPERTY(
QStringList urls READ urls WRITE setUrls DESIGNABLE
true)
51 Q_PROPERTY(
int maxItems READ maxItems WRITE setMaxItems DESIGNABLE true)
57 enum
Mode { Files = -1, Directories = 1, Both = 0 };
100 void setUrl(
const KUrl& url );
118 void setUrls(
const QStringList &urls, OverLoadResolving
remove );
136 void setMaxItems(
int );
142 int maxItems()
const;
162 void addDefaultUrl(
const KUrl& url,
const QIcon& icon,
176 void removeUrl(
const KUrl& url,
bool checkDefaultURLs =
true );
190 void urlActivated(
const KUrl& url );
193 virtual void mousePressEvent(QMouseEvent *event);
194 virtual void mouseMoveEvent(QMouseEvent *event);
197 class KUrlComboBoxPrivate;
198 KUrlComboBoxPrivate*
const d;
202 Q_PRIVATE_SLOT( d,
void _k_slotActivated(
int ) )
206 #endif // KURLCOMBOBOX_H
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Apr 20 2013 06:03:11 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.