KIO
kscan.cpp
Go to the documentation of this file.
40 return KServiceTypeTrader::createInstanceFromQuery<KScanDialog>( "KScan/KScanDialog", QString(), parent );
89 return KServiceTypeTrader::createInstanceFromQuery<KOCRDialog>( "KScan/KOCRDialog", QString(), parent );
static KScanDialog * getScanDialog(QWidget *parent=0)
Creates the user's preferred scanning dialog and returns it, or 0L if no scan-support is available...
Definition: kscan.cpp:38
QString i18n(const char *text)
void setModal(bool modal)
static KOCRDialog * getOCRDialog(QWidget *parent=0)
Creates the user's preferred OCR dialog and returns it, or 0L if no OCR-support is available...
Definition: kscan.cpp:87
virtual bool setup()
Reimplement this if you need to set up some things, before showing the dialog, e.g.
Definition: kscan.cpp:70
void setCaption(const QString &c)
KScanDialog(int dialogFace=Tabbed, int buttonMask=Close|Help, QWidget *parent=0)
Constructs the scan dialog.
Definition: kscan.cpp:44
KOCRDialog(int dialogFace=Tabbed, int buttonMask=Close|Help, QWidget *parent=0L, bool modal=false)
Constructs the OCR dialog.
Definition: kscan.cpp:93
QObject * parent() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.