msgscreen.h

来自「symbina上可以使用一个xml解析器,对开发网络应用很有好处」· C头文件 代码 · 共 40 行

H
40
字号
/* Demo program for iksemel external sockets.** Copyright (C) 2004-2005 Darrell Karbott (djk2005@users.sf.net)** This code is free software; you can redistribute it and/or** modify it under the terms of the GNU Public Licence (GPL) version 2** See http://www.gnu.org/ for further details of the GPL.*/#ifndef __msgscreen_h__#define __msgscreen_h__#include <qwidget.h>#include <qlineedit.h>#include <qtextedit.h>class MsgScreen : public QWidget {  Q_OBJECT; public:  MsgScreen(QWidget* parent = 0);  void display(const char*);  void setToJid(const char*); signals:   void sendMsg(const QString& to, const QString& msg);   void connect_();       void disconnect();     private slots:   void onSend();   void onConnect();   void onDisconnect();private:  QLineEdit* txtToJid_;  QLineEdit* txtMsg_;  QTextEdit* txtDisplay_;};#endif

⌨️ 快捷键说明

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