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

Class Index

kimageshop'KSpinBox (./koffice/kimageshop/ui/integerwidget.h:86)

class KSpinBox : public QSpinBox
{
  Q_OBJECT

public:
  KSpinBox( QWidget *parent=0, const char *name=0 );
  KSpinBox ( int minValue, int maxValue, int step=1, QWidget*parent=0,
	     const char *name=0 );
  ~KSpinBox() {}


public slots:
  void 	setEditFocus( bool mark=true );

};

kimageshop'KSpinBox::KSpinBox() (./koffice/kimageshop/ui/integerwidget.cc:117)

KSpinBox::KSpinBox( QWidget *parent, const char *name )
  : QSpinBox( parent, name )
{
}


kimageshop'KSpinBox::KSpinBox() (./koffice/kimageshop/ui/integerwidget.cc:122)

KSpinBox::KSpinBox( int minValue, int maxValue, int step, QWidget *parent,
		    const char *name )
  : QSpinBox( minValue, maxValue, step, parent, name )
{
}


kimageshop'KSpinBox::setEditFocus() (./koffice/kimageshop/ui/integerwidget.cc:128)

void KSpinBox::setEditFocus( bool mark )
{
  QLineEdit *edit = editor();
  edit->setFocus();
  if ( mark )
    edit->selectAll();
}