4 * John Levon, moz@compsoc.man.ac.uk
7 /***************************************************************************
9 * This program is free software; you can redistribute it and/or modify *
10 * it under the terms of the GNU General Public License as published by *
11 * the Free Software Foundation; either version 2 of the License, or *
12 * (at your option) any later version. *
14 ***************************************************************************/
22 // to connect apply() and hide()
28 #include <qcheckbox.h>
29 #include <qlineedit.h>
30 #include <qpushbutton.h>
32 class UrlDialog : public QWidget {
35 UrlDialog(FormUrl *form, QWidget *parent=0, const char *name=0,
36 bool modal=false, WFlags f=0);
46 QPushButton *buttonOk;
47 QPushButton *buttonCancel;
50 void closeEvent(QCloseEvent *e);
57 QHBoxLayout *topLayout;
59 QHBoxLayout *urlLayout;
60 QBoxLayout *urlnameLayout;
61 QBoxLayout *htmlurlLayout;
62 QHBoxLayout *buttonLayout;
65 /// adaptor to FormUrl::apply
66 void apply_adaptor(void) {
72 /// adaptor to FormUrl::close
73 void close_adaptor(void) {