91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 19.43MB
    文件類型: .rar
    金幣: 1
    下載: 0 次
    發布日期: 2023-07-20
  • 語言: 其他
  • 標簽: QT3??安裝包??

資源簡介

附帶qt-embedded-free-3.3.8.tar.bz2安裝包,附帶安裝所需要的全部文件,附帶安裝說明

資源截圖

代碼片段和文件信息

/****************************************************************************
**?$Id:?qt/qmousetslib_qws.cpp???3.3.8???edited?Jan?11?14:37?$
**
**?Implementation?of?Qt/embedded?mouse?drivers
**
**?Created?:?20020220
**
**?Copyright?(C)?1992-2007?Trolltech?ASA.??All?rights?reserved.
**
**?This?file?is?part?of?the?kernel?module?of?the?Qt?GUI?Toolkit.
**
**?This?file?may?be?distributed?and/or?modified?under?the?terms?of?the
**?GNU?General?Public?License?version?2?as?published?by?the?Free?Software
**?Foundation?and?appearing?in?the?file?LICENSE.GPL?included?in?the
**?packaging?of?this?file.
**
**?Licensees?holding?valid?Qt?Enterprise?Edition?or?Qt?Professional?Edition
**?licenses?for?Qt/embedded?may?use?this?file?in?accordance?with?the
**?Qt?embedded?Commercial?License?Agreement?provided?with?the?Software.
**
**?This?file?is?provided?AS?IS?with?NO?WARRANTY?OF?ANY?KIND?INCLUDING?THE
**?WARRANTY?OF?DESIGN?MERCHANTABILITY?AND?FITNESS?FOR?A?PARTICULAR?PURPOSE.
**
**?See?http://www.trolltech.com/pricing.html?or?email?sales@trolltech.com?for
**???information?about?Qt?Commercial?License?Agreements.
**?See?http://www.trolltech.com/gpl/?for?GPL?licensing?information.
**
**?Contact?info@trolltech.com?if?any?conditions?of?this?licensing?are
**?not?clear?to?you.
**
**********************************************************************/

#include?“qmousetslib_qws.h“

#ifndef?QT_NO_QWS_TSLIB
#include?“qwindowsystem_qws.h“
#include?“qsocketnotifier.h“
#include?“qtimer.h“
#include?“qapplication.h“
#include?“qgfx_qws.h“

#include?
#include?
#include?
#include?
#include?
#include?
#include?
#include?
#include?

#include?

typedef?struct?{
???????long?y;
???????long?x;
???????long?pressure;
???????long?long?millisecs;
}?TS_EVENT;
#define?QT_QWS_TP_SAMPLE_SIZE?5
#define?QT_QWS_TP_MINIMUM_SAMPLES?5
#define?QT_QWS_TP_PRESSURE_THRESHOLD?1
#define?QT_QWS_TP_MOVE_LIMIT?100
#define?QT_QWS_TP_JITTER_LIMIT?2


class?QWSTslibHandlerPrivate?:?public?Qobject
{
????Q_object
public:
????QWSTslibHandlerPrivate(?QWSTslibHandler?*h?);
????~QWSTslibHandlerPrivate();

private:
????bool?m_raw?:?1;
????QSocketNotifier?*m_notify;
????static?int?sortByX(?const?void*?const?void*?);
????static?int?sortByY(?const?void*?const?void*?);?
????struct?tsdev?*m_ts;
????void?interpolateSample();
????QWSTslibHandler?*handler;

private?slots:
????void?readMouseData();
};

QWSTslibHandler::QWSTslibHandler(?const?QString?&?const?QString?&?)
{
????d?=?new?QWSTslibHandlerPrivate(?this?);
}

QWSTslibHandler::~QWSTslibHandler()
{
????delete?d;
}

QWSTslibHandlerPrivate::QWSTslibHandlerPrivate(?QWSTslibHandler?*h?)
:?handler(h)
{
????char?*tsdevice;
????if((tsdevice?=?getenv(“TSLIB_TSDEVICE“))?!=?NULL)?{
????????m_ts?=?ts_open(?tsdevice?0?);?//1?=?nonblocking?0?=?blocking?mode
qWarning(?“tslib:open“);
????}?else?{
????????m_ts?=?ts_open(?“/dev/ts“?1?);
????}

????//m_raw?=?1?;?//oyxin
?
????if?(!m_t

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????6463??2008-10-22?00:55??qt?install\qmousetslib_qws.cpp

?????文件???????1745??2008-10-22?00:55??qt?install\qmousetslib_qws.h

?????文件???19897760??2008-10-22?00:52??qt?install\qt-embedded-free-3.3.8.tar.bz2

?????文件???????1792??2010-07-11?20:43??qt?install\smath.txt

?????文件????????234??2010-07-05?20:46??qt?install\Text?file.txt

?????文件?????487041??2008-10-22?00:52??qt?install\tslib.tar.gz

?????目錄??????????0??2010-07-21?21:13??qt?install

-----------?---------??----------?-----??----

?????????????20395035????????????????????7


評論

共有 條評論