20 #ifndef LOCATIONDIALOG_H
21 #define LOCATIONDIALOG_H
23 #include <kdialogbase.h>
31 class LocationDialog :
public KDialogBase
35 LocationDialog(TQWidget *parent =
nullptr,
const char *name =
nullptr);
37 void setInfos(CupsdConf*);
38 void fillLocation(CupsLocation*);
39 void setLocation(CupsLocation*);
41 static bool newLocation(CupsLocation*, TQWidget *parent =
nullptr, CupsdConf *conf =
nullptr);
42 static bool editLocation(CupsLocation*, TQWidget *parent =
nullptr, CupsdConf *conf =
nullptr);
45 void slotTypeChanged(
int);
46 void slotClassChanged(
int);
49 void slotDefaultList();
52 TQComboBox *resource_, *authtype_, *authclass_, *encryption_, *satisfy_, *order_;
53 TQLineEdit *authname_;