id
int64
0
755k
file_name
stringlengths
3
109
file_path
stringlengths
13
185
content
stringlengths
31
9.38M
size
int64
31
9.38M
language
stringclasses
1 value
extension
stringclasses
11 values
total_lines
int64
1
340k
avg_line_length
float64
2.18
149k
max_line_length
int64
7
2.22M
alphanum_fraction
float64
0
1
repo_name
stringlengths
6
65
repo_stars
int64
100
47.3k
repo_forks
int64
0
12k
repo_open_issues
int64
0
3.4k
repo_license
stringclasses
9 values
repo_extraction_date
stringclasses
92 values
exact_duplicates_redpajama
bool
2 classes
near_duplicates_redpajama
bool
2 classes
exact_duplicates_githubcode
bool
2 classes
exact_duplicates_stackv2
bool
1 class
exact_duplicates_stackv1
bool
2 classes
near_duplicates_githubcode
bool
2 classes
near_duplicates_stackv1
bool
2 classes
near_duplicates_stackv2
bool
1 class
18,194
winplatformclipboard.cpp
hluk_CopyQ/src/platform/win/winplatformclipboard.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "winplatformclipboard.h" #include <QClipboard> #include <QMimeData> #include <QTimer> namespace { bool contains(const QStringList &formats, const QMimeData &data, const QString &format, const QByteArray &value) { return formats.contains(format) && data.data(...
2,320
C++
.cpp
51
40.215686
131
0.736352
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,195
clipboardmonitor.cpp
hluk_CopyQ/src/app/clipboardmonitor.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "clipboardmonitor.h" #include "common/action.h" #include "common/appconfig.h" #include "common/common.h" #include "common/log.h" #include "common/mimetypes.h" #include "common/textdata.h" #include "item/serialize.h" #include "platform/platformclipboard.h" #includ...
6,052
C++
.cpp
157
32.770701
98
0.687649
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,196
app.cpp
hluk_CopyQ/src/app/app.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "app.h" #include "common/command.h" #include "common/commandstore.h" #include "common/log.h" #include "common/settings.h" #include "common/textdata.h" #include "item/serialize.h" #include "platform/platformnativeinterface.h" #ifdef Q_OS_UNIX # include "platform/...
5,876
C++
.cpp
177
28.717514
109
0.705196
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
18,197
clipboardserver.cpp
hluk_CopyQ/src/app/clipboardserver.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "clipboardserver.h" #include "common/action.h" #include "common/appconfig.h" #include "common/clientsocket.h" #include "common/client_server.h" #include "common/commandstatus.h" #include "common/config.h" #include "common/display.h" #include "common/log.h" #includ...
25,158
C++
.cpp
638
33.095611
110
0.680664
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
18,198
clipboardclient.cpp
hluk_CopyQ/src/app/clipboardclient.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "clipboardclient.h" #include "common/client_server.h" #include "common/clientsocket.h" #include "common/commandstatus.h" #include "common/commandstore.h" #include "common/common.h" #include "common/log.h" #include "common/textdata.h" #include "item/itemfactory.h" ...
5,046
C++
.cpp
135
31.681481
114
0.710656
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,199
applicationexceptionhandler.cpp
hluk_CopyQ/src/app/applicationexceptionhandler.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "applicationexceptionhandler.h" #include "common/log.h" #include <QCoreApplication> #include <QFile> #include <QMetaObject> void logException(const char *what) { if ( canUseStandardOutput() ) { QFile f; f.open(stderr, QIODevice::WriteOnly); ...
715
C++
.cpp
25
24.92
70
0.702782
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
18,200
clipboardownermonitor.cpp
hluk_CopyQ/src/app/clipboardownermonitor.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "clipboardownermonitor.h" #include "app/clipboardmonitor.h" #include "common/log.h" #include <QCoreApplication> constexpr int updateAfterEventIntervalMs = 20; ClipboardOwnerMonitor::ClipboardOwnerMonitor(ClipboardMonitor *monitor) : m_monitor(monitor) { ...
2,149
C++
.cpp
56
31.25
94
0.677575
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,201
tabpropertieswidget.cpp
hluk_CopyQ/src/gui/tabpropertieswidget.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "gui/tabpropertieswidget.h" #include "ui_tabpropertieswidget.h" TabPropertiesWidget::TabPropertiesWidget(QWidget *parent) : QWidget(parent), ui(new Ui::TabPropertiesWidget) { ui->setupUi(this); connect( ui->iconButton, &IconSelectButton::currentIc...
1,145
C++
.cpp
35
29.114286
89
0.755898
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
18,202
actiondialog.cpp
hluk_CopyQ/src/gui/actiondialog.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "actiondialog.h" #include "ui_actiondialog.h" #include "common/appconfig.h" #include "common/command.h" #include "common/config.h" #include "common/mimetypes.h" #include "common/textdata.h" #include "item/serialize.h" #include <QAbstractButton> #include <QFile> #...
10,415
C++
.cpp
278
32.834532
105
0.713761
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
18,203
notificationbasic.cpp
hluk_CopyQ/src/gui/notificationbasic.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "gui/notificationbasic.h" #include "gui/notification.h" #include "common/common.h" #include "common/display.h" #include "common/textdata.h" #include "common/timer.h" #include "gui/iconfactory.h" #include "gui/icons.h" #include "gui/pixelratio.h" #include <QApplic...
9,416
C++
.cpp
306
25.996732
90
0.698927
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
18,204
clipboardbrowserplaceholder.cpp
hluk_CopyQ/src/gui/clipboardbrowserplaceholder.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "clipboardbrowserplaceholder.h" #include "common/common.h" #include "common/log.h" #include "common/timer.h" #include "item/itemstore.h" #include "gui/clipboardbrowser.h" #include "gui/iconfactory.h" #include "gui/icons.h" #include <QPushButton> #include <QVBoxLa...
5,589
C++
.cpp
187
24.764706
95
0.688329
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
18,205
clipboardbrowser.cpp
hluk_CopyQ/src/gui/clipboardbrowser.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "clipboardbrowser.h" #include "common/common.h" #include "common/contenttype.h" #include "common/log.h" #include "common/mimetypes.h" #include "common/temporaryfile.h" #include "common/textdata.h" #include "common/timer.h" #include "gui/pixelratio.h" #include "gui...
55,328
C++
.cpp
1,564
28.737212
124
0.642903
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
18,206
traymenu.cpp
hluk_CopyQ/src/gui/traymenu.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "traymenu.h" #include "common/contenttype.h" #include "common/common.h" #include "common/display.h" #include "common/mimetypes.h" #include "common/textdata.h" #include "common/timer.h" #include "gui/icons.h" #include "gui/iconfactory.h" #include <QAction> #includ...
11,825
C++
.cpp
345
27.231884
113
0.624453
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
18,207
menuitems.cpp
hluk_CopyQ/src/gui/menuitems.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "menuitems.h" #include "common/shortcuts.h" #include "gui/icons.h" #include <QStringList> #include <QVector> namespace { void addMenuItem( MenuItems &items, Actions::Id id, const QString &text, const QString &settingsKey, const QKeySequence &sho...
11,733
C++
.cpp
153
66.405229
160
0.671568
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
18,208
tabwidget.cpp
hluk_CopyQ/src/gui/tabwidget.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "tabwidget.h" #include "tabbar.h" #include "tabtree.h" #include "common/config.h" #include <QAction> #include <QBoxLayout> #include <QEvent> #include <QMainWindow> #include <QMimeData> #include <QPoint> #include <QSettings> #include <QStackedWidget> #include <QTo...
13,185
C++
.cpp
391
28.542199
106
0.683423
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
18,209
windowgeometryguard.cpp
hluk_CopyQ/src/gui/windowgeometryguard.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "windowgeometryguard.h" #include "common/appconfig.h" #include "common/config.h" #include "common/log.h" #include "common/timer.h" #include "gui/screen.h" #include "platform/platformnativeinterface.h" #include "platform/platformwindow.h" #include <QApplication> #...
5,418
C++
.cpp
165
27.442424
103
0.686169
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
18,210
iconwidget.cpp
hluk_CopyQ/src/gui/iconwidget.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "iconwidget.h" #include "gui/icons.h" #include "gui/iconfont.h" #include <QPainter> #include <QPaintEvent> #include <QString> IconWidget::IconWidget(int icon, QWidget *parent) : QWidget(parent) , m_icon() { QFontMetrics fm(iconFont()); QChar c(ic...
1,231
C++
.cpp
46
22.195652
72
0.640239
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
18,211
commandcompleter.cpp
hluk_CopyQ/src/gui/commandcompleter.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "commandcompleter.h" #include "commandsyntaxhighlighter.h" #include "commandcompleterdocumentation.h" #include "common/appconfig.h" #include "common/timer.h" #include <QAbstractItemView> #include <QCompleter> #include <QCoreApplication> #include <QHash> #include ...
8,741
C++
.cpp
252
27.829365
100
0.646745
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
18,212
aboutdialog.cpp
hluk_CopyQ/src/gui/aboutdialog.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "aboutdialog.h" #include "ui_aboutdialog.h" #include "common/textdata.h" #include "common/version.h" #include "gui/icons.h" #include "gui/iconfont.h" namespace { QString helpUrl(const char *url) { return QString::fromLatin1("<a href='%1'>%1</a>").arg(url); }...
4,141
C++
.cpp
108
29.416667
96
0.545024
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
18,213
iconfont.cpp
hluk_CopyQ/src/gui/iconfont.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "iconfont.h" #include <QApplication> #include <QFont> #include <QFontDatabase> #include <QFontMetrics> #include <QStyle> #include <algorithm> #include <vector> namespace { const int iconFontMaxHeight = 128; const int iconFontMaxWidth = 160; int iconFontId() { ...
1,918
C++
.cpp
69
24.507246
86
0.730748
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
18,214
theme.cpp
hluk_CopyQ/src/gui/theme.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "theme.h" #include "ui_configtabappearance.h" #include "common/config.h" #include "common/log.h" #include "gui/iconfont.h" #include "platform/platformnativeinterface.h" #include <QApplication> #include <QDir> #include <QFile> #include <QListView> #include <QScre...
26,030
C++
.cpp
654
33.097859
119
0.626836
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
18,215
logdialog.cpp
hluk_CopyQ/src/gui/logdialog.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "gui/logdialog.h" #include "ui_logdialog.h" #include "common/common.h" #include "common/log.h" #include "common/timer.h" #include <QCheckBox> #include <QElapsedTimer> #include <QRegularExpression> #include <QTextBlock> #include <QTextCharFormat> #include <QTextBlo...
8,575
C++
.cpp
270
25.874074
82
0.662018
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
18,216
importexportdialog.cpp
hluk_CopyQ/src/gui/importexportdialog.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "gui/importexportdialog.h" #include "ui_importexportdialog.h" #include "gui/tabicons.h" #include <QPushButton> ImportExportDialog::ImportExportDialog(QWidget *parent) : QDialog(parent) , ui(new Ui::ImportExportDialog) { ui->setupUi(this); connec...
3,664
C++
.cpp
108
29.277778
100
0.710444
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
18,217
notificationdaemon.cpp
hluk_CopyQ/src/gui/notificationdaemon.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "gui/notificationdaemon.h" #include "common/common.h" #include "common/display.h" #include "common/timer.h" #include "gui/notification.h" #include "gui/notificationbasic.h" #include "gui/screen.h" #ifdef WITH_NATIVE_NOTIFICATIONS # include "gui/notificationnati...
6,192
C++
.cpp
186
27.833333
105
0.696462
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
18,218
actionhandlerdialog.cpp
hluk_CopyQ/src/gui/actionhandlerdialog.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "gui/actionhandlerdialog.h" #include "ui_actionhandlerdialog.h" #include "common/actionhandlerenums.h" #include "gui/actionhandler.h" #include <QSortFilterProxyModel> #include <QSet> namespace { void terminateSelectedActions(QItemSelectionModel *selectionModel,...
3,040
C++
.cpp
71
36.366197
114
0.711382
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
18,219
configtabappearance.cpp
hluk_CopyQ/src/gui/configtabappearance.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "gui/configtabappearance.h" #include "ui_configtabappearance.h" #include "common/contenttype.h" #include "common/display.h" #include "common/mimetypes.h" #include "common/option.h" #include "common/temporarysettings.h" #include "common/temporaryfile.h" #include "c...
14,855
C++
.cpp
405
30.965432
109
0.680602
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
18,220
configtabtabs.cpp
hluk_CopyQ/src/gui/configtabtabs.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "configtabtabs.h" #include "common/appconfig.h" #include "common/tabs.h" #include "gui/iconfactory.h" #include "gui/itemorderlist.h" #include "gui/tabicons.h" #include "gui/tabpropertieswidget.h" #include <QSettings> #include <QVBoxLayout> Q_DECLARE_METATYPE(Tab...
2,962
C++
.cpp
80
30.1875
90
0.65921
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
18,221
commandwidget.cpp
hluk_CopyQ/src/gui/commandwidget.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "commandwidget.h" #include "ui_commandwidget.h" #include "common/appconfig.h" #include "common/command.h" #include "common/mimetypes.h" #include "common/shortcuts.h" #include "gui/iconfactory.h" #include "gui/icons.h" #include "gui/shortcutdialog.h" #include "gui/...
12,886
C++
.cpp
296
38.199324
117
0.700631
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
18,222
screen.cpp
hluk_CopyQ/src/gui/screen.cpp
#include "screen.h" #include <QApplication> #include <QScreen> #include <QWidget> #include <QWindow> #if QT_VERSION < QT_VERSION_CHECK(5,11,0) # include <QDesktopWidget> #endif namespace { QScreen *screenFromNumber(int i) { const auto screens = QGuiApplication::screens(); if (i < 0 || i >= screens.size())...
1,330
C++
.cpp
50
23.98
68
0.721479
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
18,223
actionhandler.cpp
hluk_CopyQ/src/gui/actionhandler.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "actionhandler.h" #include "common/appconfig.h" #include "common/action.h" #include "common/actiontablemodel.h" #include "common/common.h" #include "common/contenttype.h" #include "common/display.h" #include "common/log.h" #include "common/mimetypes.h" #include "c...
5,206
C++
.cpp
142
32.309859
97
0.702703
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
18,224
commandhelpbutton.cpp
hluk_CopyQ/src/gui/commandhelpbutton.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "commandhelpbutton.h" #include "common/display.h" #include "common/textdata.h" #include "gui/iconfactory.h" #include "gui/icons.h" #include "gui/windowgeometryguard.h" #include "scriptable/commandhelp.h" #include <QDialog> #include <QDialogButtonBox> #include <QP...
4,775
C++
.cpp
126
29.626984
120
0.578902
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
18,225
mainwindow.cpp
hluk_CopyQ/src/gui/mainwindow.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "mainwindow.h" #include "ui_mainwindow.h" #include "common/action.h" #include "common/actionoutput.h" #include "common/appconfig.h" #include "common/common.h" #include "common/command.h" #include "common/commandstore.h" #include "common/config.h" #include "common/...
126,938
C++
.cpp
3,485
29.840172
132
0.659563
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
18,226
selectiondata.cpp
hluk_CopyQ/src/gui/selectiondata.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "selectiondata.h" #include "common/mimetypes.h" #include "gui/clipboardbrowser.h" void addSelectionData( QVariantMap *result, const QList<QPersistentModelIndex> &selectedIndexes) { result->insert(mimeSelectedItems, QVariant::fromValue(selectedI...
1,583
C++
.cpp
44
31.318182
85
0.741176
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,227
commandsyntaxhighlighter.cpp
hluk_CopyQ/src/gui/commandsyntaxhighlighter.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "commandsyntaxhighlighter.h" #include "gui/iconfactory.h" #include "scriptable/scriptable.h" #include <QMetaMethod> #include <QMetaObject> #include <QPalette> #include <QRegularExpression> #include <QJSEngine> #include <QJSValue> #include <QJSValueIterator> #incl...
10,474
C++
.cpp
309
25.012945
102
0.575398
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
18,228
iconselectbutton.cpp
hluk_CopyQ/src/gui/iconselectbutton.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "iconselectbutton.h" #include "common/config.h" #include "common/common.h" #include "gui/fix_icon_id.h" #include "gui/iconfont.h" #include "gui/iconselectdialog.h" #include "gui/icons.h" #include <QApplication> #include <QIcon> #include <memory> IconSelectButto...
2,047
C++
.cpp
64
27.0625
90
0.667684
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
18,229
commanddialog.cpp
hluk_CopyQ/src/gui/commanddialog.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "gui/commanddialog.h" #include "ui_commanddialog.h" #include "common/command.h" #include "common/commandstore.h" #include "common/common.h" #include "common/mimetypes.h" #include "common/settings.h" #include "common/textdata.h" #include "gui/addcommanddialog.h" #i...
14,211
C++
.cpp
364
33.442308
125
0.713829
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
18,230
tabbar.cpp
hluk_CopyQ/src/gui/tabbar.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "tabbar.h" #include "common/common.h" #include "common/mimetypes.h" #include "gui/iconfactory.h" #include "gui/tabicons.h" #include <QIcon> #include <QMimeData> #include <QMouseEvent> #include <QLabel> #include <QStyle> namespace { int dropItemsTabIndex(const Q...
4,954
C++
.cpp
178
23.567416
78
0.674895
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
18,231
itemorderlist.cpp
hluk_CopyQ/src/gui/itemorderlist.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "gui/itemorderlist.h" #include "ui_itemorderlist.h" #include "gui/iconfactory.h" #include "gui/iconfont.h" #include "gui/icons.h" #include <QDragEnterEvent> #include <QMenu> #include <QMimeData> #include <QScrollBar> namespace { void deleteWidget(const QPointer...
12,046
C++
.cpp
367
28.378747
100
0.698596
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
18,232
addcommanddialog.cpp
hluk_CopyQ/src/gui/addcommanddialog.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "addcommanddialog.h" #include "ui_addcommanddialog.h" #include "common/command.h" #include "common/mimetypes.h" #include "common/predefinedcommands.h" #include "common/shortcuts.h" #include "common/textdata.h" #include "item/itemfactory.h" #include "gui/iconfactor...
3,347
C++
.cpp
98
28.77551
103
0.700062
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
18,233
shortcutdialog.cpp
hluk_CopyQ/src/gui/shortcutdialog.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "shortcutdialog.h" #include "ui_shortcutdialog.h" #include "common/log.h" #include "common/shortcuts.h" #include "gui/icons.h" #include "platform/platformnativeinterface.h" #include <QKeyEvent> #include <QPushButton> ShortcutDialog::ShortcutDialog(QWidget *paren...
2,007
C++
.cpp
57
29.894737
83
0.681302
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
18,234
iconselectdialog.cpp
hluk_CopyQ/src/gui/iconselectdialog.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "iconselectdialog.h" #include "common/config.h" #include "gui/iconfont.h" #include "gui/icons.h" #include "gui/icon_list.h" #include <QDialogButtonBox> #include <QFileDialog> #include <QKeyEvent> #include <QListWidget> #include <QLineEdit> #include <QPushButton> ...
6,167
C++
.cpp
189
25.280423
91
0.620475
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
18,235
commandedit.cpp
hluk_CopyQ/src/gui/commandedit.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "commandedit.h" #include "ui_commandedit.h" #include "gui/commandsyntaxhighlighter.h" #include "gui/commandcompleter.h" #include <QRegularExpression> #include <QJSEngine> #include <QTextBlock> #include <QTextCursor> #include <QTextDocument> CommandEdit::CommandE...
1,850
C++
.cpp
56
29.678571
73
0.762655
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
18,236
clipboarddialog.cpp
hluk_CopyQ/src/gui/clipboarddialog.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "clipboarddialog.h" #include "ui_clipboarddialog.h" #include "common/common.h" #include "common/contenttype.h" #include "common/mimetypes.h" #include "common/shortcuts.h" #include "common/timer.h" #include "gui/iconfactory.h" #include "gui/icons.h" #include "gui/w...
7,182
C++
.cpp
195
31.015385
99
0.681799
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
18,237
configurationmanager.cpp
hluk_CopyQ/src/gui/configurationmanager.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "configurationmanager.h" #include "ui_configurationmanager.h" #include "ui_configtabgeneral.h" #include "ui_configtabhistory.h" #include "ui_configtablayout.h" #include "ui_configtabnotifications.h" #include "ui_configtabtray.h" #include "common/appconfig.h" #inc...
20,992
C++
.cpp
507
36.001972
116
0.707127
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
18,238
filedialog.cpp
hluk_CopyQ/src/gui/filedialog.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "filedialog.h" #include <QFileDialog> #include <QFileInfo> #include <QWidget> FileDialog::FileDialog(QWidget *parent, const QString &caption, const QString &fileName) : QObject(parent) , m_parent(parent) , m_caption(caption) , m_defaultPath(QFileI...
726
C++
.cpp
22
27.636364
88
0.675714
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
18,239
iconfactory.cpp
hluk_CopyQ/src/gui/iconfactory.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "iconfactory.h" #include "gui/fix_icon_id.h" #include "gui/icons.h" #include "gui/iconfont.h" #include "gui/pixelratio.h" #include <QBitmap> #include <QCoreApplication> #include <QFile> #include <QFont> #include <QFontDatabase> #include <QFontMetrics> #include <Q...
18,861
C++
.cpp
582
26.568729
134
0.657661
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
18,240
filterlineedit.cpp
hluk_CopyQ/src/gui/filterlineedit.cpp
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this f...
15,033
C++
.cpp
410
28.878049
117
0.624734
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
18,241
filtercompleter.cpp
hluk_CopyQ/src/gui/filtercompleter.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "filtercompleter.h" #include <QAbstractListModel> #include <QApplication> #include <QAction> #include <QEvent> #include <QLineEdit> #include <QMoveEvent> namespace { const int maxCompletionItems = 100; class CompletionModel final : public QAbstractListModel { p...
5,023
C++
.cpp
161
25.409938
91
0.649399
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
18,242
fancylineedit.cpp
hluk_CopyQ/src/gui/fancylineedit.cpp
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance w...
9,103
C++
.cpp
268
29.257463
98
0.665984
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
18,243
clipboardspy.cpp
hluk_CopyQ/src/gui/clipboardspy.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "clipboardspy.h" #include "common/common.h" #include "common/mimetypes.h" #include "platform/platformclipboard.h" #include "platform/platformnativeinterface.h" #include <QApplication> #include <QTimer> ClipboardSpy::ClipboardSpy(ClipboardMode mode, const QByteA...
2,057
C++
.cpp
63
28.301587
92
0.699848
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
18,244
shortcutswidget.cpp
hluk_CopyQ/src/gui/shortcutswidget.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "gui/shortcutswidget.h" #include "ui_shortcutswidget.h" #include "common/command.h" #include "common/common.h" #include "common/predefinedcommands.h" #include "common/shortcuts.h" #include "common/timer.h" #include "gui/commanddialog.h" #include "gui/iconfactory.h...
8,701
C++
.cpp
239
29.736402
116
0.669402
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
18,245
shortcutbutton.cpp
hluk_CopyQ/src/gui/shortcutbutton.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "gui/shortcutbutton.h" #include "gui/iconfactory.h" #include "gui/icons.h" #include "gui/shortcutdialog.h" #include <QAction> #include <QToolButton> #include <QVariant> namespace { const char propertyShortcut[] = "CopyQ_shortcut"; } // namespace ShortcutButto...
6,140
C++
.cpp
185
27.502703
101
0.678348
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
18,246
tabdialog.cpp
hluk_CopyQ/src/gui/tabdialog.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "tabdialog.h" #include "ui_tabdialog.h" #include <QPushButton> TabDialog::TabDialog(TabDialog::TabDialogType type, QWidget *parent) : QDialog(parent) , ui(new Ui::TabDialog) , m_tabGroupName() , m_tabs() { ui->setupUi(this); if (type == T...
2,441
C++
.cpp
80
24.775
78
0.629266
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
18,247
commandaction.cpp
hluk_CopyQ/src/gui/commandaction.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "commandaction.h" #include "common/common.h" #include "common/mimetypes.h" #include "common/shortcuts.h" #include "common/textdata.h" #include "gui/iconfactory.h" #include <QMenu> #include <QShortcutEvent> CommandAction::CommandAction( const Command &com...
1,295
C++
.cpp
41
27.780488
76
0.717619
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
18,248
pluginwidget.cpp
hluk_CopyQ/src/gui/pluginwidget.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "pluginwidget.h" #include "ui_pluginwidget.h" #include "item/itemwidget.h" PluginWidget::PluginWidget(const ItemLoaderPtr &loader, QWidget *parent) : QWidget(parent) , ui(new Ui::PluginWidget) , m_loader(loader) { ui->setupUi(this); const QSt...
924
C++
.cpp
30
26.1
72
0.687711
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
18,249
tabicons.cpp
hluk_CopyQ/src/gui/tabicons.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "tabicons.h" #include "common/appconfig.h" #include "common/config.h" #include "common/settings.h" #include "common/textdata.h" #include "gui/iconfactory.h" #include <QComboBox> #include <QDir> #include <QHash> #include <QIcon> namespace { QHash<QString, QStrin...
3,954
C++
.cpp
117
28.74359
80
0.666754
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
18,251
tabtree.cpp
hluk_CopyQ/src/gui/tabtree.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "tabtree.h" #include "common/common.h" #include "common/display.h" #include "common/timer.h" #include "gui/iconfactory.h" #include "gui/iconfont.h" #include "gui/tabicons.h" #include <QApplication> #include <QLabel> #include <QList> #include <QMimeData> #include ...
18,475
C++
.cpp
568
25.917254
102
0.630774
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
18,252
notificationnative.cpp
hluk_CopyQ/src/gui/notificationnative/notificationnative.cpp
// SPDX-License-Identifier: GPL-3.0-or-later #include "notificationnative.h" #include "common/log.h" #include "common/timer.h" #include "gui/iconfactory.h" #include "gui/icons.h" #include "gui/notification.h" #include <KNotification> #include <QApplication> #include <QDialog> #include <QDialogButtonBox> #include <QD...
9,187
C++
.cpp
300
26.186667
114
0.697996
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
18,253
itemfakevim.h
hluk_CopyQ/plugins/itemfakevim/itemfakevim.h
// SPDX-License-Identifier: GPL-3.0-or-later #ifndef ITEMFAKEVIM_H #define ITEMFAKEVIM_H #include "item/itemwidgetwrapper.h" namespace Ui { class ItemFakeVimSettings; } class QWidget; class ItemFakeVimLoader final : public QObject, public ItemLoaderInterface { Q_OBJECT Q_PLUGIN_METADATA(IID COPYQ_PLUGIN_IT...
1,540
C++
.h
41
33.268293
98
0.746622
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,254
fakevimhandler.h
hluk_CopyQ/plugins/itemfakevim/fakevim/fakevimhandler.h
// Copyright (C) 2016 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0 #pragma once #define FAKEVIM_STANDALONE #ifdef FAKEVIM_STANDALONE # include "private/fakevim_export.h" #endif #include <QObject> #include <QTextEdit> #include <functiona...
5,288
C++
.h
139
33.870504
106
0.737038
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,255
fakevimtr.h
hluk_CopyQ/plugins/itemfakevim/fakevim/fakevimtr.h
// Copyright (C) 2016 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0 #pragma once #include <QCoreApplication> namespace FakeVim { struct Tr { Q_DECLARE_TR_FUNCTIONS(FakeVim) }; } // namespace FakeVim
284
C++
.h
10
26.5
101
0.762082
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,256
fakevimactions.h
hluk_CopyQ/plugins/itemfakevim/fakevim/fakevimactions.h
// Copyright (C) 2016 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0 #pragma once #define FAKEVIM_STANDALONE #ifdef FAKEVIM_STANDALONE # include "private/fakevim_export.h" #else # include <utils/savedaction.h> #endif #include <QCoreAppli...
3,790
C++
.h
123
26.845528
101
0.750275
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,257
itemfakevimtests.h
hluk_CopyQ/plugins/itemfakevim/tests/itemfakevimtests.h
// SPDX-License-Identifier: GPL-3.0-or-later #ifndef ITEMFAKEVIMTESTS_H #define ITEMFAKEVIMTESTS_H #include "tests/testinterface.h" #include <QObject> class ItemFakeVimTests final : public QObject { Q_OBJECT public: explicit ItemFakeVimTests(const TestInterfacePtr &test, QObject *parent = nullptr); sta...
629
C++
.h
24
22.708333
87
0.748735
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,258
filewatcher.h
hluk_CopyQ/plugins/itemsync/filewatcher.h
// SPDX-License-Identifier: GPL-3.0-or-later #ifndef FILEWATCHER_H #define FILEWATCHER_H #include "common/mimetypes.h" #include <QLockFile> #include <QObject> #include <QPersistentModelIndex> #include <QSet> #include <QStringList> #include <QTimer> #include <QVector> class QAbstractItemModel; class QDir; struct Ex...
4,256
C++
.h
109
34.669725
104
0.762856
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,259
itemsync.h
hluk_CopyQ/plugins/itemsync/itemsync.h
// SPDX-License-Identifier: GPL-3.0-or-later #ifndef ITEMSYNC_H #define ITEMSYNC_H #include "gui/icons.h" #include "item/itemwidgetwrapper.h" #include <QVariantMap> #include <QWidget> #include <memory> namespace Ui { class ItemSyncSettings; } class QTextEdit; class FileWatcher; struct FileFormat; using ItemSync...
4,765
C++
.h
117
37.17094
118
0.768913
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,260
itemsynctests.h
hluk_CopyQ/plugins/itemsync/tests/itemsynctests.h
// SPDX-License-Identifier: GPL-3.0-or-later #ifndef ITEMSYNCTESTS_H #define ITEMSYNCTESTS_H #include "tests/testinterface.h" #include <QObject> class ItemSyncTests final : public QObject { Q_OBJECT public: explicit ItemSyncTests(const TestInterfacePtr &test, QObject *parent = nullptr); static QString ...
1,108
C++
.h
39
24.076923
84
0.74021
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,261
itemtags.h
hluk_CopyQ/plugins/itemtags/itemtags.h
// SPDX-License-Identifier: GPL-3.0-or-later #ifndef ITEMTAGS_H #define ITEMTAGS_H #include "gui/icons.h" #include "item/itemwidgetwrapper.h" #include "item/itemsaverwrapper.h" #include <QVariant> #include <QVector> #include <QWidget> namespace Ui { class ItemTagsSettings; } class QTableWidgetItem; class ItemTags...
4,052
C++
.h
114
31.201754
95
0.748779
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,262
itemtagstests.h
hluk_CopyQ/plugins/itemtags/tests/itemtagstests.h
// SPDX-License-Identifier: GPL-3.0-or-later #ifndef ITEMTAGSTESTS_H #define ITEMTAGSTESTS_H #include "tests/testinterface.h" #include <QObject> class ItemTagsTests final : public QObject { Q_OBJECT public: explicit ItemTagsTests(const TestInterfacePtr &test, QObject *parent = nullptr); static QStringL...
663
C++
.h
27
20.962963
84
0.723642
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,263
itemencrypted.h
hluk_CopyQ/plugins/itemencrypted/itemencrypted.h
// SPDX-License-Identifier: GPL-3.0-or-later #ifndef ITEMENCRYPTED_H #define ITEMENCRYPTED_H #include "item/itemwidget.h" #include "gui/icons.h" #include <QProcess> #include <QVariant> #include <QWidget> #include <memory> namespace Ui { class ItemEncryptedSettings; } class QIODevice; class ItemEncrypted final : ...
3,532
C++
.h
99
31.414141
118
0.758122
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,264
itemencryptedtests.h
hluk_CopyQ/plugins/itemencrypted/tests/itemencryptedtests.h
// SPDX-License-Identifier: GPL-3.0-or-later #ifndef ITEMENCRYPTEDTESTS_H #define ITEMENCRYPTEDTESTS_H #include "tests/testinterface.h" #include <QObject> class ItemEncryptedTests final : public QObject { Q_OBJECT public: explicit ItemEncryptedTests(const TestInterfacePtr &test, QObject *parent = nullptr); ...
599
C++
.h
22
23.954545
89
0.765432
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,265
itempinned.h
hluk_CopyQ/plugins/itempinned/itempinned.h
// SPDX-License-Identifier: GPL-3.0-or-later #ifndef ITEMPINNED_H #define ITEMPINNED_H #include "gui/icons.h" #include "item/itemwidgetwrapper.h" #include "item/itemsaverwrapper.h" #include <QPointer> #include <QVariant> #include <QWidget> class ItemPinned final : public QWidget, public ItemWidgetWrapper { Q_OB...
3,030
C++
.h
78
34.602564
103
0.752312
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,266
itempinnedtests.h
hluk_CopyQ/plugins/itempinned/tests/itempinnedtests.h
// SPDX-License-Identifier: GPL-3.0-or-later #ifndef ITEMPINNEDTESTS_H #define ITEMPINNEDTESTS_H #include "tests/testinterface.h" #include <QObject> class ItemPinnedTests final : public QObject { Q_OBJECT public: explicit ItemPinnedTests(const TestInterfacePtr &test, QObject *parent = nullptr); private slo...
666
C++
.h
27
21.037037
86
0.726115
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,267
itemtext.h
hluk_CopyQ/plugins/itemtext/itemtext.h
// SPDX-License-Identifier: GPL-3.0-or-later #ifndef ITEMTEXT_H #define ITEMTEXT_H #include "gui/icons.h" #include "item/itemwidget.h" #include <QTextDocument> #include <QTextDocumentFragment> #include <QTextEdit> #include <memory> namespace Ui { class ItemTextSettings; } class ItemText final : public QTextEdit, ...
2,077
C++
.h
62
29.241935
100
0.739087
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,268
itemimage.h
hluk_CopyQ/plugins/itemimage/itemimage.h
// SPDX-License-Identifier: GPL-3.0-or-later #ifndef ITEMIMAGE_H #define ITEMIMAGE_H #include "gui/icons.h" #include "item/itemwidget.h" #include <QLabel> #include <QPixmap> #include <QVariant> #include <memory> class QMovie; namespace Ui { class ItemImageSettings; } class ItemImage final : public QLabel, public...
2,272
C++
.h
64
31.28125
117
0.746104
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,269
itemimagetests.h
hluk_CopyQ/plugins/itemimage/tests/itemimagetests.h
// SPDX-License-Identifier: GPL-3.0-or-later #pragma once #include "tests/testinterface.h" #include <QObject> class ItemImageTests final : public QObject { Q_OBJECT public: explicit ItemImageTests(const TestInterfacePtr &test, QObject *parent = nullptr); private slots: void initTestCase(); void clea...
525
C++
.h
22
20.409091
85
0.722334
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,270
itemnotes.h
hluk_CopyQ/plugins/itemnotes/itemnotes.h
// SPDX-License-Identifier: GPL-3.0-or-later #ifndef ITEMNOTES_H #define ITEMNOTES_H #include "gui/icons.h" #include "item/itemwidgetwrapper.h" #include <QVariant> #include <QWidget> namespace Ui { class ItemNotesSettings; } class QTextEdit; class QTimer; enum NotesPosition { NotesAbove, NotesBelow, N...
2,119
C++
.h
62
30.290323
84
0.751969
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,274
tests.h
hluk_CopyQ/src/tests/tests.h
// SPDX-License-Identifier: GPL-3.0-or-later #ifndef TESTS_H #define TESTS_H #include "tests/testinterface.h" #include <QObject> #include <QStringList> class QProcess; class QByteArray; /** * Tests for the application. */ class Tests final : public QObject { Q_OBJECT public: explicit Tests(const TestInt...
7,193
C++
.h
233
25.695279
82
0.731089
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,275
test_utils.h
hluk_CopyQ/src/tests/test_utils.h
// SPDX-License-Identifier: GPL-3.0-or-later #pragma once #include <QByteArray> #include <QKeySequence> #include <QString> #include <QStringList> #include <QTest> #include <QTimer> #include <QVariantMap> constexpr int maxReadLogSize = 1 * 1024 * 1024; constexpr auto clipboardTabName = "CLIPBOARD"; constexpr auto de...
4,763
C++
.h
114
39.412281
104
0.764286
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,276
testinterface.h
hluk_CopyQ/src/tests/testinterface.h
// SPDX-License-Identifier: GPL-3.0-or-later #ifndef TESTINTERFACE_H #define TESTINTERFACE_H #include "common/clipboardmode.h" #include <QByteArray> #include <QStringList> #include <QVariant> #include <QtContainerFwd> #include <memory> /** * Interface for tests. */ class TestInterface { public: enum ReadStde...
4,007
C++
.h
78
44.910256
124
0.705053
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,277
tests_common.h
hluk_CopyQ/src/tests/tests_common.h
// SPDX-License-Identifier: GPL-3.0-or-later #pragma once #include "tests/testinterface.h" #include <QObject> #include <QStringList> class QByteArray; // Similar to QTemporaryFile but allows removing from other process. class TemporaryFile { public: TemporaryFile(); ~TemporaryFile(); QString fileName()...
725
C++
.h
23
29
68
0.787265
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,278
itemfilter.h
hluk_CopyQ/src/item/itemfilter.h
#pragma once #include <memory> class QModelIndex; class QString; class QTextCharFormat; class QTextEdit; class ItemFilter { public: virtual ~ItemFilter() = default; virtual bool matchesAll() const = 0; virtual bool matchesNone() const = 0; virtual bool matches(const QString &text) const = 0; virt...
634
C++
.h
19
30.473684
85
0.754501
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,279
itemwidgetwrapper.h
hluk_CopyQ/src/item/itemwidgetwrapper.h
#ifndef ITEMWIDGETWRAPPER_H #define ITEMWIDGETWRAPPER_H #include "itemwidget.h" #include <memory> class ItemWidgetWrapper : public ItemWidget { public: ItemWidgetWrapper(ItemWidget *childItem, QWidget *widget); void updateSize(QSize maximumSize, int idealWidth) override; void setCurrent(bool current) o...
537
C++
.h
17
28.647059
64
0.784736
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,280
itemsaverwrapper.h
hluk_CopyQ/src/item/itemsaverwrapper.h
#pragma once #include "item/itemwidget.h" class ItemSaverWrapper : public ItemSaverInterface { public: explicit ItemSaverWrapper(const ItemSaverPtr &saver); bool saveItems(const QString &tabName, const QAbstractItemModel &model, QIODevice *file) override; bool canRemoveItems(const QList<QModelIndex> &in...
825
C++
.h
18
42
102
0.795226
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,281
serialize.h
hluk_CopyQ/src/item/serialize.h
// SPDX-License-Identifier: GPL-3.0-or-later #ifndef SERIALIZE_H #define SERIALIZE_H #include <QVariantMap> class QAbstractItemModel; class QByteArray; class QDataStream; class QIODevice; class DataFile; QDataStream &operator<<(QDataStream &out, DataFile value); QDataStream &operator>>(QDataStream &in, DataFile &va...
1,104
C++
.h
23
46.652174
101
0.82479
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,282
persistentdisplayitem.h
hluk_CopyQ/src/item/persistentdisplayitem.h
// SPDX-License-Identifier: GPL-3.0-or-later #ifndef PERSISTENTDISPLAYITEM_H #define PERSISTENTDISPLAYITEM_H #include <QMetaType> #include <QPointer> #include <QString> #include <QVariantMap> class ItemDelegate; class QAction; class QModelIndex; class QWidget; class QString; /** * Holds data for currently displaye...
1,328
C++
.h
48
23.958333
87
0.727129
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,283
itemwidget.h
hluk_CopyQ/src/item/itemwidget.h
// SPDX-License-Identifier: GPL-3.0-or-later #ifndef ITEMWIDGET_H #define ITEMWIDGET_H #include "tests/testinterface.h" #include <QObject> #include <QtContainerFwd> #include <memory> struct Command; class ItemFilter; class TestInterface; class QAbstractItemModel; class QIODevice; class QModelIndex; class QPersist...
11,094
C++
.h
329
28.99696
116
0.695978
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,284
itemfactory.h
hluk_CopyQ/src/item/itemfactory.h
// SPDX-License-Identifier: GPL-3.0-or-later #ifndef ITEMFACTORY_H #define ITEMFACTORY_H #include "common/command.h" #include "item/itemwidget.h" #include <QMap> #include <QObject> #include <QtContainerFwd> class ItemLoaderInterface; class ItemWidget; class ScriptableProxy; class QAbstractItemModel; class QIODevice...
4,141
C++
.h
106
34.349057
109
0.731067
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,285
itemeditor.h
hluk_CopyQ/src/item/itemeditor.h
// SPDX-License-Identifier: GPL-3.0-or-later #ifndef ITEMEDITOR_H #define ITEMEDITOR_H #include <QDateTime> #include <QFileInfo> #include <QObject> #include <QPersistentModelIndex> #include <QString> class Action; class QModelIndex; class QTimer; class ItemEditor final : public QObject { Q_OBJECT public: ...
2,061
C++
.h
67
23.089552
101
0.604757
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,286
clipboardmodel.h
hluk_CopyQ/src/item/clipboardmodel.h
// SPDX-License-Identifier: GPL-3.0-or-later #ifndef CLIPBOARDMODEL_H #define CLIPBOARDMODEL_H #include "item/clipboarditem.h" #include <QAbstractListModel> #include <QList> /** * Container with clipboard items. * * Item prepending is optimized. */ class ClipboardItemList final { public: ClipboardItem &oper...
3,415
C++
.h
102
28.009804
81
0.672855
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,287
itemeditorwidget.h
hluk_CopyQ/src/item/itemeditorwidget.h
// SPDX-License-Identifier: GPL-3.0-or-later #ifndef ITEMEDITORWIDGET_H #define ITEMEDITORWIDGET_H #include "item/itemfilter.h" #include "item/itemwidget.h" #include "gui/menuitems.h" #include <QPersistentModelIndex> #include <QTextEdit> #include <memory> class ItemWidget; class QAbstractItemModel; class QPlainTex...
1,733
C++
.h
59
25.677966
97
0.757429
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,288
itemstore.h
hluk_CopyQ/src/item/itemstore.h
// SPDX-License-Identifier: GPL-3.0-or-later #ifndef ITEMSTORE_H #define ITEMSTORE_H #include "item/itemwidget.h" class QAbstractItemModel; class ItemFactory; class QString; /** Load items from configuration file. */ ItemSaverPtr loadItems(const QString &tabName, QAbstractItemModel &model //!< Model for items. ...
961
C++
.h
23
38.347826
107
0.734409
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,289
clipboarditem.h
hluk_CopyQ/src/item/clipboarditem.h
// SPDX-License-Identifier: GPL-3.0-or-later #ifndef CLIPBOARDITEM_H #define CLIPBOARDITEM_H #include <QVariant> class QByteArray; class QString; /** * Class for clipboard items in ClipboardModel. * * Clipboard item stores data of different MIME types and has single default * MIME type for displaying the conten...
1,755
C++
.h
52
29.519231
95
0.697329
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,290
itemdelegate.h
hluk_CopyQ/src/item/itemdelegate.h
// SPDX-License-Identifier: GPL-3.0-or-later #ifndef ITEMDELEGATE_H #define ITEMDELEGATE_H #include "item/itemfilter.h" #include "gui/clipboardbrowsershared.h" #include <QItemDelegate> #include <QRegularExpression> #include <QTimer> #include <memory> #include <vector> class Item; class ItemEditorWidget; class Item...
5,117
C++
.h
118
35.542373
117
0.680177
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,291
regexp.h
hluk_CopyQ/src/common/regexp.h
#ifndef REGEXP_H #define REGEXP_H #include <QRegularExpression> static QRegularExpression anchoredRegExp(const QString &pattern) { #if QT_VERSION >= QT_VERSION_CHECK(5,12,0) return QRegularExpression(QRegularExpression::anchoredPattern(pattern)); #else const auto anchoredPattern = QLatin1String("\\A(?:") + pa...
428
C++
.h
13
30.769231
91
0.776699
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,292
actiontablemodel.h
hluk_CopyQ/src/common/actiontablemodel.h
// SPDX-License-Identifier: GPL-3.0-or-later #ifndef ACTIONTABLEMODEL_H #define ACTIONTABLEMODEL_H #include <QAbstractTableModel> #include <QDateTime> class Action; enum class ActionState; class ActionTableModel final : public QAbstractTableModel { public: explicit ActionTableModel(QObject *parent = nullptr); ...
1,528
C++
.h
39
34.615385
109
0.74152
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,293
messagehandlerforqt.h
hluk_CopyQ/src/common/messagehandlerforqt.h
// SPDX-License-Identifier: GPL-3.0-or-later #ifndef MESSAGEHANDLERFORQT_H #define MESSAGEHANDLERFORQT_H void installMessageHandlerForQt(); #endif // MESSAGEHANDLERFORQT_H
175
C++
.h
5
33.4
44
0.838323
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,294
client_server.h
hluk_CopyQ/src/common/client_server.h
// SPDX-License-Identifier: GPL-3.0-or-later #ifndef CLIENT_SERVER_H #define CLIENT_SERVER_H class QString; QString clipboardServerName(); #endif // CLIENT_SERVER_H
169
C++
.h
6
26.5
44
0.798742
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,295
navigationstyle.h
hluk_CopyQ/src/common/navigationstyle.h
// SPDX-License-Identifier: GPL-3.0-or-later #pragma once #include <QtGlobal> #if QT_VERSION < QT_VERSION_CHECK(6,0,0) # include <QMetaType> #endif enum class NavigationStyle { Default, Vi, Emacs }; #if QT_VERSION < QT_VERSION_CHECK(6,0,0) Q_DECLARE_METATYPE(NavigationStyle) #endif
300
C++
.h
14
19.357143
44
0.738516
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,296
clientsocket.h
hluk_CopyQ/src/common/clientsocket.h
// SPDX-License-Identifier: GPL-3.0-or-later #ifndef CLIENTSOCKET_H #define CLIENTSOCKET_H #include <QLocalSocket> #include <QObject> #include <QPointer> using ClientSocketId = qulonglong; class LocalSocketGuard final { public: explicit LocalSocketGuard(QLocalSocket *socket); ~LocalSocketGuard(); QLoca...
1,959
C++
.h
56
30.535714
94
0.729012
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
18,297
actionhandlerenums.h
hluk_CopyQ/src/common/actionhandlerenums.h
#ifndef ACTIONHANDLERENUMS_H #define ACTIONHANDLERENUMS_H #include <QtGlobal> enum class ActionState { Starting, Running, Finished, Error, }; namespace ActionHandlerColumn { enum { id, name, status, started, finished, error, count }; } namespace ActionHandlerRole { enum {...
402
C++
.h
28
11.178571
31
0.699187
hluk/CopyQ
8,577
439
420
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false