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

KFile

knameandurlinputdialog.h
Go to the documentation of this file.
00001 /*
00002     Copyright (c) 1998, 2008, 2009 David Faure <faure@kde.org>
00003 
00004     This library is free software; you can redistribute it and/or modify
00005     it under the terms of the GNU Lesser General Public License as published by
00006     the Free Software Foundation; either version 2 of the License or ( at
00007     your option ) version 3 or, at the discretion of KDE e.V. ( which shall
00008     act as a proxy as in section 14 of the GPLv3 ), any later version.
00009 
00010     This library is distributed in the hope that it will be useful,
00011     but WITHOUT ANY WARRANTY; without even the implied warranty of
00012     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013     Library General Public License for more details.
00014 
00015     You should have received a copy of the GNU Lesser General Public License
00016     along with this library; see the file COPYING.LIB.  If not, write to
00017     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00018     Boston, MA 02110-1301, USA.
00019 */
00020 
00021 #ifndef KNAMEANDURLINPUTDIALOG_H
00022 #define KNAMEANDURLINPUTDIALOG_H
00023 
00024 #include <kfile_export.h>
00025 #include <kdialog.h>
00026 class KLineEdit;
00027 class KUrlRequester;
00028 class KNameAndUrlInputDialogPrivate;
00029 
00036 class KFILE_EXPORT KNameAndUrlInputDialog : public KDialog
00037 {
00038     Q_OBJECT
00039 public:
00046     KNameAndUrlInputDialog(const QString& nameLabel, const QString& urlLabel, const KUrl& startDir, QWidget *parent);
00047 
00051     virtual ~KNameAndUrlInputDialog();
00052 
00056     void setSuggestedName(const QString& name);
00060     void setSuggestedUrl(const KUrl& url);
00061 
00066     QString name() const;
00071     KUrl url() const;
00072 
00073 private:
00074     Q_PRIVATE_SLOT(d, void _k_slotNameTextChanged(const QString&))
00075     Q_PRIVATE_SLOT(d, void _k_slotURLTextChanged(const QString&))
00076 
00077     KNameAndUrlInputDialogPrivate* const d;
00078 };
00079 
00080 #endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Wed May 2 2012 19:17:54 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KFile

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

kdelibs-4.8.3 API Reference

Skip menu "kdelibs-4.8.3 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