You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
505 B
17 lines
505 B
15 years ago
|
#include <kapplication.h>
|
||
|
#include <keditlistbox.h>
|
||
|
#include <kurlrequester.h>
|
||
|
#include <kurlrequesterdlg.h>
|
||
|
|
||
|
int main( int argc, char **argv )
|
||
|
{
|
||
12 years ago
|
TDEApplication app( argc, argv, "kurlrequestertest" );
|
||
15 years ago
|
KURL url = KURLRequesterDlg::getURL( "ftp://ftp.kde.org" );
|
||
13 years ago
|
tqDebug( "Selected url: %s", url.url().latin1());
|
||
15 years ago
|
|
||
|
KURLRequester *req = new KURLRequester();
|
||
13 years ago
|
KEditListBox *el = new KEditListBox( TQString::fromLatin1("Test"), req->customEditor() );
|
||
15 years ago
|
el->show();
|
||
|
return app.exec();
|
||
|
}
|