X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/5252c12db4929886dbe502013e0a1fee6500f568..abf17941f7:/src/editbookmarkdialog.h diff --git a/src/editbookmarkdialog.h b/src/editbookmarkdialog.h index e3578a940..9e18980e0 100644 --- a/src/editbookmarkdialog.h +++ b/src/editbookmarkdialog.h @@ -15,33 +15,33 @@ * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * ***************************************************************************/ #ifndef EDITBOOKMARKDIALOG_H #define EDITBOOKMARKDIALOG_H #include -#include +#include class Bookmark; class QLineEdit; class QPushButton; /** - * @brief Allows to edit the icon, URL and name of a bookmark. + * @brief Allows to edit the icon, Url and name of a bookmark. * * The default usage is like this: * \code * KBookmark bookmark = EditBookmarkDialog::getBookmark(i18n("Add Bookmark"), * i18n("New bookmark"), - * KURL(), + * KUrl(), * "bookmark"); * if (!bookmark.isNull()) { * // ... * } * \endcode */ -class EditBookmarkDialog : public KDialogBase +class EditBookmarkDialog : public KDialog { Q_OBJECT @@ -49,23 +49,23 @@ public: virtual ~EditBookmarkDialog(); /** - * Opens a dialog where the current icon, URL and name of - * an URL are editable. The title of the dialog is set to \a title. + * Opens a dialog where the current icon, Url and name of + * an Url are editable. The title of the dialog is set to \a title. * @return A valid bookmark, if the user has pressed OK. Otherwise * a null bookmark is returned (see Bookmark::isNull()). */ static KBookmark getBookmark(const QString& title, const QString& name, - const KURL& url, + const KUrl& url, const QString& icon); protected slots: - virtual void slotOk(); + virtual void slotButtonClicked(int button); protected: EditBookmarkDialog(const QString& title, const QString& name, - const KURL& url, + const KUrl& url, const QString& icon); private slots: