* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
-
#ifndef TITLESETTER_H
#define TITLESETTER_H
class MainWin;
-class TitleSetter : public AbstractItemView {
- Q_OBJECT
+class TitleSetter : public AbstractItemView
+{
+ Q_OBJECT
- public:
+public:
TitleSetter(MainWin *parent);
- protected slots:
+protected slots:
virtual void currentChanged(const QModelIndex ¤t, const QModelIndex &previous);
virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight);
- private:
+private:
MainWin *_mainWin;
- void changeWindowTitle(QString title);
+ void changeWindowTitle(const QModelIndex &index);
};