Source Code (Use browser search to find items of interest.)

Class Index

kimage'KImagePreferencesDialog (./koffice/kimage/preferencesdlg.h:30)

class KImagePreferencesDialog : public KDialog
{
    Q_OBJECT

public:

  KImagePreferencesDialog( QWidget* parent = 0, const char* name = 0, WFlags f = 0 );
  ~KImagePreferencesDialog();

  static QString getStr();

private:

  QLineEdit* m_pLineEdit;
};

kimage'KImagePreferencesDialog::KImagePreferencesDialog() (./koffice/kimage/preferencesdlg.cc:34)

KImagePreferencesDialog::KImagePreferencesDialog( QWidget* parent, const char* name, WFlags f )
	: KDialog( parent, name, true, f )
{
	// Layout
    QGridLayout* grid = new QGridLayout( this, 5, 5, 7, 15);

	// Inputline
	m_pLineEdit = new QLineEdit( this, "tempDir" );
    grid->addMultiCellWidget( m_pLineEdit, 1, 1, 0, 4 );	

	// Label
	QLabel* label = new QLabel( m_pLineEdit, i18n( "Directory for temporary files" ) , this );
	grid->addWidget( label, 0, 0 );
	
	// OK-Button
    QPushButton* okButton = new QPushButton( this, "OKButton" );
    okButton->setText( i18n( "&Ok" ) );
    okButton->setAutoRepeat( false );
    okButton->setAutoResize( false );
    okButton->setAutoDefault( true );
    okButton->setDefault( true );
    connect( okButton, SIGNAL( clicked() ), this, SLOT( close() ) );
    grid->addWidget( okButton, 3, 3 );
        
	// Cancel-Button

	grid->setRowStretch( 0, 0);
	grid->setRowStretch( 1, 0);
	grid->setColStretch( 0, 0);
	grid->setColStretch( 1, 0);
}


kimage'KImagePreferencesDialog::~KImagePreferencesDialog() (./koffice/kimage/preferencesdlg.cc:66)

KImagePreferencesDialog::~KImagePreferencesDialog()
{
}


kimage'KImagePreferencesDialog::getStr() (./koffice/kimage/preferencesdlg.cc:70)

QString KImagePreferencesDialog::getStr()
{
	QString tmp;

	return tmp;
}