summaryrefslogtreecommitdiff
path: root/noncore/net/opieirc/ircquerytab.cpp
authorfliplap <fliplap>2003-07-22 05:36:18 (UTC)
committer fliplap <fliplap>2003-07-22 05:36:18 (UTC)
commitd672a787dd122410063ac6cb721be8b5f8cd418e (patch) (side-by-side diff)
treed29b21fc979c41a48b2d201c9b37647e729c521c /noncore/net/opieirc/ircquerytab.cpp
parent2fdb15d45c336bbe1540bd9de6b5bfaea13df163 (diff)
downloadopie-d672a787dd122410063ac6cb721be8b5f8cd418e.zip
opie-d672a787dd122410063ac6cb721be8b5f8cd418e.tar.gz
opie-d672a787dd122410063ac6cb721be8b5f8cd418e.tar.bz2
fixed scroll issue, added many commands
Diffstat (limited to 'noncore/net/opieirc/ircquerytab.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opieirc/ircquerytab.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/noncore/net/opieirc/ircquerytab.cpp b/noncore/net/opieirc/ircquerytab.cpp
index 21a53dc..a113b04 100644
--- a/noncore/net/opieirc/ircquerytab.cpp
+++ b/noncore/net/opieirc/ircquerytab.cpp
@@ -22,9 +22,15 @@ IRCQueryTab::IRCQueryTab(IRCPerson *person, IRCServerTab *parentTab, MainWindow
m_layout->add(m_field);
m_field->setFocus();
connect(m_field, SIGNAL(returnPressed()), this, SLOT(processCommand()));
+ connect(m_mainWindow, SIGNAL(updateScroll()), this, SLOT(scrolling()));
settingsChanged();
}
+void IRCQueryTab::scrolling(){
+ m_textview->ensureVisible(0, m_textview->contentsHeight());
+}
+
+
void IRCQueryTab::appendText(QString text) {
/* not using append because it creates layout problems */
QString txt = m_textview->text() + text + "\n";