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
#include <kapplication.h>
|
|
#include <keditlistbox.h>
|
|
#include <kurlrequester.h>
|
|
#include <kurlrequesterdlg.h>
|
|
|
|
int main( int argc, char **argv )
|
|
{
|
|
TDEApplication app( argc, argv, "kurlrequestertest" );
|
|
KURL url = KURLRequesterDlg::getURL( "ftp://ftp.kde.org" );
|
|
tqDebug( "Selected url: %s", url.url().latin1());
|
|
|
|
KURLRequester *req = new KURLRequester();
|
|
KEditListBox *el = new KEditListBox( TQString::fromLatin1("Test"), req->customEditor() );
|
|
el->show();
|
|
return app.exec();
|
|
}
|