• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.14.38 API Reference
  • KDE Home
  • Contact Us
 

KFile

  • kfile
knameandurlinputdialog.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 KNAMEANDURLINPUTDIALOG_H
22#define KNAMEANDURLINPUTDIALOG_H
23
24#include <kfile_export.h>
25#include <kdialog.h>
26class KLineEdit;
27class KUrlRequester;
28class KNameAndUrlInputDialogPrivate;
29
36class KFILE_EXPORT KNameAndUrlInputDialog : public KDialog
37{
38 Q_OBJECT
39public:
46 KNameAndUrlInputDialog(const QString& nameLabel, const QString& urlLabel, const KUrl& startDir, QWidget *parent);
47
51 virtual ~KNameAndUrlInputDialog();
52
56 void setSuggestedName(const QString& name);
60 void setSuggestedUrl(const KUrl& url);
61
66 QString name() const;
71 KUrl url() const;
72
73private:
74 Q_PRIVATE_SLOT(d, void _k_slotNameTextChanged(const QString&))
75 Q_PRIVATE_SLOT(d, void _k_slotURLTextChanged(const QString&))
76
77 KNameAndUrlInputDialogPrivate* const d;
78};
79
80#endif
KDialog
KLineEdit
KNameAndUrlInputDialog
Dialog to ask for a name (e.g.
Definition: knameandurlinputdialog.h:37
KUrlRequester
KUrl
QWidget
kdialog.h
kfile_export.h
name
const char * name(StandardAction id)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KFile

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

kdelibs-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
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