# class KStatusBarJobTracker

###

Module | kdeui
Namespace |
Class | KStatusBarJobTracker
Inherits | KAbstractWidgetJobTracker

This class implements a job tracker with a widget suited for embedding in a status bar.

### enums

- StatusBarMode { NoInformation, LabelOnly, ProgressOnly }
  typesafe object: StatusBarModes

enum details

### methods

- KStatusBarJobTracker (parent, button)

  returns ctor
  KDE 4.1.0 and later only

  Argument | Type | Default
  --- | --- | ---
  parent | QWidget | 0
  button | bool | 1

  Creates a new KStatusBarJobTracker

  parent - the parent of this object and of the widget displaying the job progresses

  button - true to display a stop button allowing to kill the job, false otherwise

- KStatusBarJobTracker (a0, a1)

  returns ctor
  before KDE 4.1.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | QWidget | 0
  a1 | bool | 1

- description (job, title, field1, field2)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  job | KJob |
  title | QString |
  field1 | QPair<QString,QString> |
  field2 | QPair<QString,QString> |

  The following slots are inherited from KJobTrackerInterface.

- percent (job, percent)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  job | KJob |
  percent | unsigned long |

- registerJob (job)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  job | KJob |

  Register a new job in this tracker.

  job - the job to register

- setStatusBarMode (statusBarMode)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  statusBarMode | KStatusBarJobTracker.StatusBarModes |

  Sets the mode of the status bar.

  statusBarMode - what information the status bar will show (see StatusBarMode). LabelOnly by default

- slotClean (job)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  job | KJob |

- speed (job, value)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  job | KJob |
  value | unsigned long |

- totalAmount (job, unit, amount)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  job | KJob |
  unit | KJob.Unit |
  amount | qulonglong |

- unregisterJob (job)

  returns Nothing
  KDE 4.1.0 and later only

  Argument | Type | Default
  --- | --- | ---
  job | KJob |

  Unregister a job from this tracker.

  job - the job to unregister

- widget (job)

  returns QWidget

  Argument | Type | Default
  --- | --- | ---
  job | KJob |

  The widget associated to this tracker.

  Returns the widget displaying the job progresses

### enums - detail

- StatusBarMode { NoInformation, LabelOnly, ProgressOnly }

  typesafe object: StatusBarModes

NoInformation - 0x0000 -
LabelOnly - 0x0001 -
ProgressOnly - 0x0002 -