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