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 ***************************************************************************/
16 #ifndef FORMURLDIALOG_H
17 #define FORMURLDIALOG_H
22 // to connect apply() and hide()
29 #include <qcheckbox.h>
30 #include <qlineedit.h>
31 #include <qpushbutton.h>
33 class FormUrlDialog : public QDialog {
36 FormUrlDialog(FormUrl *form, QWidget *parent=0, const char *name=0,
37 bool modal=false, WFlags f=0);
47 QPushButton *buttonOk;
48 QPushButton *buttonCancel;
51 void closeEvent(QCloseEvent *e);
58 QHBoxLayout *topLayout;
60 QHBoxLayout *urlLayout;
61 QBoxLayout *urlnameLayout;
62 QBoxLayout *htmlurlLayout;
63 QHBoxLayout *buttonLayout;
66 /// adaptor to FormUrl::apply
67 void apply_adaptor(void) {
73 /// adaptor to FormUrl::close
74 void close_adaptor(void) {