projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Note to self: QString(int) != QString::number(int) -_-
[quassel.git]
/
src
/
qtui
/
chatscene.h
diff --git
a/src/qtui/chatscene.h
b/src/qtui/chatscene.h
index
9d8a565
..
8701f69
100644
(file)
--- a/
src/qtui/chatscene.h
+++ b/
src/qtui/chatscene.h
@@
-36,7
+36,7
@@
class ChatScene : public QGraphicsScene {
Q_OBJECT
public:
Q_OBJECT
public:
- ChatScene(QAbstractItemModel *model, QObject *parent);
+ ChatScene(QAbstractItemModel *model,
const QString &idString,
QObject *parent);
virtual ~ChatScene();
Buffer *buffer() const;
virtual ~ChatScene();
Buffer *buffer() const;
@@
-47,6
+47,7
@@
class ChatScene : public QGraphicsScene {
private slots:
void rectChanged(const QRectF &);
private slots:
void rectChanged(const QRectF &);
+ void handlePositionChanged(qreal xpos);
signals:
void heightChanged(qreal height);
signals:
void heightChanged(qreal height);
@@
-55,6
+56,7
@@
class ChatScene : public QGraphicsScene {
void rowsInserted(const QModelIndex &, int, int);
private:
void rowsInserted(const QModelIndex &, int, int);
private:
+ QString _idString;
qreal _width, _height;
QAbstractItemModel *_model;
QList<ChatLine *> _lines;
qreal _width, _height;
QAbstractItemModel *_model;
QList<ChatLine *> _lines;