• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kde-baseapps API Reference
  • KDE Home
  • Contact Us
 

libkonq

  • sources
  • kde-4.14
  • kde-baseapps
  • lib
  • konq
konq_nameandurlinputdialog.h
Go to the documentation of this file.
1 /*
2  Copyright (c) 1998, 2008, 2009 David Faure <faure@kde.org>
3 
4  This library is free software; you can redistribute it and/or modify
5  it under the terms of the GNU Lesser General Public License as published by
6  the Free Software Foundation; either version 2 of the License or ( at
7  your option ) version 3 or, at the discretion of KDE e.V. ( which shall
8  act as a proxy as in section 14 of the GPLv3 ), any later version.
9 
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Library General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public License
16  along with this library; see the file COPYING.LIB. If not, write to
17  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  Boston, MA 02110-1301, USA.
19 */
20 
21 #ifndef KONQ_NAMEANDURLINPUTDIALOG_H
22 #define KONQ_NAMEANDURLINPUTDIALOG_H
23 
24 #include <libkonq_export.h>
25 #include <kdialog.h>
26 #include <kurl.h>
27 class KLineEdit;
28 class KUrlRequester;
29 class KonqNameAndUrlInputDialogPrivate;
30 
39 class LIBKONQ_EXPORT_DEPRECATED KonqNameAndUrlInputDialog : public KDialog
40 {
41  Q_OBJECT
42 public:
49  KonqNameAndUrlInputDialog(const QString& nameLabel, const QString& urlLabel, const KUrl& startDir, QWidget *parent);
50 
54  virtual ~KonqNameAndUrlInputDialog();
55 
59  void setSuggestedName(const QString& name);
63  void setSuggestedUrl(const KUrl& url);
64 
69  QString name() const;
74  KUrl url() const;
75 
76 private:
77  Q_PRIVATE_SLOT(d, void _k_slotClear())
78  Q_PRIVATE_SLOT(d, void _k_slotNameTextChanged(const QString&))
79  Q_PRIVATE_SLOT(d, void _k_slotURLTextChanged(const QString&))
80 
81  KonqNameAndUrlInputDialogPrivate* const d;
82 };
83 
84 #endif
QWidget
KDialog
QString
KonqNameAndUrlInputDialog
Dialog to ask for a name (e.g.
Definition: konq_nameandurlinputdialog.h:39
libkonq_export.h
LIBKONQ_EXPORT_DEPRECATED
#define LIBKONQ_EXPORT_DEPRECATED
Definition: libkonq_export.h:41
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:07:48 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

libkonq

Skip menu "libkonq"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kde-baseapps API Reference

Skip menu "kde-baseapps API Reference"
  • Libraries
  •   libkonq

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal