Qt 4.8
Classes | Functions
qtexttable.cpp File Reference
#include "qtexttable.h"
#include "qtextcursor.h"
#include "qtextformat.h"
#include <qdebug.h>
#include "qtexttable_p.h"
#include "qvarlengtharray.h"
#include "private/qfunctions_p.h"
#include <stdlib.h>

Go to the source code of this file.

Classes

struct  QFragmentFindHelper
 

Functions

Q_STATIC_GLOBAL_INLINE_OPERATOR bool operator< (int fragment, const QFragmentFindHelper &helper)
 
Q_STATIC_GLOBAL_INLINE_OPERATOR bool operator< (const QFragmentFindHelper &helper, int fragment)
 

Function Documentation

◆ operator<() [1/2]

Q_STATIC_GLOBAL_INLINE_OPERATOR bool operator< ( int  fragment,
const QFragmentFindHelper helper 
)

Definition at line 416 of file qtexttable.cpp.

417 {
418  return helper.fragmentMap.position(fragment) < helper.pos;
419 }
uint position(uint node, uint field=0) const
const QTextDocumentPrivate::FragmentMap & fragmentMap
Definition: qtexttable.cpp:413

◆ operator<() [2/2]

Q_STATIC_GLOBAL_INLINE_OPERATOR bool operator< ( const QFragmentFindHelper helper,
int  fragment 
)

Definition at line 421 of file qtexttable.cpp.

422 {
423  return helper.pos < helper.fragmentMap.position(fragment);
424 }
uint position(uint node, uint field=0) const
const QTextDocumentPrivate::FragmentMap & fragmentMap
Definition: qtexttable.cpp:413