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

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

?? locationmodel.cpp

?? kscope
?? CPP
字號:
/*************************************************************************** *   Copyright (C) 2007-2009 by Elad Lahav *   elad_lahav@users.sourceforge.net * *   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. * *   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. * *   You should have received a copy of the GNU General Public License *   along with this program; if not, write to the *   Free Software Foundation, Inc., *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA. ***************************************************************************/#include "locationmodel.h"namespace KScope{namespace Core{/** * Class constructor. * @param  parent   Parent object */LocationModel::LocationModel(QObject* parent) : QAbstractItemModel(parent){}/** * Class destructor. */LocationModel::~LocationModel(){}/** * Sets a new common root path for display purposes. * @param  path  The new path to set */void LocationModel::setRootPath(const QString& path){	QString actPath = path;	if (path == "/")		actPath = QString();	else if (!path.endsWith("/"))		actPath += "/";	if (actPath != rootPath_) {		rootPath_ = actPath;		reset();	}}/** * Provides information for constructing a header when this model is displayed * in a view. * @param  section  Corresponds to the column number * @param  orient   Horizontal or vertical header * @param  role     How to interpret the information * @return For a horizontal header with a display role, returns the column *         title; An empty variant for all other type */QVariant LocationModel::headerData(int section, Qt::Orientation orient,                                   int role) const{	if (orient != Qt::Horizontal || role != Qt::DisplayRole)		return QVariant();	return columnText(colList_[section]);}/** * Returns the number of columns for the children of the given parent. * @param  parent  The parent index * @return The size of the column list for all the children of the root index */int LocationModel::columnCount(const QModelIndex& parent) const{	if (!parent.isValid())		return colList_.size();	return 0;}#ifndef QT_NO_DEBUG/** * Debugging facility. * Ensures the correctness of the model. * @param  parentIndex The root index to verify */void LocationModel::verify(const QModelIndex& parentIndex) const{	for (int i = 0; i < rowCount(parentIndex); i++) {		QModelIndex childIndex = index(i, 0, parentIndex);		Q_ASSERT(parent(childIndex) == parentIndex);		verify(childIndex);	}}#endif/** * Extracts data from a location object, for the given column index. * @param  loc  The location object * @param  col  The requested column * @return Matching location data, QVariant() if the column is invalid */QVariant LocationModel::locationData(const Location& loc, uint col,                                     int role) const{	switch (role) {	case Qt::DecorationRole:		if ((colList_[col] == Location::TagName)		    && (loc.tag_.type_ != Tag::UnknownTag)) {			return Tag::icon(loc.tag_.type_);		}		return QVariant();	case Qt::DisplayRole:		break;	default:		return QVariant();	}	switch (colList_[col]) {	case Location::File:		// File path.		// Replace root prefix with "$".		if (!rootPath_.isEmpty() && loc.file_.startsWith(rootPath_))			return QString("$/") + loc.file_.mid(rootPath_.length());		return loc.file_;	case Location::Line:		// Line number.		return loc.line_;	case Location::Column:		// Column number.		return loc.column_;	case Location::TagName:		// Tag name.		return loc.tag_.name_;	case Location::TagType:		// Tag type.		return Tag::name(loc.tag_.type_);	case Location::Scope:		// Scope.		return loc.tag_.scope_;	case Location::Text:		// Line text.		return loc.text_;	}	return QVariant();}/** * Creates a column header title for the given column. * @param  col  The column for which the title is requested * @return A string describing the column */QString LocationModel::columnText(Location::Fields col) const{	switch (col) {	case Location::File:		return tr("File");	case Location::Line:		return tr("Line");	case Location::Column:		return tr("Column");	case Location::TagName:		return tr("Tag");	case Location::TagType:		return tr("Type");	case Location::Scope:		return tr("Scope");	case Location::Text:		return tr("Text");	}	return "";}} // namespace Core} // mamespace KScope

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日本一区二区三区免费乱视频| 日韩精品一区二区三区视频在线观看| 国产精品伦理在线| 99精品黄色片免费大全| 1区2区3区精品视频| 欧美色手机在线观看| 日韩av一区二区在线影视| 精品少妇一区二区三区视频免付费| 一区二区三区美女视频| 91精品福利在线一区二区三区| 精品亚洲国产成人av制服丝袜 | 久久久久久久久久看片| 96av麻豆蜜桃一区二区| 亚洲福利一区二区| 精品国产乱码久久久久久免费| 国产精品99久久久| 亚洲成人一二三| 日韩美女主播在线视频一区二区三区 | 91丨九色丨黑人外教| 麻豆久久久久久| 亚洲乱码国产乱码精品精小说| 欧美片在线播放| 成人av网站免费| 国产一区二区中文字幕| 日韩精品一区国产麻豆| 日韩精品电影一区亚洲| 国产精品不卡一区| 精品国产第一区二区三区观看体验| av一本久道久久综合久久鬼色| 日韩不卡免费视频| 亚洲视频网在线直播| 久久久综合九色合综国产精品| 欧美日韩一区二区三区免费看| 成人av片在线观看| 国内精品视频666| 热久久免费视频| 亚洲国产一区二区三区青草影视| 国产欧美精品一区二区色综合朱莉| 欧美日韩dvd在线观看| 日本高清成人免费播放| 国产高清精品久久久久| 韩国欧美国产1区| 青青草一区二区三区| 亚洲最大的成人av| 一区二区三区四区在线| 中文字幕在线免费不卡| 国产精品乱人伦一区二区| 久久精品一二三| 精品久久久久久久人人人人传媒| 色综合视频在线观看| 国产专区综合网| 亚洲综合图片区| 亚洲三级在线看| 国产精品麻豆视频| 国产精品视频第一区| 久久网这里都是精品| 欧美一二三在线| 欧美久久久久免费| 欧美日韩第一区日日骚| 欧洲一区二区三区在线| 成人国产电影网| 色综合激情五月| 日本韩国精品在线| 成人免费av网站| 高清不卡一区二区在线| 风间由美中文字幕在线看视频国产欧美 | 综合激情成人伊人| **性色生活片久久毛片| 亚洲精品在线观看网站| 久久久久国产精品人| 中文字幕免费一区| 一区二区三区小说| 亚洲国产aⅴ天堂久久| 一卡二卡欧美日韩| 亚洲成人动漫在线观看| 日韩精品一区第一页| 久国产精品韩国三级视频| 国产91露脸合集magnet| 国产精品一二三在| 97久久精品人人爽人人爽蜜臀 | 91美女片黄在线观看| 欧美精品久久天天躁| 精品嫩草影院久久| 国产精品丝袜一区| 亚洲乱码中文字幕综合| 强制捆绑调教一区二区| 成人一区二区三区| 99精品桃花视频在线观看| 在线播放91灌醉迷j高跟美女 | 国产 欧美在线| 在线视频欧美精品| 欧美一区二区三区视频免费| 中文字幕的久久| 日韩激情一区二区| 国产精品一区二区久久不卡 | 欧美日韩中文国产| 精品国产91久久久久久久妲己| 亚洲黄色小视频| 国产成人av电影在线| 在线不卡免费欧美| 亚洲精选视频在线| 国产在线国偷精品产拍免费yy| 色婷婷综合激情| 久久久久久一二三区| 日本不卡免费在线视频| 色哟哟欧美精品| 久久看人人爽人人| 麻豆免费看一区二区三区| 色香蕉成人二区免费| 国产欧美一二三区| 久久99日本精品| 欧美一区二区三区思思人| 亚洲成a人片综合在线| 色哟哟精品一区| 中文字幕一区二区三区四区不卡| 狠狠色综合色综合网络| 欧美在线免费视屏| 一区二区三区日韩欧美精品| 不卡欧美aaaaa| 久久久99精品免费观看| 久久草av在线| 国产色产综合色产在线视频| 大桥未久av一区二区三区中文| 欧美日韩高清一区二区三区| 国产大片一区二区| 精品欧美黑人一区二区三区| 国产一区美女在线| 久久精品亚洲精品国产欧美| 高清国产一区二区三区| 久久精品无码一区二区三区| 粉嫩av一区二区三区粉嫩| 国产亚洲欧洲一区高清在线观看| 国产乱国产乱300精品| 欧美激情一区二区三区四区| 久久疯狂做爰流白浆xx| 国产欧美日韩另类一区| 91亚洲精品一区二区乱码| 亚洲久草在线视频| 在线视频国内一区二区| 日韩国产精品久久| 欧美成人精品3d动漫h| 美洲天堂一区二卡三卡四卡视频| 久久久国际精品| 91在线观看下载| 视频一区在线播放| 中文字幕欧美激情一区| 欧美在线播放高清精品| 日日夜夜精品视频免费| 国产亚洲午夜高清国产拍精品 | 一区二区日韩av| 欧美午夜寂寞影院| 国产精品99久久久久久久vr | 国产精品久久久久婷婷二区次| 欧美日韩亚洲不卡| 国产乱子伦一区二区三区国色天香| 亚洲国产高清aⅴ视频| 在线综合视频播放| 91精品国产综合久久香蕉的特点| 国产三级精品在线| 久久福利资源站| 亚洲人精品午夜| 欧美mv日韩mv国产网站app| 91福利视频久久久久| 久久电影网站中文字幕| 国产精品欧美久久久久一区二区| 91精品国产一区二区| 欧美午夜精品久久久久久孕妇| 国产精品白丝jk黑袜喷水| 中文字幕一区二区在线观看| 欧美性受xxxx黑人xyx性爽| 成人网在线免费视频| 国产在线精品一区二区夜色 | 亚洲3atv精品一区二区三区| 国产精品天天摸av网| 欧美xxxxxxxx| 欧美一区二区三区免费| 欧美性欧美巨大黑白大战| 99久久精品国产麻豆演员表| 国产精品69久久久久水密桃| 午夜精品久久久久久不卡8050| 一区二区三区欧美日韩| 性感美女久久精品| 美腿丝袜亚洲三区| 国产精品88888| 在线这里只有精品| 欧美欧美午夜aⅴ在线观看| 日韩一区二区精品在线观看| 久久综合网色—综合色88| 国产日韩欧美电影| 最近中文字幕一区二区三区| 亚洲一区中文在线| 久久er99热精品一区二区| 粉嫩av一区二区三区在线播放 | 波多野结衣亚洲| 91成人在线观看喷潮| 日韩欧美成人一区二区| 国产精品伦一区二区三级视频| 午夜日韩在线观看| 国产一二三精品| 欧美高清你懂得|