⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 session.h

📁 Trolltech公司发布的图形界面操作系统。可在qt-embedded-2.3.7平台上编译为嵌入式图形界面操作系统。
💻 H
字号:
/* -------------------------------------------------------------------------- *//*                                                                            *//* [session.h]              Testbed for TE framework                          *//*                                                                            *//* -------------------------------------------------------------------------- *//*                                                                            *//* Copyright (c) 1997,1998 by Lars Doelle <lars.doelle@on-line.de>            *//*                                                                            *//* This file is part of Konsole, an X terminal.                               *//*                                                                            *//* -------------------------------------------------------------------------- *//*									      *//* Ported Konsole to Qt/Embedded                                              *//*									      *//* Copyright (C) 2000 by John Ryland <jryland@trolltech.com>                  *//*									      *//* -------------------------------------------------------------------------- */#ifndef SESSION_H#define SESSION_H#include <qapplication.h>#include <qmainwindow.h>#include <qstrlist.h>#include "MyPty.h"#include "TEWidget.h"#include "TEmuVt102.h"class TESession : public QObject{ Q_OBJECTpublic:  TESession(QMainWindow* main, TEWidget* w,            const char* pgm, QStrList & _args,	    const char* term);  ~TESession();public:  void        setConnect(bool r);  TEmulation* getEmulation();      // to control emulation  bool        isSecure();public:  int schemaNo();  int fontNo();  const char* emuName();  const QString& Title();  bool history();  int keymap();  void setHistory(bool on);  void setSchemaNo(int sn);  void setKeymapNo(int kn);  void setFontNo(int fn);  void setTitle(const QString& title);  void kill(int signal);public slots:  void run();  void done(int status);  void terminate();signals:  void done(TESession*, int);private:  // TEPty*         sh;  MyPty*         sh;  TEWidget*      te;  TEmulation*    em;  //FIXME: using the indices here  // is propably very bad. We should  // use a persistent reference instead.  int            schema_no;  int            font_no;  int            keymap_no;  QString        title;  const char*    pgm;  QStrList       args;  QCString       term;};#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -