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

📄 tclnotify.h

📁 qconsole2 qt寫的一個console元件
💻 H
字号:
/*  * Copyright (c) 2005 by Ulrich Ring * * This is a clone of the file unix/tclNotify.c from the * Tcl distribution. * * It contained the notifier driver implementation for the * Xt intrinsics. * * Copyright (c) 1997 by Sun Microsystems, Inc. * * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * * RCS: @(#) $Id: tclnotify.cpp,v 1.25 2004/03/08 08:33:40 ur Exp $ */#ifndef tclnotify_h_#define tclnotify_h_// NOTE: This file is input to Qt's moc.#include <tcl.h>extern "C" int TclInExit(void);#include <qobject.h>class QSocketNotifier;class TclTimeNotifier : public QObject{	Q_OBJECT		public:		TclTimeNotifier();		~TclTimeNotifier();	public slots:		void gong();};class TclFileHandler : public QObject{	Q_OBJECT		public:		TclFileHandler( int f );		~TclFileHandler();		int fd;		int mask;				 /* Mask of desired events: TCL_READABLE, etc. */		int readyMask;		/* Events that have been seen since the		 * last time FileHandlerEventProc was called	 	 * for this file. */		QSocketNotifier *read;		QSocketNotifier *write;		QSocketNotifier *except;		Tcl_FileProc *proc;		/* Procedure to call, in the style of		 * CreateFileHandler. */		ClientData clientData;	 /* Argument to pass to proc. */		TclFileHandler *nextPtr; /* Next in list of all files we care about. */	public slots:		void fileactive( int );};#endif

⌨️ 快捷键说明

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