MCPcopy Create free account
hub / github.com/Adaptix-Framework/AdaptixC2 / GetFileSystemIcon

Function GetFileSystemIcon

AdaptixClient/Source/Utils/FileSystem.cpp:113–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113QIcon GetFileSystemIcon(int type, bool used)
114{
115 if ( type == TYPE_FILE )
116 return QIcon(":/icons/fs_document");
117
118 if ( type == TYPE_DISK )
119 return QIcon(":/icons/fs_ssd");
120
121 if ( type == TYPE_DIR || type == TYPE_ROOTDIR ) {
122 if (used)
123 return QIcon(":/icons/fs_open_folder");
124 else
125 return QIcon(":/icons/fs_folder");
126 }
127
128 return QIcon(":/icons/fs_unknown");
129}

Callers 4

CreateBrowserFileDataMethod · 0.85
SetTypeMethod · 0.85
SetStoredMethod · 0.85
tableShowItemsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected