• Skip to content
  • Skip to link menu
KDE 4.3 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KFile

kfileplaceeditdialog.h

Go to the documentation of this file.
00001 /* This file is part of the KDE libraries
00002     Copyright (C) 2001,2002,2003 Carsten Pfeiffer <pfeiffer@kde.org>
00003     Copyright (C) 2007 Kevin Ottens <ervin@kde.org>
00004 
00005     library is free software; you can redistribute it and/or
00006     modify it under the terms of the GNU Library General Public
00007     License as published by the Free Software Foundation, version 2.
00008 
00009     This library is distributed in the hope that it will be useful,
00010     but WITHOUT ANY WARRANTY; without even the implied warranty of
00011     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012     Library General Public License for more details.
00013 
00014     You should have received a copy of the GNU Library General Public License
00015     along with this library; see the file COPYING.LIB.  If not, write to
00016     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00017     Boston, MA 02110-1301, USA.
00018 */
00019 
00020 #ifndef KFILEPLACEEDITDIALOG_H
00021 #define KFILEPLACEEDITDIALOG_H
00022 
00023 // Not exported anymore, only used internally.
00024 //#include <kfile_export.h>
00025 
00026 #include <kdialog.h>
00027 #include <kurl.h>
00028 
00029 class QCheckBox;
00030 class KIconButton;
00031 class KLineEdit;
00032 class KUrlRequester;
00033 
00041 class KFilePlaceEditDialog : public KDialog
00042 {
00043     Q_OBJECT
00044 
00045 public:
00065     static bool getInformation( bool allowGlobal, KUrl& url,
00066                                 QString& description, QString& icon,
00067                                 bool& appLocal, int iconSize,
00068                                 QWidget *parent = 0 );
00069 
00087     KFilePlaceEditDialog(bool allowGlobal, const KUrl& url,
00088                          const QString& description, const QString &icon,
00089                          bool appLocal = true,
00090                          int iconSize = KIconLoader::SizeMedium,
00091                          QWidget *parent = 0);
00095     ~KFilePlaceEditDialog();
00096 
00100     KUrl url() const;
00101 
00105     QString description() const;
00106 
00110     const QString &icon() const;
00111 
00117     bool applicationLocal() const;
00118 
00119 public Q_SLOTS:
00120     void urlChanged(const QString & );
00121 
00122 private:
00126     KUrlRequester * m_urlEdit;
00130     KLineEdit     * m_edit;
00134     KIconButton   * m_iconButton;
00138     QCheckBox     * m_appLocal;
00139 };
00140 
00141 
00142 #endif // KURLBAR_H

KFile

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal