亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? abtable_p.h

?? Trolltech公司發布的圖形界面操作系統。可在qt-embedded-2.3.10平臺上編譯為嵌入式圖形界面操作系統。
?? H
字號:
/************************************************************************ Copyright (C) 2000-2005 Trolltech AS.  All rights reserved.**** This file is part of the Qtopia Environment.** ** This program is free software; you can redistribute it and/or modify it** under the terms of the GNU General Public License as published by the** Free Software Foundation; either version 2 of the License, or (at your** option) any later version.** ** A copy of the GNU GPL license version 2 is included in this package as ** LICENSE.GPL.**** This program is distributed in the hope that it will be useful, but** WITHOUT ANY WARRANTY; without even the implied warranty of** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ** See the GNU General Public License for more details.**** In addition, as a special exception Trolltech gives permission to link** the code of this program with Qtopia applications copyrighted, developed** and distributed by Trolltech under the terms of the Qtopia Personal Use** License Agreement. You must comply with the GNU General Public License** in all respects for all of the code used other than the applications** licensed under the Qtopia Personal Use License Agreement. If you modify** this file, you may extend this exception to your version of the file,** but you are not obligated to do so. If you do not wish to do so, delete** this exception statement from your version.** ** 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.************************************************************************/#ifndef ABTABLE_H#define ABTABLE_H//AbTable should _not_ be public with contactxmlio_p.h included here#include <qtopia/pim/private/contactxmlio_p.h>#include <qtopia/categories.h>#include <qtopia/pim/contact.h>#include <qtopia/qpeglobal.h>#include <qdialog.h>#include <qmap.h>#include <qpixmap.h>#include <qtable.h>#include <qstringlist.h>#include <qcombobox.h>#include <qtopia/pim/qtopiapimwinexport.h>#ifdef QTOPIA_PHONE#include <qtopia/phone/phone.h>#include <qtopia/phone/phonebook.h>#endif#ifndef QTOPIA_DESKTOP#define PACK_IN_1_COLUMN#endifclass ContactXmlIO;class QTOPIAPIM_EXPORT AbTable : public QTable{    Q_OBJECTpublic:    static const int FREQ_CONTACT_FIELD;    AbTable(ContactXmlIO *,  QWidget *parent, const char *name=0, const char *appPath=0 );    ~AbTable();    bool hasCurrentEntry() const;    PimContact currentEntry() const;#ifdef QTOPIA_PHONE    void setCurrentSimEntry( const QString &fa );    QString currentSimEntry() const;#endif    void setCurrentEntry(const QUuid &u);    /* simply disabled for now although this might be useful    // sets the prefered field    void setPreferredField( int key );    */    enum SelectionMode {	NoSelection,	Single,	Extended    };        void setSelectionMode(SelectionMode m);    SelectionMode selectionMode() const { return mSel; }        QValueList<PimContact> selected() const;    QValueList<PimContact> all() const;    QValueList<QUuid> selectedContacts() const;    void selectAll();    void setFields(QValueList<int> f);    QValueList<int> fields();    void setCurrentCell(int, int);    void setKeyChars(const QString&);#ifdef QTOPIA_PHONE    QMap<QString,PimContact *> existingContactSimData() const;    void setSimContacts( const QList<PimContact> &simContacts );#endifpublic slots:    void reload();    void fitToSize();signals:    void currentChanged();    void clicked();    void doubleClicked();protected:    void drawContents( QPainter *p, int cx, int cy, int cw, int ch );    void setFields(QValueList<int> f, QStringList);    QValueList<int> defaultFields();#ifndef PACK_IN_1_COLUMN    int defaultFieldSize(PimContact::ContactFields f);    int minimumFieldSize(PimContact::ContactFields);#endif    void calcFieldSizes(int oldSize, int size);        virtual void keyPressEvent( QKeyEvent *e );    void contentsMousePressEvent( QMouseEvent *e );    void contentsMouseReleaseEvent( QMouseEvent *e );    void resizeEvent( QResizeEvent *e );    void showEvent( QShowEvent *e);    void fontChange(const QFont &);    int rowHeight( int ) const;    int rowPos( int row ) const;    virtual int rowAt( int pos ) const;#ifdef PACK_IN_1_COLUMN    void paletteChange( const QPalette & );#endifprotected slots:    void moveTo( const QString & );    virtual void columnClicked( int col );    void itemClicked(int,int col);    void slotDoubleClicked(int, int, int, const QPoint &);    void rowHeightChanged( int row );    void slotCurrentChanged(int row, int col );    void readSettings();private:    void refresh();        void setSelection(int fromRow, int toRow);    PimContact pimForUid(const QUuid &) const;    void saveSettings();        QString findContactName( const PimContact &entry );    QString findContactContact( const PimContact &entry );    QString getField( const PimContact &entry, int );    QString fieldText(const PimContact& c, int key);    // paint related functions    void show();    void setPaintingEnabled( bool e );    void paintFocus( QPainter *, const QRect & ) {}    void paintCell ( QPainter * p, int row, int col,	    const QRect & cr, bool selected );    void resizeData(int) { }    QTableItem * item(int, int) const { return 0; }    void setItem(int,int,QTableItem*) { }    void clearCell(int,int) { }    QWidget *createEditor(int,int,bool) const { return 0;}#ifdef QTOPIA_PHONE    QList<PimContact> mSimContacts;    QMap<QString,PimContact *> mExistingContactSimData;    QString mCurSimEntry;#endif    ContactXmlIO *contacts;    SortedContacts mSortedContacts;    SortedContacts mAllContacts;    QStringList choicenames;    bool enablePainting;    int showCat;    int prefField;    int rowH;#ifdef PACK_IN_1_COLUMN    QFont fnt[3];    static QFont differentFont(const QFont& start, int step);    QBrush stripebrush;    QPen dimpen;    QPixmap generic;    QPixmap sim;#endif    QValueList<int> headerKeyFields;        SelectionMode mSel;    QValueList<QUuid> mSelected;    int mSortColumn;    bool mAscending;private:    QString keychars;};//------------------------------------------------------------------------------class QTOPIAPIM_EXPORT ContactSelector : public QDialog{    Q_OBJECTpublic:    ContactSelector( bool allowNew, ContactXmlIO *contacts, QWidget *parent = 0, 			const char *name = 0, bool modal = TRUE, WFlags fl = 0 );    QValueList<PimContact> selected() const;    QSize sizeHint() const;    AbTable *table;    enum SelectTypes     {	NoSelection,	SelectedContacts,	SelectedNew    };    SelectTypes selectedType() const;protected:    void setSelectedType( SelectTypes t );protected slots:    void accept();    void newSelected();    void contactSelected();private:    SelectTypes mSelectedType;};//------------------------------------------------------------------------------class QLabel;class QListView;class QTOPIAPIM_EXPORT PhoneTypeSelector : public QDialog{    Q_OBJECTpublic:    PhoneTypeSelector( const PimContact &cnt, const QString &number,	QWidget *parent, const char *name = 0, bool modal = TRUE, WFlags fl = 0 );    int selected() const;protected slots:    void accept();signals:    void selected(PimContact::ContactFields);private:    QString verboseIfEmpty( const QString &number );    QLabel *mLabel;    QListView *mPhoneType;    QMap<QListViewItem *, PimContact::ContactFields> mItemToPhoneType;    const PimContact mContact;};#ifdef QTOPIA_PHONEclass AddressBookAccess;#endifclass QTOPIAPIM_EXPORT AbUtil{    //utility functions for the addressbookpublic:    static const int ImageHeight;    static const int ImageWidth;    static int findPrefixInName( const QString &name, const QString &prefix );    //compare the data of two contacts. returns TRUE if they are equivalent, FALSE otherwise.    static bool compareContacts( const PimContact &cnt1, const PimContact &cnt2 );#ifdef QTOPIA_PHONE    //these make iterating through the phone fields easy    static const int phoneFields[];    static const int numPhoneFields;    //sim keys- used to access the pim contact sim fields (custom fields)    static const QString SIM_HP, SIM_HM, SIM_HF, SIM_BP, SIM_BM, SIM_BF, SIM_BPA;    static const QChar SIM_PARTIAL_INDICATOR;    static QString simKeyForPhoneType( int phoneType );    static int simTypeTextToPhoneType( const QString &typeText );    static QString simTypeTextForPhoneType( const int &phoneType );    static QString generateSimText( const QString &name, const int &phoneType );    static void parseSimText( QString &name, int &phoneType );    static uint numbersForSimCount( const PimContact &cnt );    /* returns true if cnt has numbers that need to be stored on the sim */    static bool hasNumbersForSim( const PimContact &cnt );    /* set the limits of the fields on the sim */    static void setSimFieldLimits( const QString &limits );    static int SIM_TEXT_LIMIT, SIM_NUMBER_LIMIT;    //converts a list of phonebookentries into contacts, performing integration    static QList<PimContact> phoneBookToContacts( const 					    QValueList<PhoneBookEntry>& list);    //syncs a contact with the phonebook entries on the sim    static void syncContactWithSim( PimContact &cnt, 		QValueList<PhoneBookEntry> &curSimList, PhoneBook *pb = 0 );    /* finds a contact given a phone number. puts the kind of phone number       that matches into the field pointer argument */    static PimContact findContactByNumber( const QString& number, int *field, 					    AddressBookAccess *access = 0 );    static int phoneKeyMatchN(const QString& haystack, int offset, const QString& needle, int n );    //merging of sim contacts into database contacts    static void unmergeSimContact( PimContact &cnt );    static void mergeSimContact( PimContact &cnt, const PimContact &simContact );#endif};#endif // ABTABLE_H

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲人亚洲人成电影网站色| 日韩美女久久久| 日本一区二区成人在线| 亚洲一区二区3| 精品在线观看视频| 欧美三级日韩三级| 最新国产成人在线观看| 国产伦精品一区二区三区在线观看| 日本韩国欧美在线| 亚洲国产精品成人综合色在线婷婷| 调教+趴+乳夹+国产+精品| 91在线视频18| 中文字幕的久久| 国产一区二三区好的| 国产精品盗摄一区二区三区| 青娱乐精品视频| 欧美日韩不卡视频| 亚洲日本在线天堂| av在线这里只有精品| 精品久久久久久久久久久久久久久久久| 亚洲人一二三区| av综合在线播放| 国产精品国产三级国产| 国产精品18久久久久久久久| 欧美大片免费久久精品三p| 三级久久三级久久久| 在线观看国产日韩| 一区二区三区久久| 欧美专区日韩专区| 亚洲黄色在线视频| 欧美丝袜丝交足nylons图片| 一区二区久久久久| 欧美午夜影院一区| 午夜激情一区二区三区| 3751色影院一区二区三区| 91久久人澡人人添人人爽欧美| 亚洲综合在线第一页| 成人av在线播放网站| 久久先锋影音av鲁色资源| 国产一区二区看久久| 国产香蕉久久精品综合网| 国产精品自拍网站| 国产亲近乱来精品视频 | 久久人人超碰精品| 精品一区二区三区久久| 久久嫩草精品久久久精品| 国产白丝精品91爽爽久久| 国产精品网站在线播放| 91一区二区在线| 污片在线观看一区二区| 日韩三级视频在线观看| 狠狠色狠狠色综合| 中文字幕制服丝袜一区二区三区 | 国产欧美日韩在线观看| 99re在线精品| 五月婷婷激情综合| 欧美精品一区二区三区高清aⅴ| 国产成人无遮挡在线视频| 亚洲日本一区二区三区| 欧美日韩国产成人在线免费| 韩国欧美国产1区| 亚洲日本丝袜连裤袜办公室| 91精品国产黑色紧身裤美女| 国产成人精品免费| 亚洲国产精品人人做人人爽| 日韩欧美高清在线| eeuss国产一区二区三区| 五月婷婷色综合| 久久精品男人的天堂| 欧美在线制服丝袜| 国产在线视频一区二区三区| 欧美视频在线观看一区| 欧美一级欧美三级在线观看| 国产一本一道久久香蕉| 亚洲天堂中文字幕| 精品国产百合女同互慰| 99久久久无码国产精品| 毛片av一区二区三区| 国产精品日产欧美久久久久| 69成人精品免费视频| 99国产精品久| 美女免费视频一区| 夜夜嗨av一区二区三区| 久久尤物电影视频在线观看| 欧美视频一区二| 粉嫩av一区二区三区在线播放 | 一本高清dvd不卡在线观看| 另类小说视频一区二区| 亚洲一区在线观看免费观看电影高清| 欧美videos中文字幕| 欧美日韩国产影片| av一区二区三区| 国产精品一区二区男女羞羞无遮挡| 亚洲一区二区五区| 中文字幕一区二区三区蜜月| 日韩女优电影在线观看| 欧美日韩精品三区| 色综合久久天天综合网| 国产**成人网毛片九色| 久久99在线观看| 亚洲v日本v欧美v久久精品| 国产精品久久久久久久第一福利| 久久久一区二区三区捆绑**| 日韩亚洲欧美在线| 91精品国产综合久久精品麻豆| 在线观看一区二区精品视频| 成人免费视频视频| 懂色一区二区三区免费观看| 国模一区二区三区白浆| 久久精品二区亚洲w码| 奇米777欧美一区二区| 日韩—二三区免费观看av| 午夜精品aaa| 午夜一区二区三区在线观看| 亚洲麻豆国产自偷在线| 亚洲黄色免费网站| 亚洲国产精品视频| 亚洲国产综合人成综合网站| 亚洲高清免费观看| 婷婷丁香激情综合| 毛片av一区二区三区| 久久99九九99精品| 国产美女在线观看一区| 国产精华液一区二区三区| 青青草原综合久久大伊人精品优势| 日韩综合一区二区| 精品一区二区三区视频在线观看| 精品一区二区久久| 成人一级片网址| 色婷婷综合久久久久中文一区二区 | 韩国精品一区二区| 国产一区二区三区视频在线播放| 国产一区二区在线免费观看| 懂色av一区二区三区免费观看| 99这里都是精品| 欧美性欧美巨大黑白大战| 91精品国产高清一区二区三区| 日韩精品一区二区三区视频在线观看| 久久综合狠狠综合久久综合88 | 日韩一级片网站| 国产日韩精品视频一区| 亚洲人被黑人高潮完整版| 午夜精品一区二区三区电影天堂| 精品一区二区三区在线观看| 成人综合婷婷国产精品久久免费| 91成人网在线| 精品国内片67194| 中文字幕在线观看不卡| 香蕉成人啪国产精品视频综合网| 久久电影国产免费久久电影 | 中文字幕中文字幕一区| 亚洲国产aⅴ成人精品无吗| 久久电影网站中文字幕| 99re这里只有精品视频首页| 欧美精品三级在线观看| 2021久久国产精品不只是精品| 国产精品乱码人人做人人爱 | 国产精品萝li| 免费观看91视频大全| 成人免费观看视频| 日韩一区二区三区四区| 国产精品国产三级国产| 日韩影院在线观看| 91网址在线看| 精品国内二区三区| 亚洲成人午夜电影| 不卡在线观看av| 亚洲精品一区二区三区香蕉 | 欧美日韩一区二区三区不卡| 中文字幕国产一区二区| 日本不卡一区二区三区高清视频| 99久久精品国产一区| 精品国产99国产精品| 久久国产日韩欧美精品| 蜜臀99久久精品久久久久久软件| 国产一区二三区好的| 欧美日韩另类国产亚洲欧美一级| 国产日韩欧美a| 久久99精品网久久| 欧美日韩精品欧美日韩精品一| 中文字幕一区二区三区在线观看 | 成人精品视频一区| 91精品国产综合久久久久久漫画 | 日本女优在线视频一区二区 | 中文字幕一区二区日韩精品绯色| 欧美一区二区播放| 亚洲精品视频在线| 成人av网站在线观看免费| 日韩精品中文字幕在线一区| 五月天一区二区三区| 91黄色免费观看| 亚洲久草在线视频| 99精品欧美一区| 国产精品黄色在线观看| 成人精品视频一区| 国产精品女上位| 成人久久久精品乱码一区二区三区 | 久久精品国产亚洲aⅴ| 日韩午夜在线观看视频| 日韩电影在线一区|