21 #include "kxmlcommandselector.h"
22 #include "kmconfigdialog.h"
24 #include "kmfactory.h"
25 #include "kmmanager.h"
26 #include "kmprinter.h"
27 #include "kmmainview.h"
29 #include <tdemessagebox.h>
30 #include <kdialogbase.h>
31 #include <tdelocale.h>
35 TDEPRINT_EXPORT
int add_printer_wizard(TQWidget *parent)
37 return tdeprint_management_add_printer_wizard( parent );
40 TDEPRINT_EXPORT
bool config_dialog(TQWidget *parent)
42 KMConfigDialog dlg(parent);
46 TDEPRINT_EXPORT TQString select_command( TQWidget* parent )
48 KDialogBase dlg( parent, 0,
true, i18n(
"Select Command" ), KDialogBase::Ok|KDialogBase::Cancel );
49 KXmlCommandSelector *xmlSel =
new KXmlCommandSelector(
false, &dlg,
"CommandSelector", &dlg );
50 dlg.setMainWidget( xmlSel );
52 return xmlSel->command();
53 return TQString::null;