Skip to content
Skip to link menu
Trinity API Reference
Trinity API Reference
tdeio/tdefile
tdeio/tdefile
tdeio
tdefile
kurlrequesterdlg.h
1
/* This file is part of the KDE libraries
2
Copyright (C) 2000 Wilco Greven <greven@kde.org>
3
4
library is free software; you can redistribute it and/or
5
modify it under the terms of the GNU Library General Public
6
License as published by the Free Software Foundation; either
7
version 2 of the License, or (at your option) any later version.
8
9
This library is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
Library General Public License for more details.
13
14
You should have received a copy of the GNU Library General Public License
15
along with this library; see the file COPYING.LIB. If not, write to
16
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17
Boston, MA 02110-1301, USA.
18
*/
19
20
21
#ifndef KURLREQUESTERDIALOG_H
22
#define KURLREQUESTERDIALOG_H
23
24
#include <kdialogbase.h>
25
#include <kurl.h>
26
27
class
KURLCompletion;
28
class
KURLRequester
;
29
class
KFileDialog
;
38
class
TDEIO_EXPORT
KURLRequesterDlg
:
public
KDialogBase
39
{
40
TQ_OBJECT
41
42
public
:
54
KURLRequesterDlg
(
const
TQString& url, TQWidget *parent,
55
const
char
*name,
bool
modal =
true
);
56
69
KURLRequesterDlg
(
const
TQString& url,
const
TQString& text,
70
TQWidget *parent,
const
char
*name,
bool
modal=
true
);
74
~KURLRequesterDlg
();
75
79
KURL selectedURL()
const
;
80
88
static
KURL getURL(
const
TQString& url = TQString::null,
89
TQWidget *parent= 0,
const
TQString& caption = TQString::null);
90
94
KFileDialog
* fileDialog();
98
KURLRequester
*urlRequester();
99
100
private
slots:
101
void
slotClear();
102
void
slotTextChanged(
const
TQString &);
103
private
:
104
void
initDialog(
const
TQString &text,
const
TQString &url);
105
KURLRequester
*urlRequester_;
106
107
class
KURLRequesterDlgPrivate;
108
KURLRequesterDlgPrivate *d;
109
110
};
111
112
#endif
// KURLREQUESTERDIALOG_H
KFileDialog
Provides a user (and developer) friendly way to select files and directories.
Definition
tdefiledialog.h:77
KURLRequesterDlg
Dialog in which a user can enter a filename or url.
Definition
kurlrequesterdlg.h:39
KURLRequester
This class is a widget showing a lineedit and a button, which invokes a filedialog.
Definition
kurlrequester.h:57
tdeio/tdefile
Skip menu "tdeio/tdefile"
Main Page
Class Hierarchy
Alphabetical List
Class List
File List
Class Members
Related Pages
tdeio/tdefile
Skip menu "tdeio/tdefile"
arts
dcop
dnssd
interfaces
kspeech
interface
library
tdetexteditor
kate
kded
kdoctools
kimgio
kjs
libtdemid
libtdescreensaver
tdeabc
tdecmshell
tdecore
tdefx
tdehtml
tdeinit
tdeio
bookmarks
httpfilter
kpasswdserver
kssl
tdefile
tdeio
tdeioexec
tdeioslave
http
tdemdi
tdemdi
tdenewstuff
tdeparts
tdeprint
tderandr
tderesources
tdespell2
tdesu
tdeui
tdeunittest
tdeutils
tdewallet