projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add itemview styles to generated settings.qss
[quassel.git]
/
src
/
qtui
/
inputwidget.h
diff --git
a/src/qtui/inputwidget.h
b/src/qtui/inputwidget.h
index
0becb38
..
fae3d7f
100644
(file)
--- a/
src/qtui/inputwidget.h
+++ b/
src/qtui/inputwidget.h
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-0
8
by the Quassel Project *
+ * Copyright (C) 2005-0
9
by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-29,6
+29,8
@@
#include "identity.h"
#include "network.h"
#include "identity.h"
#include "network.h"
+class InputLine;
+
class InputWidget : public AbstractItemView {
Q_OBJECT
class InputWidget : public AbstractItemView {
Q_OBJECT
@@
-38,29
+40,31
@@
public:
const Network *currentNetwork() const;
const Network *currentNetwork() const;
+ inline InputLine* inputLine() const { return ui.inputEdit; }
+
protected slots:
virtual void currentChanged(const QModelIndex ¤t, const QModelIndex &previous);
protected slots:
virtual void currentChanged(const QModelIndex ¤t, const QModelIndex &previous);
+ virtual void rowsAboutToBeRemoved(const QModelIndex &parent, int start, int end);
virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight);
private slots:
virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight);
private slots:
- void sendText(QString text);
+ void setCustomFont(const QVariant &font);
+ void sendText(const QString &text) const;
void changeNick(const QString &newNick) const;
void changeNick(const QString &newNick) const;
- void setNetwork(const Network *network);
- void setIdentity(const IdentityId &identityId);
+ void setNetwork(NetworkId networkId);
+ void setIdentity(IdentityId identityId);
+ void connectMyIrcUser();
void updateNickSelector() const;
void updateNickSelector() const;
+ void updateEnabledState();
BufferInfo currentBufferInfo() const;
BufferInfo currentBufferInfo() const;
-signals:
- void userInput(BufferInfo, QString msg) const;
-
private:
Ui::InputWidget ui;
private:
Ui::InputWidget ui;
-
+
NetworkId _networkId;
IdentityId _identityId;
NetworkId _networkId;
IdentityId _identityId;
-
};
};