#include </home/clem/local/src/opie/core/apps/embeddedkonsole/konsole.h>
Collaboration diagram for Konsole:

Public Slots | |
| void | changeFontSize (int) |
| void | toggleFullScreen () |
| void | setFullScreen (bool) |
| void | changeSession (int) |
| void | cycleZoom () |
| void | newSession () |
Public Member Functions | |
| Konsole (QWidget *parent=0, const char *name=0, WFlags fl=0) | |
| Konsole (const char *name, const char *pgm, QStrList &_args, int histon) | |
| ~Konsole () | |
| void | setColLin (int columns, int lines) |
| void | show () |
| void | setColor (int) |
Static Public Member Functions | |
| static QString | appName () |
Public Attributes | |
| QToolBar * | secondToolBar |
| int | lastSelectedMenu |
| int | startUp |
Private Slots | |
| void | setDocument (const QString &) |
| void | doneSession (TEWidget *, int) |
| void | changeTitle (TEWidget *, const QString &) |
| void | changeColumns (int) |
| void | setFont (int) |
| void | configMenuSelected (int) |
| void | colorMenuSelected (int) |
| ------------------------------- some new stuff by L.J. Potter | |
| void | colorMenuIsSelected (int) |
| void | tabMenuSelected (int) |
| void | sessionListSelected (int) |
| void | enterCommand (int) |
| void | hitEnter () |
| void | hitSpace () |
| void | hitTab () |
| void | hitPaste () |
| void | hitUp () |
| void | hitDown () |
| void | switchSession (QWidget *) |
| void | changeCommand (const QString &, int) |
| void | initCommandList () |
| void | scrollMenuSelected (int) |
| void | editCommandListMenuSelected (int) |
| void | parseCommandLine () |
| void | changeForegroundColor (const QColor &) |
| void | changeBackgroundColor (const QColor &) |
| void | historyDialog () |
| void | fullscreenTimeout () |
| void | closeSession () |
Private Member Functions | |
| void | doWrap () |
| void | init (const char *_pgm, QStrList &_args) |
| void | initSession (const char *_pgm, QStrList &_args) |
| void | runSession (TESession *s) |
| void | setColorPixmaps () |
| void | setHistory (bool) |
| void | setColors (QColor foreground, QColor background) |
| int | findFont (const QString &name, int size, bool exact=false) |
| QSize | calcSize (int columns, int lines) |
| TEWidget * | getTe () |
Private Attributes | |
| QStringList | commands |
| QLabel * | msgLabel |
| QColor | foreground |
| QColor | background |
| bool | fromMenu |
| bool | fullscreen |
| EKNumTabWidget * | tab |
| int | tabPos |
| int | nsessions |
| QList< VTFont > | fonts |
| int | cfont |
| QCString | se_pgm |
| QStrList | se_args |
| QToolBar * | menuToolBar |
| QToolBar * | toolBar |
| QComboBox * | commonCombo |
| QPopupMenu * | fontList |
| QPopupMenu * | configMenu |
| QPopupMenu * | colorMenu |
| QPopupMenu * | scrollMenu |
| QPopupMenu * | editCommandListMenu |
| QPopupMenu * | sessionList |
| QPopupMenu * | tabMenu |
| int | sm_none |
| int | sm_left |
| int | sm_right |
| int | cm_beep |
| int | cm_wrap |
| int | cm_default |
| int | cm_bw |
| int | cm_wb |
| int | cm_gb |
| int | cm_bt |
| int | cm_br |
| int | cm_rb |
| int | cm_gy |
| int | cm_bm |
| int | cm_mb |
| int | cm_cw |
| int | cm_wc |
| int | cm_bb |
| int | cm_ab |
| int | tm_top |
| int | tm_bottom |
| int | tm_hidden |
| int | ec_edit |
| int | ec_cmdlist |
| int | ec_quick |
| bool | show_fullscreen_msg |
| QTimer * | fullscreen_timer |
| QLabel * | fullscreen_msg |
| bool | b_scroll |
| int | n_keytab |
| int | n_scroll |
| int | n_render |
| QString | pmPath |
| QString | dropText |
| QFont | defaultFont |
| QSize | defaultSize |
Classes | |
| class | VTFont |
|
||||||||||||||||
|
Definition at line 243 of file konsole.cpp. References init(), konsoleInit(), and shell. |
|
||||||||||||||||||||
|
Definition at line 252 of file konsole.cpp. References init(). |
|
|
Definition at line 771 of file konsole.cpp. References doneSession(), getTe(), and nsessions. |
|
|
Definition at line 50 of file konsole.h. References QString::fromLatin1(). |
|
||||||||||||
|
This function calculates the size of the external widget needed for the internal widget to be Definition at line 1046 of file konsole.cpp. References TEWidget::calcSize(), getTe(), and size. Referenced by setColLin(). |
|
|
Definition at line 1891 of file konsole.cpp. References background, g, odebug, oendl, Config::setGroup(), Config::write(), and Config::writeEntry(). Referenced by changeForegroundColor(). |
|
|
Definition at line 1114 of file konsole.cpp. |
|
||||||||||||
|
Definition at line 1670 of file konsole.cpp. References commonCmds, commonCombo, QString::number(), Config::setGroup(), and Config::writeEntry(). Referenced by enterCommand(). |
|
|
Definition at line 835 of file konsole.cpp. References fonts, getTe(), TEWidget::getVTFont(), i, printf, setFont(), and size. Referenced by cycleZoom(), and newSession(). |
|
|
Definition at line 1869 of file konsole.cpp. References Qt::black, changeBackgroundColor(), foreground, g, odebug, oendl, Config::setGroup(), Config::write(), and Config::writeEntry(). Referenced by colorMenuSelected(). |
|
|
Definition at line 1262 of file konsole.cpp. References EKNumTabWidget::getTabBar(), QString::latin1(), QString::number(), printf, and tab. Referenced by newSession(). |
|
||||||||||||
|
Definition at line 1164 of file konsole.cpp. Referenced by newSession(). |
|
|
Definition at line 1922 of file konsole.cpp. References doneSession(), and getTe(). Referenced by init(). |
|
|
Definition at line 1401 of file konsole.cpp. References colorMenuSelected(), fromMenu, and TRUE. Referenced by init(). |
|
|
------------------------------- some new stuff by L.J. Potter
Definition at line 1410 of file konsole.cpp. References background, Qt::black, changeForegroundColor(), cm_ab, cm_bb, cm_bm, cm_br, cm_bw, cm_cw, cm_default, cm_gb, cm_gy, cm_mb, cm_rb, cm_wb, cm_wc, ColorEntry::color, colorMenu, FALSE, foreground, fromMenu, TEWidget::getdefaultColorTable(), EKNumTabWidget::getTabBar(), getTe(), lastSelectedMenu, QString::number(), odebug, oendl, printf, Config::readEntry(), setColors(), TEWidget::setColorTable(), Config::setGroup(), tab, TABLE_COLORS, ColorEntry::transparent, TRUE, and Config::writeEntry(). Referenced by colorMenuIsSelected(). |
|
|
Definition at line 1632 of file konsole.cpp. References cm_beep, cm_wrap, configMenu, doWrap(), getTe(), Config::readBoolEntry(), Config::readNumEntry(), Config::setGroup(), TEWidget::setScrollbarLocation(), TEWidget::useBeep, Config::write(), and Config::writeEntry(). Referenced by init(). |
|
|
Definition at line 815 of file konsole.cpp. References changeFontSize(), getTe(), TEWidget::getVTFont(), and size. Referenced by init(). |
|
||||||||||||
|
Definition at line 1128 of file konsole.cpp. References TEWidget::currentSession, FALSE, nsessions, EKNumTabWidget::removeTab(), sessionList, TESession::setConnect(), and tab. Referenced by closeSession(), newSession(), setDocument(), and ~Konsole(). |
|
|
Definition at line 1905 of file konsole.cpp. References cm_wrap, configMenu, FALSE, getTe(), Config::readBoolEntry(), Config::setGroup(), TEWidget::setWrapAt(), and TRUE. Referenced by configMenuSelected(), and newSession(). |
|
|
Definition at line 1746 of file konsole.cpp. References commonCombo, configMenu, ec_cmdlist, ec_edit, ec_quick, FALSE, getTe(), initCommandList(), Config::readEntry(), secondToolBar, Config::setGroup(), tr, TRUE, and Config::writeEntry(). Referenced by init(). |
|
|
Definition at line 969 of file konsole.cpp. References changeCommand(), commonCombo, TEWidget::emitText(), getTe(), and text. Referenced by init(). |
|
||||||||||||||||
|
Definition at line 884 of file konsole.cpp. Referenced by newSession(). |
|
|
Definition at line 1396 of file konsole.cpp. References fullscreen_msg. Referenced by init(). |
|
|
Definition at line 1223 of file konsole.cpp. References nsessions, and tab. Referenced by calcSize(), changeFontSize(), changeTitle(), closeSession(), colorMenuSelected(), configMenuSelected(), cycleZoom(), doWrap(), editCommandListMenuSelected(), enterCommand(), historyDialog(), hitDown(), hitEnter(), hitPaste(), hitSpace(), hitTab(), hitUp(), scrollMenuSelected(), setColors(), setDocument(), setFont(), and ~Konsole(). |
|
|
Definition at line 780 of file konsole.cpp. References d, getTe(), l, NULL, Config::readNumEntry(), Config::setGroup(), tr, and Config::writeEntry(). Referenced by init(). |
|
|
Definition at line 1032 of file konsole.cpp. References getTe(), Qt::Key_Down, and KeyPress. Referenced by init(). |
|
|
Definition at line 986 of file konsole.cpp. References TEWidget::emitText(), and getTe(). Referenced by init(). |
|
|
Definition at line 1013 of file konsole.cpp. References getTe(), and TEWidget::pasteClipboard(). Referenced by init(). |
|
|
Definition at line 995 of file konsole.cpp. References TEWidget::emitText(), and getTe(). Referenced by init(). |
|
|
Definition at line 1004 of file konsole.cpp. References TEWidget::emitText(), and getTe(). Referenced by init(). |
|
|
Definition at line 1022 of file konsole.cpp. References getTe(), Qt::Key_Up, and KeyPress. Referenced by init(). |
|
||||||||||||
|
|
Definition at line 283 of file konsole.cpp. References QFile::atEnd(), QFile::close(), commonCmds, commonCombo, i, IO_ReadOnly, items, NULL, QString::number(), QFile::open(), Config::readEntry(), QFile::readLine(), and Config::setGroup(). Referenced by editCommandListMenuSelected(), and init(). |
|
||||||||||||
|
Definition at line 766 of file konsole.cpp. |
|
|
Definition at line 1173 of file konsole.cpp. References EKNumTabWidget::addTab(), b_scroll, cfont, changeFontSize(), changeSession(), changeTitle(), doneSession(), doWrap(), findFont(), fonts, QString::latin1(), nsessions, QString::number(), printf, Config::readBoolEntry(), Config::readEntry(), Config::readNumEntry(), TESession::run(), se_args, se_pgm, sessionList, sessionListSelected(), setColor(), TESession::setConnect(), setFullScreen(), Config::setGroup(), TESession::setHistory(), TEWidget::setVTFont(), tab, toggleFullScreen(), TRUE, and TEWidget::useBeep. Referenced by init(), setDocument(), and show(). |
|
|
Definition at line 1848 of file konsole.cpp. References QString::latin1(), qApp, startUp, and QString::stripWhiteSpace(). Referenced by init(). |
|
|
|
|
|
Definition at line 1703 of file konsole.cpp. References getTe(), scrollMenu, Config::setGroup(), TEWidget::setScrollbarLocation(), sm_left, sm_none, sm_right, and Config::writeEntry(). Referenced by init(). |
|
|
Definition at line 1235 of file konsole.cpp. References EKNumTabWidget::getTabBar(), sessionList, and tab. Referenced by init(), and newSession(). |
|
||||||||||||
|
sets application window to a size based on columns X lines of the te guest widget. Call with (0,0) for setting default size. Definition at line 1066 of file konsole.cpp. References calcSize(), defaultSize, odebug, and oendl. |
|
|
Definition at line 1682 of file konsole.cpp. References background, foreground, QString::number(), Config::readNumEntry(), setColors(), and Config::setGroup(). Referenced by newSession(). |
|
|
|
|
||||||||||||
|
Definition at line 1575 of file konsole.cpp. References ColorEntry::color, TEWidget::getdefaultColorTable(), getTe(), TEWidget::setColorTable(), TABLE_COLORS, and ColorEntry::transparent. Referenced by colorMenuSelected(), and setColor(). |
|
|
Definition at line 1818 of file konsole.cpp. References doneSession(), TEWidget::emitText(), QString::find(), getTe(), QString::latin1(), QString::length(), newSession(), nsessions, QString::right(), startUp, and TRUE. |
|
|
Definition at line 908 of file konsole.cpp. References cfont, fontList, fonts, getTe(), i, QString::number(), printf, Config::setGroup(), TEWidget::setVTFont(), size, tab, and Config::writeEntry(). Referenced by changeFontSize(), and init(). |
|
|
Definition at line 1329 of file konsole.cpp. References fullscreen, fullscreen_msg, fullscreen_timer, EKNumTabWidget::getTabBar(), menuToolBar, qApp, secondToolBar, show_fullscreen_msg, showMaximized, size, tab, tabPos, tm_hidden, and toolBar. Referenced by newSession(), and toggleFullScreen(). |
|
|
|
|
|
Definition at line 756 of file konsole.cpp. References newSession(), and nsessions. |
|
|
Definition at line 1291 of file konsole.cpp. References cfont, TEWidget::currentSession, fontList, fonts, Konsole::VTFont::getFamilyNum(), Konsole::VTFont::getFont(), TEWidget::getVTFont(), TESession::Title(), and tr. Referenced by init(). |
|
|
Definition at line 1599 of file konsole.cpp. References EKNumTabWidget::getTabBar(), printf, Config::setGroup(), tab, tabMenu, tabPos, tm_bottom, tm_hidden, tm_top, Top(), and Config::writeEntry(). Referenced by init(). |
|
|
Definition at line 1324 of file konsole.cpp. References fullscreen, and setFullScreen(). Referenced by init(), and newSession(). |
|
|
Definition at line 194 of file konsole.h. Referenced by init(), and newSession(). |
|
|
Definition at line 119 of file konsole.h. Referenced by changeBackgroundColor(), colorMenuSelected(), and setColor(). |
|
|
Definition at line 170 of file konsole.h. Referenced by init(), newSession(), setFont(), and switchSession(). |
|
|
Definition at line 184 of file konsole.h. Referenced by colorMenuSelected(), and init(). |
|
|
Definition at line 184 of file konsole.h. Referenced by colorMenuSelected(), and init(). |
|
|
Definition at line 182 of file konsole.h. Referenced by configMenuSelected(), and init(). |
|
|
Definition at line 184 of file konsole.h. Referenced by colorMenuSelected(), and init(). |
|
|
Definition at line 184 of file konsole.h. Referenced by colorMenuSelected(), and init(). |
|
|
|
|
|
Definition at line 184 of file konsole.h. Referenced by colorMenuSelected(), and init(). |
|
|
Definition at line 184 of file konsole.h. Referenced by colorMenuSelected(), and init(). |
|
|
Definition at line 183 of file konsole.h. Referenced by colorMenuSelected(), and init(). |
|
|
Definition at line 184 of file konsole.h. Referenced by colorMenuSelected(), and init(). |
|
|
Definition at line 184 of file konsole.h. Referenced by colorMenuSelected(), and init(). |
|
|
Definition at line 184 of file konsole.h. Referenced by colorMenuSelected(), and init(). |
|
|
Definition at line 184 of file konsole.h. Referenced by colorMenuSelected(), and init(). |
|
|
Definition at line 184 of file konsole.h. Referenced by colorMenuSelected(), and init(). |
|
|
Definition at line 184 of file konsole.h. Referenced by colorMenuSelected(), and init(). |
|
|
Definition at line 182 of file konsole.h. Referenced by configMenuSelected(), doWrap(), and init(). |
|
|
Definition at line 178 of file konsole.h. Referenced by colorMenuSelected(), and init(). |
|
|
|
|
|
Definition at line 176 of file konsole.h. Referenced by changeCommand(), editCommandListMenuSelected(), enterCommand(), init(), and initCommandList(). |
|
|
Definition at line 178 of file konsole.h. Referenced by configMenuSelected(), doWrap(), editCommandListMenuSelected(), and init(). |
|
|
|
|
|
Definition at line 202 of file konsole.h. Referenced by init(), and setColLin(). |
|
|
|
|
|
Definition at line 186 of file konsole.h. Referenced by editCommandListMenuSelected(), and init(). |
|
|
Definition at line 186 of file konsole.h. Referenced by editCommandListMenuSelected(), and init(). |
|
|
Definition at line 186 of file konsole.h. Referenced by editCommandListMenuSelected(), and init(). |
|
|
Definition at line 178 of file konsole.h. Referenced by init(). |
|
|
Definition at line 178 of file konsole.h. Referenced by init(), setFont(), and switchSession(). |
|
|
Definition at line 169 of file konsole.h. Referenced by changeFontSize(), findFont(), init(), newSession(), setFont(), and switchSession(). |
|
|
Definition at line 119 of file konsole.h. Referenced by changeForegroundColor(), colorMenuSelected(), and setColor(). |
|
|
Definition at line 120 of file konsole.h. Referenced by colorMenuIsSelected(), colorMenuSelected(), and init(). |
|
|
Definition at line 122 of file konsole.h. Referenced by init(), setFullScreen(), and toggleFullScreen(). |
|
|
Definition at line 190 of file konsole.h. Referenced by fullscreenTimeout(), init(), and setFullScreen(). |
|
|
Definition at line 189 of file konsole.h. Referenced by init(), and setFullScreen(). |
|
|
Definition at line 62 of file konsole.h. Referenced by colorMenuSelected(). |
|
|
Definition at line 174 of file konsole.h. Referenced by init(), and setFullScreen(). |
|
|
|
|
|
Definition at line 196 of file konsole.h. Referenced by init(). |
|
|
Definition at line 198 of file konsole.h. Referenced by init(). |
|
|
|
|
|
Definition at line 168 of file konsole.h. Referenced by doneSession(), getTe(), init(), newSession(), setDocument(), show(), and ~Konsole(). |
|
|
|
|
|
Definition at line 178 of file konsole.h. Referenced by init(), and scrollMenuSelected(). |
|
|
Definition at line 172 of file konsole.h. Referenced by init(), and newSession(). |
|
|
Definition at line 171 of file konsole.h. Referenced by init(), and newSession(). |
|
|
Definition at line 59 of file konsole.h. Referenced by editCommandListMenuSelected(), init(), and setFullScreen(). |
|
|
Definition at line 179 of file konsole.h. Referenced by doneSession(), init(), newSession(), and sessionListSelected(). |
|
|
Definition at line 188 of file konsole.h. Referenced by init(), and setFullScreen(). |
|
|
Definition at line 181 of file konsole.h. Referenced by init(), and scrollMenuSelected(). |
|
|
Definition at line 181 of file konsole.h. Referenced by init(), and scrollMenuSelected(). |
|
|
Definition at line 181 of file konsole.h. Referenced by init(), and scrollMenuSelected(). |
|
|
Definition at line 63 of file konsole.h. Referenced by init(), parseCommandLine(), and setDocument(). |
|
|
Definition at line 166 of file konsole.h. Referenced by changeSession(), colorMenuSelected(), doneSession(), getTe(), init(), newSession(), sessionListSelected(), setFont(), setFullScreen(), and tabMenuSelected(). |
|
|
Definition at line 179 of file konsole.h. Referenced by init(), and tabMenuSelected(). |
|
|
Definition at line 167 of file konsole.h. Referenced by init(), setFullScreen(), and tabMenuSelected(). |
|
|
Definition at line 185 of file konsole.h. Referenced by init(), and tabMenuSelected(). |
|
|
Definition at line 185 of file konsole.h. Referenced by init(), setFullScreen(), and tabMenuSelected(). |
|
|
Definition at line 185 of file konsole.h. Referenced by init(), and tabMenuSelected(). |
|
|
Definition at line 175 of file konsole.h. Referenced by init(), and setFullScreen(). |
1.4.2