Пример #1
0
// private
QQueue<int>& LayoutMap::getCurrentLayoutQueue()
{
	QQueue<int>& layoutQueue = getCurrentLayoutQueueInternal();
	if( layoutQueue.count() == 0 ) {
		initLayoutQueue(layoutQueue);
		kDebug() << "Created queue for " << getOwner() << " size: " << layoutQueue.count();
	}
	
	return layoutQueue;
}
Пример #2
0
// private
//LayoutQueue& 
QPtrQueue<LayoutState>& LayoutMap::getCurrentLayoutQueue(WId winId)
{
	QPtrQueue<LayoutState>& layoutQueue = getCurrentLayoutQueueInternal(winId);
	if( layoutQueue.count() == 0 ) {
		initLayoutQueue(layoutQueue);
		kdDebug() << "map: Created queue for " << winId << " size: " << layoutQueue.count() << endl;
	}
	
	return layoutQueue;
}