KDevelop API Documentation

ShellFilterDialog Class Reference

#include <shellfilterdlg.h>

Inheritance diagram for ShellFilterDialog:

QDialog List of all members.

Public Member Functions

 ShellFilterDialog ()
 ~ShellFilterDialog ()
virtual int exec ()
void setText (const QString &str)
QString text () const

Private Slots

void slotStartClicked ()
void slotReceivedStdout (KProcess *, char *text, int len)
void slotWroteStdin (KProcess *)
void slotProcessExited (KProcess *)

Private Attributes

QPushButtonstart_button
QPushButtoncancel_button
QComboBoxcombo
KProcessm_proc
QCString m_instr
QString m_outstr

Constructor & Destructor Documentation

ShellFilterDialog::ShellFilterDialog  ) 
 

Definition at line 29 of file shellfilterdlg.cpp.

References KButtonBox::addButton(), cancel_button, combo, KButtonBox::layout(), m_proc, KConfigBase::readListEntry(), KConfigBase::setGroup(), slotStartClicked(), and start_button.

ShellFilterDialog::~ShellFilterDialog  ) 
 

Definition at line 58 of file shellfilterdlg.cpp.

References combo, endl(), kdDebug(), m_proc, KConfigBase::setGroup(), and KConfigBase::writeEntry().


Member Function Documentation

int ShellFilterDialog::exec  )  [virtual]
 

Definition at line 93 of file shellfilterdlg.cpp.

References start_button.

Referenced by FilterPart::slotShellFilter().

void ShellFilterDialog::setText const QString str  )  [inline]
 

Definition at line 33 of file shellfilterdlg.h.

References m_instr, and setText().

Referenced by setText(), and FilterPart::slotShellFilter().

void ShellFilterDialog::slotProcessExited KProcess  )  [private, slot]
 

Definition at line 114 of file shellfilterdlg.cpp.

References endl(), KProcess::exitStatus(), kdDebug(), m_proc, KProcess::normalExit(), and slotProcessExited().

Referenced by slotProcessExited(), and slotStartClicked().

void ShellFilterDialog::slotReceivedStdout KProcess ,
char *  text,
int  len
[private, slot]
 

Definition at line 100 of file shellfilterdlg.cpp.

References endl(), kdDebug(), len, m_outstr, slotReceivedStdout(), and text().

Referenced by slotReceivedStdout(), and slotStartClicked().

void ShellFilterDialog::slotStartClicked  )  [private, slot]
 

Definition at line 74 of file shellfilterdlg.cpp.

References combo, m_instr, m_outstr, m_proc, slotProcessExited(), slotReceivedStdout(), slotWroteStdin(), KProcess::start(), start_button, and KProcess::writeStdin().

Referenced by ShellFilterDialog().

void ShellFilterDialog::slotWroteStdin KProcess  )  [private, slot]
 

Definition at line 107 of file shellfilterdlg.cpp.

References KProcess::closeStdin(), endl(), kdDebug(), m_outstr, m_proc, and slotWroteStdin().

Referenced by slotStartClicked(), and slotWroteStdin().

QString ShellFilterDialog::text  )  const [inline]
 

Definition at line 35 of file shellfilterdlg.h.

References m_outstr.

Referenced by FilterPart::slotShellFilter().


Member Data Documentation

QPushButton * ShellFilterDialog::cancel_button [private]
 

Definition at line 45 of file shellfilterdlg.h.

Referenced by ShellFilterDialog().

QComboBox* ShellFilterDialog::combo [private]
 

Definition at line 46 of file shellfilterdlg.h.

Referenced by ShellFilterDialog(), slotStartClicked(), and ~ShellFilterDialog().

QCString ShellFilterDialog::m_instr [private]
 

Definition at line 48 of file shellfilterdlg.h.

Referenced by setText(), and slotStartClicked().

QString ShellFilterDialog::m_outstr [private]
 

Definition at line 49 of file shellfilterdlg.h.

Referenced by slotReceivedStdout(), slotStartClicked(), slotWroteStdin(), and text().

KProcess* ShellFilterDialog::m_proc [private]
 

Definition at line 47 of file shellfilterdlg.h.

Referenced by ShellFilterDialog(), slotProcessExited(), slotStartClicked(), slotWroteStdin(), and ~ShellFilterDialog().

QPushButton* ShellFilterDialog::start_button [private]
 

Definition at line 45 of file shellfilterdlg.h.

Referenced by exec(), ShellFilterDialog(), and slotStartClicked().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Oct 6 17:39:30 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003