kleopatra
input.cpp
Go to the documentation of this file.
80 /* reimp */ QString label() const { return m_customLabel.isEmpty() ? m_defaultLabel : m_customLabel; }
119 explicit ProcessStdOutInput( const QString & cmd, const QStringList & args, const QDir & wd, const QByteArray & stdin_=QByteArray() );
161 /* reimp */ unsigned long long size() const { return m_buffer ? m_buffer->buffer().size() : 0; }
245 shared_ptr<Input> Input::createFromProcessStdOut( const QString & command, const QStringList & args ) {
249 shared_ptr<Input> Input::createFromProcessStdOut( const QString & command, const QStringList & args, const QDir & wd ) {
253 shared_ptr<Input> Input::createFromProcessStdOut( const QString & command, const QByteArray & stdin_ ) {
254 return shared_ptr<Input>( new ProcessStdOutInput( command, QStringList(), QDir::current(), stdin_ ) );
257 shared_ptr<Input> Input::createFromProcessStdOut( const QString & command, const QStringList & args, const QByteArray & stdin_ ) {
261 shared_ptr<Input> Input::createFromProcessStdOut( const QString & command, const QStringList & args, const QDir & wd, const QByteArray & stdin_ ) {
277 ProcessStdOutInput::ProcessStdOutInput( const QString & cmd, const QStringList & args, const QDir & wd, const QByteArray & stdin_ )
307 const QString cmdline = ( QStringList( m_command ) + m_arguments.mid(0,3) ).join( QLatin1String(" ") );
371 Input::~Input() {}
typedef OpenMode
bool isEmpty() const
static QByteArray dataFromClipboard(QClipboard::Mode mode)
Definition: input.cpp:330
Definition: log.h:55
QString fromLocal8Bit(const char *str, int size)
QClipboard * clipboard()
QString fileName() const
static boost::shared_ptr< Input > createFromClipboard()
Definition: input.cpp:326
bool isEmpty() const
Definition: kdpipeiodevice.h:29
QDebug operator<<(QDebug debug, const std::vector< T, A > &v)
Definition: headerview.cpp:78
static boost::shared_ptr< Input > createFromFile(const QString &filename, bool dummy=false)
Definition: input.cpp:199
virtual boost::shared_ptr< QIODevice > ioDevice() const =0
qint64 size() const
Definition: cached.h:43
static boost::shared_ptr< Input > createFromPipeDevice(assuan_fd_t fd, const QString &label)
Definition: input.cpp:173
QString absolutePath() const
QList< T > mid(int pos, int length) const
static boost::shared_ptr< Input > createFromProcessStdOut(const QString &command)
Definition: input.cpp:241
unsigned int classifyContent(const QByteArray &data)
Definition: classify.cpp:185
QDir current()
int size() const
Definition: input.h:51
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:33:11 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:33:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.