Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
buffer.cpp File Reference

(05fc3aef53348fb58be6308076e000825b704e58)

#include <QApplication>
#include <QBuffer>
#include <QPalette>
+ Include dependency graph for buffer.cpp:

Go to the source code of this file.

Functions

static void main_snippet ()
 
static void write_datastream_snippets ()
 
static void read_datastream_snippets ()
 
static void bytearray_ptr_ctor_snippet ()
 
static void setBuffer_snippet ()
 
int main (int argc, char *argv[])
 

Function Documentation

◆ bytearray_ptr_ctor_snippet()

static void bytearray_ptr_ctor_snippet ( )
static

[3]

[3]

Definition at line 50 of file buffer.cpp.

References QIODeviceBase::WriteOnly.

Referenced by main().

+ Here is the caller graph for this function:

◆ main()

int main ( int argc,
char * argv[] )

Definition at line 77 of file buffer.cpp.

References app, bytearray_ptr_ctor_snippet(), main_snippet(), read_datastream_snippets(), setBuffer_snippet(), and write_datastream_snippets().

+ Here is the call graph for this function:

◆ main_snippet()

static void main_snippet ( )
static

[0]

[0]

Definition at line 8 of file buffer.cpp.

References ch, and QIODeviceBase::ReadWrite.

Referenced by main().

+ Here is the caller graph for this function:

◆ read_datastream_snippets()

static void read_datastream_snippets ( )
static

[2]

[2]

Definition at line 36 of file buffer.cpp.

References palette, and QIODeviceBase::ReadOnly.

Referenced by main().

+ Here is the caller graph for this function:

◆ setBuffer_snippet()

static void setBuffer_snippet ( )
static

[4]

[4]

Definition at line 63 of file buffer.cpp.

References QBuffer::setBuffer(), and QIODeviceBase::WriteOnly.

Referenced by main().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ write_datastream_snippets()

static void write_datastream_snippets ( )
static

[1]

[1]

Definition at line 24 of file buffer.cpp.

References out, QApplication::palette(), and QIODeviceBase::WriteOnly.

Referenced by main().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: