| 1 | #cxx . . $ `<file>/mainwindow.cpp`/include "mainwindow.h"cxx . . $ `<file>/mainwindow.h`/ |
| 2 | #include "ui_mainwindow.h"cxx . . $ `<file>/.build/ui_mainwindow.h`/ |
| 3 | |
| 4 | #include <QDebug> |
| 5 | #include <QFile> |
| 6 | #include <QScrollBar> |
| 7 | #include <QClipboard> |
| 8 | #include <QHeaderView> |
| 9 | #include <QFileDialog> |
| 10 | #include <QVector> |
| 11 | #include <QMessageBox> |
| 12 | #include <QSettings> |
| 13 | #include <QDir> |
| 14 | #include <QStandardPaths> |
| 15 | #include <QProcess> |
| 16 | #include <QStyledItemDelegate> |
| 17 | #include <QRegExp> |
| 18 | |
| 19 | #include <unistd.h> |
| 20 | #include <sys/types.h> |
| 21 | |
| 22 | #include "FormAbout.h"cxx . . $ `<file>/FormAbout.h`/ |
| 23 | #include "ProcessExplorer.h"cxx . . $ `<file>/ProcessExplorer.h`/ |
| 24 | #include "DialogPasswordPrompt.h"cxx . . $ `<file>/DialogPasswordPrompt.h`/ |
| 25 | #include "config_qnetstatview.h"cxx . . $ `<file>/config_qnetstatview.h`/ |
| 26 | |
| 27 | Q_DECLARE_METATYPEcxx . . $ `<external>/17491093664533580526/qmetatype.h:2056:9`!(QVector<sNetStat>) |
| 28 | |
| 29 | class elideLeftItemCcxx . . $ elideLeftItemC# : public QStyledItemDelegatecxx . . $ QStyledItemDelegate# |
| 30 | { |
| 31 | virtual void paintcxx . . $ elideLeftItemC#paint(a0cfc6dde5a97d5a).(QPaintercxx . . $ QPainter# *painter, const QStyleOptionViewItemcxx . . $ QStyleOptionViewItem# &option, const QModelIndexcxx . . $ QModelIndex# &index) const |
| 32 | { |
| 33 | QStyleOptionViewItemcxx . . $ QStyleOptionViewItem# opt = optioncxx . . $ QStyleOptionViewItem#QStyleOptionViewItem(1c05e4a99c732f7).; |
| 34 | opt.textElideModecxx . . $ QStyleOptionViewItem#textElideMode.=Qtcxx . . $ Qt/::ElideLeftcxx . . $ Qt/ElideLeft.; |
| 35 | QStyledItemDelegatecxx . . $ QStyledItemDelegate#::paintcxx . . $ QStyledItemDelegate#paint(a0cfc6dde5a97d5a).(painter, opt, index); |
| 36 | } |
| 37 | } elideLeftItemcxx . . $ elideLeftItem.; |
| 38 | |
| 39 | MainWindowcxx . . $ MainWindow#::MainWindowcxx . . $ MainWindow#MainWindow(108f35f7aa7f3cf9).(QWidgetcxx . . $ QWidget# *parent) : QMainWindowcxx . . $ QMainWindow#(parent), uicxx . . $ MainWindow#ui.(new Uicxx . . $ Ui/::MainWindowcxx . . $ Ui/MainWindow#){ |
| 40 | uicxx . . $ MainWindow#ui.->setupUicxx . . $ Ui_MainWindow#setupUi(f2c32f691ede4a4e).(this); |
| 41 | |
| 42 | qRegisterMetaTypecxx . . $ qRegisterMetaType(10e7a86562f422e7). < QVectorcxx . . $ QVector#<sNetStatcxx . . $ sNetStat#> > ("QVector<sNetStat>"); |
| 43 | |
| 44 | // date start 19.02.2013 |
| 45 | this->setWindowTitlecxx . . $ QWidget#setWindowTitle(3520e46b33348bf6).(QStringcxx . . $ QString#QString(85c52e162fed56f9).("QNetStatView %1 (%2)").argcxx . . $ QString#arg(bc823072288cbbb5).(QNETSTATVIEW_VERSIONcxx . . $ `config_qnetstatview.h:4:9`!).argcxx . . $ QString#arg(bc823072288cbbb5).(QNETSTATVIEW_DATEBUILDcxx . . $ `config_qnetstatview.h:5:9`!)); |
| 46 | this->setWindowIconcxx . . $ QWidget#setWindowIcon(71dcdac178620ed6).(QIconcxx . . $ QIcon#QIcon(3520e46b33348bf6).(QStringcxx . . $ QString#QString(85c52e162fed56f9).(PATH_USERDATAcxx . . $ `<built-in>:480:9`!)+cxx . . $ operator+(3d22f08efddf8107)."/images/qnetstatview.png")); |
| 47 | |
| 48 | confcxx . . $ MainWindow#conf. = new QSettingscxx . . $ QSettings#(QStandardPathscxx . . $ QStandardPaths#::writableLocationcxx . . $ QStandardPaths#writableLocation(7d8b34fbb6a9c1bf).(QStandardPathscxx . . $ QStandardPaths#::AppConfigLocationcxx . . $ QStandardPaths#AppConfigLocation.)+cxx . . $ operator+(3d22f08efddf8107)."/qnetstatview.ini", QSettingscxx . . $ QSettings#::IniFormatcxx . . $ QSettings#IniFormat.); |
| 49 | confcxx . . $ MainWindow#conf.->setPathcxx . . $ QSettings#setPath(72db19683e712bc4).(QSettingscxx . . $ QSettings#::IniFormatcxx . . $ QSettings#IniFormat., QSettingscxx . . $ QSettings#::UserScopecxx . . $ QSettings#UserScope., QDircxx . . $ QDir#::currentPathcxx . . $ QDir#currentPath(4365c3963150523e).()); |
| 50 | |
| 51 | |
| 52 | // Создание ContextMenu |
| 53 | initPopupMenucxx . . $ MainWindow#initPopupMenu(49f6e7a06ebc5aa8).(); |
| 54 | |
| 55 | connectcxx . . $ QObject#connect(835f87066c895669).(uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->horizontalHeadercxx . . $ QTableView#horizontalHeader(f0c0fe1a435d30ff).(),&QHeaderViewcxx . . $ QHeaderView#::sectionClickedcxx . . $ QHeaderView#sectionClicked(d4f767463ce0a6b3).,this,&MainWindowcxx . . $ MainWindow#::tableWidget_sectionClickedcxx . . $ MainWindow#tableWidget_sectionClicked(d4f767463ce0a6b3).); |
| 56 | connectcxx . . $ QObject#connect(835f87066c895669).(uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget., &QWidgetcxx . . $ QWidget#::customContextMenuRequestedcxx . . $ QWidget#customContextMenuRequested(4f9e9534be445c03)., this, &MainWindowcxx . . $ MainWindow#::popupCustomMenucxx . . $ MainWindow#popupCustomMenu(4f9e9534be445c03). ); |
| 57 | |
| 58 | connectcxx . . $ QObject#connect(835f87066c895669).(uicxx . . $ MainWindow#ui.->actionCopycxx . . $ Ui_MainWindow#actionCopy.,&QActioncxx . . $ QAction#::triggeredcxx . . $ QAction#triggered(b45ddcbc8423892c).,this,&MainWindowcxx . . $ MainWindow#::CopyToClipboardcxx . . $ MainWindow#CopyToClipboard(49f6e7a06ebc5aa8).); |
| 59 | connectcxx . . $ QObject#connect(835f87066c895669).(uicxx . . $ MainWindow#ui.->actionSave_Ascxx . . $ Ui_MainWindow#actionSave_As.,&QActioncxx . . $ QAction#::triggeredcxx . . $ QAction#triggered(b45ddcbc8423892c).,this,&MainWindowcxx . . $ MainWindow#::CopyToFilecxx . . $ MainWindow#CopyToFile(49f6e7a06ebc5aa8).); |
| 60 | connectcxx . . $ QObject#connect(835f87066c895669).(uicxx . . $ MainWindow#ui.->actionAboutcxx . . $ Ui_MainWindow#actionAbout.,&QActioncxx . . $ QAction#::triggeredcxx . . $ QAction#triggered(b45ddcbc8423892c).,this,&MainWindowcxx . . $ MainWindow#::showAboutcxx . . $ MainWindow#showAbout(49f6e7a06ebc5aa8).); |
| 61 | |
| 62 | connectcxx . . $ QObject#connect(835f87066c895669).(uicxx . . $ MainWindow#ui.->actionRefreshcxx . . $ Ui_MainWindow#actionRefresh.,&QActioncxx . . $ QAction#::triggeredcxx . . $ QAction#triggered(b45ddcbc8423892c).,this,&MainWindowcxx . . $ MainWindow#::timerUpdate_timeoutcxx . . $ MainWindow#timerUpdate_timeout(49f6e7a06ebc5aa8).); |
| 63 | connectcxx . . $ QObject#connect(835f87066c895669).(uicxx . . $ MainWindow#ui.->actionRestart_as_Rootcxx . . $ Ui_MainWindow#actionRestart_as_Root.,&QActioncxx . . $ QAction#::triggeredcxx . . $ QAction#triggered(b45ddcbc8423892c).,this,&MainWindowcxx . . $ MainWindow#::restartAsRootcxx . . $ MainWindow#restartAsRoot(49f6e7a06ebc5aa8).); |
| 64 | connectcxx . . $ QObject#connect(835f87066c895669).(uicxx . . $ MainWindow#ui.->actionExitcxx . . $ Ui_MainWindow#actionExit.,&QActioncxx . . $ QAction#::triggeredcxx . . $ QAction#triggered(b45ddcbc8423892c).,this,&QWidgetcxx . . $ QWidget#::closecxx . . $ QWidget#close(c9857a73d68e59ba).); |
| 65 | |
| 66 | connectcxx . . $ QObject#connect(835f87066c895669).(uicxx . . $ MainWindow#ui.->actionTCPcxx . . $ Ui_MainWindow#actionTCP.,&QActioncxx . . $ QAction#::triggeredcxx . . $ QAction#triggered(b45ddcbc8423892c).,this,&MainWindowcxx . . $ MainWindow#::timerUpdate_timeoutcxx . . $ MainWindow#timerUpdate_timeout(49f6e7a06ebc5aa8).); |
| 67 | connectcxx . . $ QObject#connect(835f87066c895669).(uicxx . . $ MainWindow#ui.->actionTCP6cxx . . $ Ui_MainWindow#actionTCP6.,&QActioncxx . . $ QAction#::triggeredcxx . . $ QAction#triggered(b45ddcbc8423892c).,this,&MainWindowcxx . . $ MainWindow#::timerUpdate_timeoutcxx . . $ MainWindow#timerUpdate_timeout(49f6e7a06ebc5aa8).); |
| 68 | connectcxx . . $ QObject#connect(835f87066c895669).(uicxx . . $ MainWindow#ui.->actionUDPcxx . . $ Ui_MainWindow#actionUDP.,&QActioncxx . . $ QAction#::triggeredcxx . . $ QAction#triggered(b45ddcbc8423892c).,this,&MainWindowcxx . . $ MainWindow#::timerUpdate_timeoutcxx . . $ MainWindow#timerUpdate_timeout(49f6e7a06ebc5aa8).); |
| 69 | connectcxx . . $ QObject#connect(835f87066c895669).(uicxx . . $ MainWindow#ui.->actionUDP6cxx . . $ Ui_MainWindow#actionUDP6.,&QActioncxx . . $ QAction#::triggeredcxx . . $ QAction#triggered(b45ddcbc8423892c).,this,&MainWindowcxx . . $ MainWindow#::timerUpdate_timeoutcxx . . $ MainWindow#timerUpdate_timeout(49f6e7a06ebc5aa8).); |
| 70 | |
| 71 | connectcxx . . $ QObject#connect(835f87066c895669).(uicxx . . $ MainWindow#ui.->actionESTABLISHEDcxx . . $ Ui_MainWindow#actionESTABLISHED.,&QActioncxx . . $ QAction#::triggeredcxx . . $ QAction#triggered(b45ddcbc8423892c).,this,&MainWindowcxx . . $ MainWindow#::timerUpdate_timeoutcxx . . $ MainWindow#timerUpdate_timeout(49f6e7a06ebc5aa8).); |
| 72 | connectcxx . . $ QObject#connect(835f87066c895669).(uicxx . . $ MainWindow#ui.->actionLISTENcxx . . $ Ui_MainWindow#actionLISTEN.,&QActioncxx . . $ QAction#::triggeredcxx . . $ QAction#triggered(b45ddcbc8423892c).,this,&MainWindowcxx . . $ MainWindow#::timerUpdate_timeoutcxx . . $ MainWindow#timerUpdate_timeout(49f6e7a06ebc5aa8).); |
| 73 | connectcxx . . $ QObject#connect(835f87066c895669).(uicxx . . $ MainWindow#ui.->actionCLOSEcxx . . $ Ui_MainWindow#actionCLOSE.,&QActioncxx . . $ QAction#::triggeredcxx . . $ QAction#triggered(b45ddcbc8423892c).,this,&MainWindowcxx . . $ MainWindow#::timerUpdate_timeoutcxx . . $ MainWindow#timerUpdate_timeout(49f6e7a06ebc5aa8).); |
| 74 | connectcxx . . $ QObject#connect(835f87066c895669).(uicxx . . $ MainWindow#ui.->actionAllOthercxx . . $ Ui_MainWindow#actionAllOther.,&QActioncxx . . $ QAction#::triggeredcxx . . $ QAction#triggered(b45ddcbc8423892c).,this,&MainWindowcxx . . $ MainWindow#::timerUpdate_timeoutcxx . . $ MainWindow#timerUpdate_timeout(49f6e7a06ebc5aa8).); |
| 75 | |
| 76 | connectcxx . . $ QObject#connect(835f87066c895669).(uicxx . . $ MainWindow#ui.->actionUtilite_for_killcxx . . $ Ui_MainWindow#actionUtilite_for_kill.,&QActioncxx . . $ QAction#::triggeredcxx . . $ QAction#triggered(b45ddcbc8423892c).,this,&MainWindowcxx . . $ MainWindow#::showSetupKillcxx . . $ MainWindow#showSetupKill(49f6e7a06ebc5aa8).); |
| 77 | connectcxx . . $ QObject#connect(835f87066c895669).(uicxx . . $ MainWindow#ui.->actionResolve_Addressescxx . . $ Ui_MainWindow#actionResolve_Addresses.,&QActioncxx . . $ QAction#::triggeredcxx . . $ QAction#triggered(b45ddcbc8423892c).,this,&MainWindowcxx . . $ MainWindow#::Resolve_Addressescxx . . $ MainWindow#Resolve_Addresses(49f6e7a06ebc5aa8).); |
| 78 | |
| 79 | connectcxx . . $ QObject#connect(835f87066c895669).(uicxx . . $ MainWindow#ui.->action1_secondcxx . . $ Ui_MainWindow#action1_second.,&QActioncxx . . $ QAction#::triggeredcxx . . $ QAction#triggered(b45ddcbc8423892c).,this,&MainWindowcxx . . $ MainWindow#::timer_speed1cxx . . $ MainWindow#timer_speed1(49f6e7a06ebc5aa8).); |
| 80 | connectcxx . . $ QObject#connect(835f87066c895669).(uicxx . . $ MainWindow#ui.->action3_secondcxx . . $ Ui_MainWindow#action3_second.,&QActioncxx . . $ QAction#::triggeredcxx . . $ QAction#triggered(b45ddcbc8423892c).,this,&MainWindowcxx . . $ MainWindow#::timer_speed3cxx . . $ MainWindow#timer_speed3(49f6e7a06ebc5aa8).); |
| 81 | connectcxx . . $ QObject#connect(835f87066c895669).(uicxx . . $ MainWindow#ui.->action5_secondcxx . . $ Ui_MainWindow#action5_second.,&QActioncxx . . $ QAction#::triggeredcxx . . $ QAction#triggered(b45ddcbc8423892c).,this,&MainWindowcxx . . $ MainWindow#::timer_speed5cxx . . $ MainWindow#timer_speed5(49f6e7a06ebc5aa8).); |
| 82 | connectcxx . . $ QObject#connect(835f87066c895669).(uicxx . . $ MainWindow#ui.->actionPausecxx . . $ Ui_MainWindow#actionPause.,&QActioncxx . . $ QAction#::triggeredcxx . . $ QAction#triggered(b45ddcbc8423892c).,this,&MainWindowcxx . . $ MainWindow#::timer_pausecxx . . $ MainWindow#timer_pause(49f6e7a06ebc5aa8).); |
| 83 | |
| 84 | |
| 85 | uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->clearcxx . . $ QTableWidget#clear(49f6e7a06ebc5aa8).(); |
| 86 | uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->setRowCountcxx . . $ QTableWidget#setRowCount(d4f767463ce0a6b3).(0); |
| 87 | |
| 88 | // init tableWidget |
| 89 | uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->verticalHeadercxx . . $ QTableView#verticalHeader(f0c0fe1a435d30ff).()->hidecxx . . $ QWidget#hide(49f6e7a06ebc5aa8).(); |
| 90 | uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->setColumnCountcxx . . $ QTableWidget#setColumnCount(d4f767463ce0a6b3).(8); |
| 91 | uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->sortByColumncxx . . $ QTableView#sortByColumn(11168df8d4e8286d).(1,Qtcxx . . $ Qt/::AscendingOrdercxx . . $ Qt/AscendingOrder.); |
| 92 | uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->setColumnHiddencxx . . $ QTableView#setColumnHidden(918ebd27a9ddbad3).(0,true); |
| 93 | uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->setItemDelegateForColumncxx . . $ QAbstractItemView#setItemDelegateForColumn(21e833539585089).(6, &elideLeftItemcxx . . $ elideLeftItem.); |
| 94 | |
| 95 | uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->setHorizontalHeaderLabelscxx . . $ QTableWidget#setHorizontalHeaderLabels(631c0101495f0328).(QStringListcxx . . $ QStringList#QStringList(ced63f7c635d850d).() <<cxx . . $ QStringList#`operator<<`(85116071a693d053). ""cxx . . $ QString#QString(85c52e162fed56f9). <<cxx . . $ QStringList#`operator<<`(85116071a693d053). trcxx . . $ MainWindow#tr(75d9f1c324b4579d).("prot") <<cxx . . $ QStringList#`operator<<`(85116071a693d053). trcxx . . $ MainWindow#tr(75d9f1c324b4579d).("local address") <<cxx . . $ QStringList#`operator<<`(85116071a693d053). trcxx . . $ MainWindow#tr(75d9f1c324b4579d).("rem address") <<cxx . . $ QStringList#`operator<<`(85116071a693d053). trcxx . . $ MainWindow#tr(75d9f1c324b4579d).("state") <<cxx . . $ QStringList#`operator<<`(85116071a693d053). trcxx . . $ MainWindow#tr(75d9f1c324b4579d).("pid") <<cxx . . $ QStringList#`operator<<`(85116071a693d053). trcxx . . $ MainWindow#tr(75d9f1c324b4579d).("program") <<cxx . . $ QStringList#`operator<<`(85116071a693d053). trcxx . . $ MainWindow#tr(75d9f1c324b4579d).("cmdline")); |
| 96 | |
| 97 | uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->horizontalScrollBarcxx . . $ QAbstractScrollArea#horizontalScrollBar(49d9510c6adf8c19).()->setMaximumcxx . . $ QAbstractSlider#setMaximum(d4f767463ce0a6b3).(uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->columnCountcxx . . $ QTableWidget#columnCount(455f465bc33b4cdf).()); |
| 98 | |
| 99 | uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->setContextMenuPolicycxx . . $ QWidget#setContextMenuPolicy(de0fa9f0eb4c7210).(Qtcxx . . $ Qt/::ActionsContextMenucxx . . $ Qt/ActionsContextMenu.); |
| 100 | uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->setSelectionBehaviorcxx . . $ QAbstractItemView#setSelectionBehavior(3a606fd1f72e340).(QAbstractItemViewcxx . . $ QAbstractItemView#::SelectRowscxx . . $ QAbstractItemView#SelectRows.); |
| 101 | uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->setContextMenuPolicycxx . . $ QWidget#setContextMenuPolicy(de0fa9f0eb4c7210).( Qtcxx . . $ Qt/::CustomContextMenucxx . . $ Qt/CustomContextMenu. ); |
| 102 | uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->setSelectionModecxx . . $ QAbstractItemView#setSelectionMode(92c48cbe05de0e90).(QAbstractItemViewcxx . . $ QAbstractItemView#::SingleSelectioncxx . . $ QAbstractItemView#SingleSelection.); |
| 103 | |
| 104 | // default value |
| 105 | uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->setColumnWidthcxx . . $ QTableView#setColumnWidth(3e454b8ccf442868).(1,41); |
| 106 | uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->setColumnWidthcxx . . $ QTableView#setColumnWidth(3e454b8ccf442868).(2,160); |
| 107 | uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->setColumnWidthcxx . . $ QTableView#setColumnWidth(3e454b8ccf442868).(3,160); |
| 108 | uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->setColumnWidthcxx . . $ QTableView#setColumnWidth(3e454b8ccf442868).(5,45); |
| 109 | uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->setColumnWidthcxx . . $ QTableView#setColumnWidth(3e454b8ccf442868).(7,345); |
| 110 | |
| 111 | |
| 112 | #if defined(Q_OS_LINUXcxx . . $ `<external>/5130987379601705141/qsystemdetection.h:150:11`!) || defined(Q_OS_UNIXcxx . . $ `<external>/5130987379601705141/qsystemdetection.h:201:11`!) |
| 113 | if (getuid()==0){ |
| 114 | uicxx . . $ MainWindow#ui.->actionRestart_as_Rootcxx . . $ Ui_MainWindow#actionRestart_as_Root.->setVisiblecxx . . $ QAction#setVisible(b45ddcbc8423892c).(false); |
| 115 | } |
| 116 | #elif defined(Q_OS_WIN) |
| 117 | ui->actionRestart_as_Root->setVisible(false); |
| 118 | #endif |
| 119 | |
| 120 | |
| 121 | netstatcxx . . $ MainWindow#netstat. = new cNetStatcxx . . $ cNetStat#(); |
| 122 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(netstatcxx . . $ MainWindow#netstat.,SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(endReadStat(QVector<sNetStat>)),this,SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(drawTable(QVector<sNetStat>))); |
| 123 | |
| 124 | sortcolcxx . . $ MainWindow#sortcol.=2; |
| 125 | |
| 126 | // Загрузка services |
| 127 | QFilecxx . . $ QFile# filecxx . . $ QFile#QFile(3520e46b33348bf6).(":services"cxx . . $ QString#QString(85c52e162fed56f9).); |
| 128 | if (file.opencxx . . $ QFile#open(dca164408be960c8).(QIODevicecxx . . $ QIODevice#::ReadOnlycxx . . $ QIODevice#ReadOnly. |cxx . . $ `operator|`(c9e45f682471e48d). QIODevicecxx . . $ QIODevice#::Textcxx . . $ QIODevice#Text.)){ |
| 129 | QTextStreamcxx . . $ QTextStream# incxx . . $ QTextStream#QTextStream(bebe8f2dee7f9e86).(&file); |
| 130 | while (!in.atEndcxx . . $ QTextStream#atEnd(50ce9a9e25b4a850).()) { |
| 131 | QStringListcxx . . $ QStringList# service = in.readLinecxx . . $ QTextStream#readLine(20e0a2766677f583).().splitcxx . . $ QString#split(4bed3a84ceee0bef).(QRegularExpressioncxx . . $ QRegularExpression#QRegularExpression(4279d2539df7cd4a).("\\s+"cxx . . $ QString#QString(85c52e162fed56f9).)); |
| 132 | if (service.sizecxx . . $ QList#size(ea6fe5115c70a13f).()<2) continue; |
| 133 | ServicesCachecxx . . $ MainWindow#ServicesCache.[cxx . . $ QMap#`operator[]`(bbd415b616967878).service.atcxx . . $ QList#at(e2681f9bb6b2f357).(1).toUppercxx . . $ QString#toUpper(dca2c5857e9adf82).()]=cxx . . $ QString#`operator=`(b79fde0b0ce9b948).service.atcxx . . $ QList#at(e2681f9bb6b2f357).(0); |
| 134 | } |
| 135 | file.closecxx . . $ QFileDevice#close(49f6e7a06ebc5aa8).(); |
| 136 | } |
| 137 | |
| 138 | timerUpdate_timeoutcxx . . $ MainWindow#timerUpdate_timeout(49f6e7a06ebc5aa8).(); |
| 139 | timerUpdatecxx . . $ MainWindow#timerUpdate. = new QTimercxx . . $ QTimer#QTimer(749de1b6ae65bddd).(this); |
| 140 | connectcxx . . $ QObject#connect(158df1d9a01a3410). (timerUpdatecxx . . $ MainWindow#timerUpdate.,SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(timeout()),this,SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(timerUpdate_timeout())); |
| 141 | timerUpdatecxx . . $ MainWindow#timerUpdate.->startcxx . . $ QTimer#start(d4f767463ce0a6b3).(3000); |
| 142 | |
| 143 | |
| 144 | // restore from config |
| 145 | this->resizecxx . . $ QWidget#resize(3e454b8ccf442868).(confcxx . . $ MainWindow#conf.->valuecxx . . $ QSettings#value(12a1b1749da49362).("form/width"cxx . . $ QString#QString(85c52e162fed56f9).,thiscxx . . $ QVariant#QVariant(d4f767463ce0a6b3).->widthcxx . . $ QWidget#width(455f465bc33b4cdf).()).toIntcxx . . $ QVariant#toInt(5bd9a3493f6a7a21).(),confcxx . . $ MainWindow#conf.->valuecxx . . $ QSettings#value(12a1b1749da49362).("form/height"cxx . . $ QString#QString(85c52e162fed56f9).,thiscxx . . $ QVariant#QVariant(d4f767463ce0a6b3).->heightcxx . . $ QWidget#height(455f465bc33b4cdf).()).toIntcxx . . $ QVariant#toInt(5bd9a3493f6a7a21).()); |
| 146 | |
| 147 | for (int tableCol=1;tableCol<uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->columnCountcxx . . $ QTableWidget#columnCount(455f465bc33b4cdf).();tableCol++){ |
| 148 | uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->setColumnWidthcxx . . $ QTableView#setColumnWidth(3e454b8ccf442868).(tableCol,confcxx . . $ MainWindow#conf.->valuecxx . . $ QSettings#value(12a1b1749da49362).("tableWidget/column"+cxx . . $ operator+(c75c3ae4eb9af1a8).QStringcxx . . $ QString#::numbercxx . . $ QString#number(f4fd9db251ca774b).(tableCol),uicxx . . $ QVariant#QVariant(d4f767463ce0a6b3).->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->columnWidthcxx . . $ QTableView#columnWidth(7ccb52b1bfe01045).(tableCol)).toIntcxx . . $ QVariant#toInt(5bd9a3493f6a7a21).()); |
| 149 | } |
| 150 | |
| 151 | uicxx . . $ MainWindow#ui.->actionResolve_Addressescxx . . $ Ui_MainWindow#actionResolve_Addresses.->setCheckedcxx . . $ QAction#setChecked(b45ddcbc8423892c).(confcxx . . $ MainWindow#conf.->valuecxx . . $ QSettings#value(12a1b1749da49362).("view/resolve"cxx . . $ QString#QString(85c52e162fed56f9).,"false"cxx . . $ QVariant#QVariant(85c52e162fed56f9).).toBoolcxx . . $ QVariant#toBool(50ce9a9e25b4a850).()); |
| 152 | uicxx . . $ MainWindow#ui.->actionTCPcxx . . $ Ui_MainWindow#actionTCP.->setCheckedcxx . . $ QAction#setChecked(b45ddcbc8423892c).(confcxx . . $ MainWindow#conf.->valuecxx . . $ QSettings#value(12a1b1749da49362).("view/TCP"cxx . . $ QString#QString(85c52e162fed56f9).,"true"cxx . . $ QVariant#QVariant(85c52e162fed56f9).).toBoolcxx . . $ QVariant#toBool(50ce9a9e25b4a850).()); |
| 153 | uicxx . . $ MainWindow#ui.->actionUDPcxx . . $ Ui_MainWindow#actionUDP.->setCheckedcxx . . $ QAction#setChecked(b45ddcbc8423892c).(confcxx . . $ MainWindow#conf.->valuecxx . . $ QSettings#value(12a1b1749da49362).("view/UDP"cxx . . $ QString#QString(85c52e162fed56f9).,"true"cxx . . $ QVariant#QVariant(85c52e162fed56f9).).toBoolcxx . . $ QVariant#toBool(50ce9a9e25b4a850).()); |
| 154 | uicxx . . $ MainWindow#ui.->actionTCP6cxx . . $ Ui_MainWindow#actionTCP6.->setCheckedcxx . . $ QAction#setChecked(b45ddcbc8423892c).(confcxx . . $ MainWindow#conf.->valuecxx . . $ QSettings#value(12a1b1749da49362).("view/TCP6"cxx . . $ QString#QString(85c52e162fed56f9).,"true"cxx . . $ QVariant#QVariant(85c52e162fed56f9).).toBoolcxx . . $ QVariant#toBool(50ce9a9e25b4a850).()); |
| 155 | uicxx . . $ MainWindow#ui.->actionUDP6cxx . . $ Ui_MainWindow#actionUDP6.->setCheckedcxx . . $ QAction#setChecked(b45ddcbc8423892c).(confcxx . . $ MainWindow#conf.->valuecxx . . $ QSettings#value(12a1b1749da49362).("view/UDP6"cxx . . $ QString#QString(85c52e162fed56f9).,"true"cxx . . $ QVariant#QVariant(85c52e162fed56f9).).toBoolcxx . . $ QVariant#toBool(50ce9a9e25b4a850).()); |
| 156 | |
| 157 | uicxx . . $ MainWindow#ui.->actionLISTENcxx . . $ Ui_MainWindow#actionLISTEN.->setCheckedcxx . . $ QAction#setChecked(b45ddcbc8423892c).(confcxx . . $ MainWindow#conf.->valuecxx . . $ QSettings#value(12a1b1749da49362).("view/status_listen"cxx . . $ QString#QString(85c52e162fed56f9).,"true"cxx . . $ QVariant#QVariant(85c52e162fed56f9).).toBoolcxx . . $ QVariant#toBool(50ce9a9e25b4a850).()); |
| 158 | uicxx . . $ MainWindow#ui.->actionESTABLISHEDcxx . . $ Ui_MainWindow#actionESTABLISHED.->setCheckedcxx . . $ QAction#setChecked(b45ddcbc8423892c).(confcxx . . $ MainWindow#conf.->valuecxx . . $ QSettings#value(12a1b1749da49362).("view/status_established"cxx . . $ QString#QString(85c52e162fed56f9).,"true"cxx . . $ QVariant#QVariant(85c52e162fed56f9).).toBoolcxx . . $ QVariant#toBool(50ce9a9e25b4a850).()); |
| 159 | uicxx . . $ MainWindow#ui.->actionCLOSEcxx . . $ Ui_MainWindow#actionCLOSE.->setCheckedcxx . . $ QAction#setChecked(b45ddcbc8423892c).(confcxx . . $ MainWindow#conf.->valuecxx . . $ QSettings#value(12a1b1749da49362).("view/status_close"cxx . . $ QString#QString(85c52e162fed56f9).,"true"cxx . . $ QVariant#QVariant(85c52e162fed56f9).).toBoolcxx . . $ QVariant#toBool(50ce9a9e25b4a850).()); |
| 160 | uicxx . . $ MainWindow#ui.->actionAllOthercxx . . $ Ui_MainWindow#actionAllOther.->setCheckedcxx . . $ QAction#setChecked(b45ddcbc8423892c).(confcxx . . $ MainWindow#conf.->valuecxx . . $ QSettings#value(12a1b1749da49362).("view/status_other"cxx . . $ QString#QString(85c52e162fed56f9).,"true"cxx . . $ QVariant#QVariant(85c52e162fed56f9).).toBoolcxx . . $ QVariant#toBool(50ce9a9e25b4a850).()); |
| 161 | |
| 162 | |
| 163 | int speed = confcxx . . $ MainWindow#conf.->valuecxx . . $ QSettings#value(12a1b1749da49362).("setup/speed"cxx . . $ QString#QString(85c52e162fed56f9).,3cxx . . $ QVariant#QVariant(d4f767463ce0a6b3).).toIntcxx . . $ QVariant#toInt(5bd9a3493f6a7a21).(); |
| 164 | switch (speed) { |
| 165 | case 0: |
| 166 | timer_pausecxx . . $ MainWindow#timer_pause(49f6e7a06ebc5aa8).(); |
| 167 | break; |
| 168 | case 1: |
| 169 | timer_speed1cxx . . $ MainWindow#timer_speed1(49f6e7a06ebc5aa8).(); |
| 170 | break; |
| 171 | case 5: |
| 172 | timer_speed5cxx . . $ MainWindow#timer_speed5(49f6e7a06ebc5aa8).(); |
| 173 | break; |
| 174 | default: |
| 175 | timer_speed3cxx . . $ MainWindow#timer_speed3(49f6e7a06ebc5aa8).(); |
| 176 | break; |
| 177 | } |
| 178 | |
| 179 | } |
| 180 | |
| 181 | MainWindowcxx . . $ MainWindow#::~cxx . . $ MainWindow#`~MainWindow`(ced63f7c635d850d).MainWindowcxx . . $ MainWindow#(){ |
| 182 | timerUpdatecxx . . $ MainWindow#timerUpdate.->stopcxx . . $ QTimer#stop(49f6e7a06ebc5aa8).(); |
| 183 | |
| 184 | confcxx . . $ MainWindow#conf.->setValuecxx . . $ QSettings#setValue(1c60a90c724e6bfb).("form/width"cxx . . $ QString#QString(85c52e162fed56f9).,thiscxx . . $ QVariant#QVariant(d4f767463ce0a6b3).->widthcxx . . $ QWidget#width(455f465bc33b4cdf).()); |
| 185 | confcxx . . $ MainWindow#conf.->setValuecxx . . $ QSettings#setValue(1c60a90c724e6bfb).("form/height"cxx . . $ QString#QString(85c52e162fed56f9).,thiscxx . . $ QVariant#QVariant(d4f767463ce0a6b3).->heightcxx . . $ QWidget#height(455f465bc33b4cdf).()); |
| 186 | |
| 187 | for (int tableCol=1;tableCol<uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->columnCountcxx . . $ QTableWidget#columnCount(455f465bc33b4cdf).();tableCol++){ |
| 188 | confcxx . . $ MainWindow#conf.->setValuecxx . . $ QSettings#setValue(1c60a90c724e6bfb).("tableWidget/column"+cxx . . $ operator+(c75c3ae4eb9af1a8).QStringcxx . . $ QString#::numbercxx . . $ QString#number(f4fd9db251ca774b).(tableCol),uicxx . . $ QVariant#QVariant(d4f767463ce0a6b3).->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->columnWidthcxx . . $ QTableView#columnWidth(7ccb52b1bfe01045).(tableCol)); |
| 189 | } |
| 190 | |
| 191 | confcxx . . $ MainWindow#conf.->setValuecxx . . $ QSettings#setValue(1c60a90c724e6bfb).("view/resolve"cxx . . $ QString#QString(85c52e162fed56f9).,uicxx . . $ QVariant#QVariant(b45ddcbc8423892c).->actionResolve_Addressescxx . . $ Ui_MainWindow#actionResolve_Addresses.->isCheckedcxx . . $ QAction#isChecked(50ce9a9e25b4a850).()); |
| 192 | |
| 193 | confcxx . . $ MainWindow#conf.->setValuecxx . . $ QSettings#setValue(1c60a90c724e6bfb).("view/TCP"cxx . . $ QString#QString(85c52e162fed56f9).,uicxx . . $ QVariant#QVariant(b45ddcbc8423892c).->actionTCPcxx . . $ Ui_MainWindow#actionTCP.->isCheckedcxx . . $ QAction#isChecked(50ce9a9e25b4a850).()); |
| 194 | confcxx . . $ MainWindow#conf.->setValuecxx . . $ QSettings#setValue(1c60a90c724e6bfb).("view/UDP"cxx . . $ QString#QString(85c52e162fed56f9).,uicxx . . $ QVariant#QVariant(b45ddcbc8423892c).->actionUDPcxx . . $ Ui_MainWindow#actionUDP.->isCheckedcxx . . $ QAction#isChecked(50ce9a9e25b4a850).()); |
| 195 | confcxx . . $ MainWindow#conf.->setValuecxx . . $ QSettings#setValue(1c60a90c724e6bfb).("view/TCP6"cxx . . $ QString#QString(85c52e162fed56f9).,uicxx . . $ QVariant#QVariant(b45ddcbc8423892c).->actionTCP6cxx . . $ Ui_MainWindow#actionTCP6.->isCheckedcxx . . $ QAction#isChecked(50ce9a9e25b4a850).()); |
| 196 | confcxx . . $ MainWindow#conf.->setValuecxx . . $ QSettings#setValue(1c60a90c724e6bfb).("view/UDP6"cxx . . $ QString#QString(85c52e162fed56f9).,uicxx . . $ QVariant#QVariant(b45ddcbc8423892c).->actionUDP6cxx . . $ Ui_MainWindow#actionUDP6.->isCheckedcxx . . $ QAction#isChecked(50ce9a9e25b4a850).()); |
| 197 | |
| 198 | confcxx . . $ MainWindow#conf.->setValuecxx . . $ QSettings#setValue(1c60a90c724e6bfb).("view/status_listen"cxx . . $ QString#QString(85c52e162fed56f9).,uicxx . . $ QVariant#QVariant(b45ddcbc8423892c).->actionLISTENcxx . . $ Ui_MainWindow#actionLISTEN.->isCheckedcxx . . $ QAction#isChecked(50ce9a9e25b4a850).()); |
| 199 | confcxx . . $ MainWindow#conf.->setValuecxx . . $ QSettings#setValue(1c60a90c724e6bfb).("view/status_established"cxx . . $ QString#QString(85c52e162fed56f9).,uicxx . . $ QVariant#QVariant(b45ddcbc8423892c).->actionESTABLISHEDcxx . . $ Ui_MainWindow#actionESTABLISHED.->isCheckedcxx . . $ QAction#isChecked(50ce9a9e25b4a850).()); |
| 200 | confcxx . . $ MainWindow#conf.->setValuecxx . . $ QSettings#setValue(1c60a90c724e6bfb).("view/status_close"cxx . . $ QString#QString(85c52e162fed56f9).,uicxx . . $ QVariant#QVariant(b45ddcbc8423892c).->actionCLOSEcxx . . $ Ui_MainWindow#actionCLOSE.->isCheckedcxx . . $ QAction#isChecked(50ce9a9e25b4a850).()); |
| 201 | confcxx . . $ MainWindow#conf.->setValuecxx . . $ QSettings#setValue(1c60a90c724e6bfb).("view/status_other"cxx . . $ QString#QString(85c52e162fed56f9).,uicxx . . $ QVariant#QVariant(b45ddcbc8423892c).->actionAllOthercxx . . $ Ui_MainWindow#actionAllOther.->isCheckedcxx . . $ QAction#isChecked(50ce9a9e25b4a850).()); |
| 202 | |
| 203 | int speed=3; |
| 204 | if (uicxx . . $ MainWindow#ui.->actionPausecxx . . $ Ui_MainWindow#actionPause.->isCheckedcxx . . $ QAction#isChecked(50ce9a9e25b4a850).()) speed=0; |
| 205 | if (uicxx . . $ MainWindow#ui.->action1_secondcxx . . $ Ui_MainWindow#action1_second.->isCheckedcxx . . $ QAction#isChecked(50ce9a9e25b4a850).()) speed=1; |
| 206 | if (uicxx . . $ MainWindow#ui.->action5_secondcxx . . $ Ui_MainWindow#action5_second.->isCheckedcxx . . $ QAction#isChecked(50ce9a9e25b4a850).()) speed=5; |
| 207 | confcxx . . $ MainWindow#conf.->setValuecxx . . $ QSettings#setValue(1c60a90c724e6bfb).("setup/speed"cxx . . $ QString#QString(85c52e162fed56f9).,speedcxx . . $ QVariant#QVariant(d4f767463ce0a6b3).); |
| 208 | |
| 209 | delete timerUpdatecxx . . $ MainWindow#timerUpdate.; |
| 210 | delete confcxx . . $ MainWindow#conf.; |
| 211 | delete uicxx . . $ MainWindow#ui.; |
| 212 | } |
| 213 | |
| 214 | |
| 215 | void MainWindowcxx . . $ MainWindow#::initPopupMenucxx . . $ MainWindow#initPopupMenu(49f6e7a06ebc5aa8).(){ |
| 216 | menucxx . . $ MainWindow#menu. = new QMenucxx . . $ QMenu#QMenu(90d5708627041e22).("my"cxx . . $ QString#QString(85c52e162fed56f9)., this); |
| 217 | |
| 218 | actionPropertiesProcesscxx . . $ MainWindow#actionPropertiesProcess. = new QActioncxx . . $ QAction#QAction(6b24f83d17022bd9).(trcxx . . $ MainWindow#tr(75d9f1c324b4579d).("Properties..."),menucxx . . $ MainWindow#menu.); |
| 219 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(actionPropertiesProcesscxx . . $ MainWindow#actionPropertiesProcess.,SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()),this,SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(PropertiesProcess())); |
| 220 | |
| 221 | actionKillProcesscxx . . $ MainWindow#actionKillProcess. = new QActioncxx . . $ QAction#QAction(6b24f83d17022bd9).(trcxx . . $ MainWindow#tr(75d9f1c324b4579d).("Kill process"),menucxx . . $ MainWindow#menu.); |
| 222 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(actionKillProcesscxx . . $ MainWindow#actionKillProcess.,SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()),this,SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(killProcess())); |
| 223 | |
| 224 | actionCloseConnectioncxx . . $ MainWindow#actionCloseConnection. = new QActioncxx . . $ QAction#QAction(6b24f83d17022bd9).(trcxx . . $ MainWindow#tr(75d9f1c324b4579d).("Close connection"),menucxx . . $ MainWindow#menu.); |
| 225 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(actionCloseConnectioncxx . . $ MainWindow#actionCloseConnection.,SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()),this,SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(closeConnection())); |
| 226 | |
| 227 | |
| 228 | #if defined(Q_OS_LINUXcxx . . $ `<external>/5130987379601705141/qsystemdetection.h:150:11`!) || defined(Q_OS_UNIXcxx . . $ `<external>/5130987379601705141/qsystemdetection.h:201:11`!) |
| 229 | menucxx . . $ MainWindow#menu.->addActioncxx . . $ QWidget#addAction(92b1e80c0a7f1406).(actionPropertiesProcesscxx . . $ MainWindow#actionPropertiesProcess.); |
| 230 | #endif |
| 231 | menucxx . . $ MainWindow#menu.->addActioncxx . . $ QWidget#addAction(92b1e80c0a7f1406).(actionKillProcesscxx . . $ MainWindow#actionKillProcess.); |
| 232 | #if defined(Q_OS_LINUXcxx . . $ `<external>/5130987379601705141/qsystemdetection.h:150:11`!) || defined(Q_OS_UNIXcxx . . $ `<external>/5130987379601705141/qsystemdetection.h:201:11`!) |
| 233 | menucxx . . $ MainWindow#menu.->addActioncxx . . $ QWidget#addAction(92b1e80c0a7f1406).(actionCloseConnectioncxx . . $ MainWindow#actionCloseConnection.); |
| 234 | #endif |
| 235 | |
| 236 | |
| 237 | } |
| 238 | void MainWindowcxx . . $ MainWindow#::popupCustomMenucxx . . $ MainWindow#popupCustomMenu(4f9e9534be445c03).( const QPointcxx . . $ QPoint# &pos ){ |
| 239 | if (uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->currentRowcxx . . $ QTableWidget#currentRow(455f465bc33b4cdf).()==-1) return; |
| 240 | |
| 241 | QStringcxx . . $ QString# proc_id = uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->itemcxx . . $ QTableWidget#item(e78ccbf9c1467f73).(uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->currentRowcxx . . $ QTableWidget#currentRow(455f465bc33b4cdf).(),5)->textcxx . . $ QTableWidgetItem#text(6ef7b6c27b00b43d).(); |
| 242 | QStringcxx . . $ QString# prog = uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->itemcxx . . $ QTableWidget#item(e78ccbf9c1467f73).(uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->currentRowcxx . . $ QTableWidget#currentRow(455f465bc33b4cdf).(),6)->textcxx . . $ QTableWidgetItem#text(6ef7b6c27b00b43d).(); |
| 243 | |
| 244 | if (proc_id.isEmptycxx . . $ QString#isEmpty(50ce9a9e25b4a850).() or proc_id==cxx . . $ QString#`operator==`(7d4bdb1abc417636)."0" or prog==cxx . . $ QString#`operator==`(7d4bdb1abc417636)."-"){ |
| 245 | actionPropertiesProcesscxx . . $ MainWindow#actionPropertiesProcess.->setEnabledcxx . . $ QAction#setEnabled(b45ddcbc8423892c).(false); |
| 246 | actionKillProcesscxx . . $ MainWindow#actionKillProcess.->setEnabledcxx . . $ QAction#setEnabled(b45ddcbc8423892c).(false); |
| 247 | }else{ |
| 248 | actionPropertiesProcesscxx . . $ MainWindow#actionPropertiesProcess.->setEnabledcxx . . $ QAction#setEnabled(b45ddcbc8423892c).(true); |
| 249 | actionKillProcesscxx . . $ MainWindow#actionKillProcess.->setEnabledcxx . . $ QAction#setEnabled(b45ddcbc8423892c).(true); |
| 250 | } |
| 251 | menucxx . . $ MainWindow#menu.->popupcxx . . $ QMenu#popup(371d674a5bfc952e).(uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->mapToGlobalcxx . . $ QWidget#mapToGlobal(1aa4d425351b0c99).(pos)); |
| 252 | } |
| 253 | |
| 254 | void MainWindowcxx . . $ MainWindow#::killProcesscxx . . $ MainWindow#killProcess(49f6e7a06ebc5aa8).(){ |
| 255 | ProcessListcxx . . $ ProcessList#::killProcesscxx . . $ ProcessList#killProcess(7df51288a9ebd664).(uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->itemcxx . . $ QTableWidget#item(e78ccbf9c1467f73).(uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->currentRowcxx . . $ QTableWidget#currentRow(455f465bc33b4cdf).(),5)->textcxx . . $ QTableWidgetItem#text(6ef7b6c27b00b43d).()); |
| 256 | } |
| 257 | |
| 258 | void MainWindowcxx . . $ MainWindow#::PropertiesProcesscxx . . $ MainWindow#PropertiesProcess(49f6e7a06ebc5aa8).(){ |
| 259 | int pid = uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->itemcxx . . $ QTableWidget#item(e78ccbf9c1467f73).(uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->currentRowcxx . . $ QTableWidget#currentRow(455f465bc33b4cdf).(),5)->textcxx . . $ QTableWidgetItem#text(6ef7b6c27b00b43d).().toIntcxx . . $ QString#toInt(d7972accae11ee1f).(); |
| 260 | |
| 261 | ProcessExplorercxx . . $ ProcessExplorer# formcxx . . $ ProcessExplorer#ProcessExplorer(2a5d9dfebf5c0b7a).(pid,this); |
| 262 | form.execcxx . . $ QDialog#exec(b126dc7c1de90089).(); |
| 263 | } |
| 264 | |
| 265 | void MainWindowcxx . . $ MainWindow#::closeConnectioncxx . . $ MainWindow#closeConnection(49f6e7a06ebc5aa8).(){ |
| 266 | #if defined(Q_OS_WIN) |
| 267 | QMessageBox::critical(this,tr("close connection"),tr("This function is not implemented for this OS")); |
| 268 | return; |
| 269 | #else |
| 270 | if (getuid()==0){ |
| 271 | if (uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->itemcxx . . $ QTableWidget#item(e78ccbf9c1467f73).(uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->currentRowcxx . . $ QTableWidget#currentRow(455f465bc33b4cdf).(),4)->textcxx . . $ QTableWidgetItem#text(6ef7b6c27b00b43d).() ==cxx . . $ QString#`operator==`(7d4bdb1abc417636). "ESTABLISHED"){ |
| 272 | ProcessListcxx . . $ ProcessList#::closeConnectioncxx . . $ ProcessList#closeConnection(3458fe3960d5051).(uicxx . . $ QString#QString(132dd6869045752b).->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->itemcxx . . $ QTableWidget#item(e78ccbf9c1467f73).(uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->currentRowcxx . . $ QTableWidget#currentRow(455f465bc33b4cdf).(),0)->textcxx . . $ QTableWidgetItem#text(6ef7b6c27b00b43d).().splitcxx . . $ QString#split(c8b44a97dcb6200d).("/"cxx . . $ QString#QString(85c52e162fed56f9).).atcxx . . $ QList#at(e2681f9bb6b2f357).(0),uicxx . . $ QString#QString(132dd6869045752b).->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->itemcxx . . $ QTableWidget#item(e78ccbf9c1467f73).(uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->currentRowcxx . . $ QTableWidget#currentRow(455f465bc33b4cdf).(),0)->textcxx . . $ QTableWidgetItem#text(6ef7b6c27b00b43d).().splitcxx . . $ QString#split(c8b44a97dcb6200d).("/"cxx . . $ QString#QString(85c52e162fed56f9).).atcxx . . $ QList#at(e2681f9bb6b2f357).(1)); |
| 273 | }else{ |
| 274 | QMessageBoxcxx . . $ QMessageBox#::criticalcxx . . $ QMessageBox#critical(a9e3742e6f7b4147).(this,trcxx . . $ MainWindow#tr(75d9f1c324b4579d).("close connection"),trcxx . . $ MainWindow#tr(75d9f1c324b4579d).("Only ESTABLISHED")); |
| 275 | } |
| 276 | }else{ |
| 277 | QMessageBoxcxx . . $ QMessageBox#::criticalcxx . . $ QMessageBox#critical(a9e3742e6f7b4147).(this,trcxx . . $ MainWindow#tr(75d9f1c324b4579d).("close connection"),trcxx . . $ MainWindow#tr(75d9f1c324b4579d).("Only root can do this")); |
| 278 | } |
| 279 | #endif |
| 280 | |
| 281 | } |
| 282 | |
| 283 | void MainWindowcxx . . $ MainWindow#::tableWidget_sectionClickedcxx . . $ MainWindow#tableWidget_sectionClicked(d4f767463ce0a6b3).(int col){ |
| 284 | sortcolcxx . . $ MainWindow#sortcol.=col; |
| 285 | timerUpdate_timeoutcxx . . $ MainWindow#timerUpdate_timeout(49f6e7a06ebc5aa8).(); |
| 286 | } |
| 287 | |
| 288 | void MainWindowcxx . . $ MainWindow#::showAboutcxx . . $ MainWindow#showAbout(49f6e7a06ebc5aa8).(){ |
| 289 | FormAboutcxx . . $ FormAbout# formcxx . . $ FormAbout#FormAbout(108f35f7aa7f3cf9).(this); |
| 290 | form.execcxx . . $ QDialog#exec(b126dc7c1de90089).(); |
| 291 | } |
| 292 | |
| 293 | void MainWindowcxx . . $ MainWindow#::CopyToClipboardcxx . . $ MainWindow#CopyToClipboard(49f6e7a06ebc5aa8).(){ |
| 294 | if (uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->currentRowcxx . . $ QTableWidget#currentRow(455f465bc33b4cdf).()==-1){ |
| 295 | QMessageBoxcxx . . $ QMessageBox#::criticalcxx . . $ QMessageBox#critical(a9e3742e6f7b4147).(this,trcxx . . $ MainWindow#tr(75d9f1c324b4579d).("Copy to clipboard"),trcxx . . $ MainWindow#tr(75d9f1c324b4579d).("First select the line for copying")); |
| 296 | return; |
| 297 | } |
| 298 | |
| 299 | |
| 300 | QStringcxx . . $ QString# buffer=""cxx . . $ QString#QString(85c52e162fed56f9).; |
| 301 | QClipboardcxx . . $ QClipboard# *clipboard = QApplicationcxx . . $ QApplication#::clipboardcxx . . $ QGuiApplication#clipboard(a5a00f8d44f5ac9e).(); |
| 302 | |
| 303 | for (int i=0;i<uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->columnCountcxx . . $ QTableWidget#columnCount(455f465bc33b4cdf).();i++){ |
| 304 | buffer+=cxx . . $ QString#`operator+=`(6a89d0b7f4d2681c).uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->itemcxx . . $ QTableWidget#item(e78ccbf9c1467f73).(uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->currentRowcxx . . $ QTableWidget#currentRow(455f465bc33b4cdf).(),i)->textcxx . . $ QTableWidgetItem#text(6ef7b6c27b00b43d).() +cxx . . $ operator+(3d22f08efddf8107).";"; |
| 305 | } |
| 306 | |
| 307 | clipboard->setTextcxx . . $ QClipboard#setText(9f492b8a441aa8de).(buffer); |
| 308 | |
| 309 | QMessageBoxcxx . . $ QMessageBox#::informationcxx . . $ QMessageBox#information(a9e3742e6f7b4147).(this,trcxx . . $ MainWindow#tr(75d9f1c324b4579d).("Copy to clipboard"),trcxx . . $ MainWindow#tr(75d9f1c324b4579d).("Line was successfully copied to the clipboard")); |
| 310 | } |
| 311 | |
| 312 | void MainWindowcxx . . $ MainWindow#::CopyToFilecxx . . $ MainWindow#CopyToFile(49f6e7a06ebc5aa8).(){ |
| 313 | int interval = timerUpdatecxx . . $ MainWindow#timerUpdate.->intervalcxx . . $ QTimer#interval(455f465bc33b4cdf).(); |
| 314 | timerUpdatecxx . . $ MainWindow#timerUpdate.->stopcxx . . $ QTimer#stop(49f6e7a06ebc5aa8).(); |
| 315 | QStringcxx . . $ QString# fileName = QFileDialogcxx . . $ QFileDialog#::getSaveFileNamecxx . . $ QFileDialog#getSaveFileName(a6b29be4bec65236).(this,trcxx . . $ MainWindow#tr(75d9f1c324b4579d).("Save to file"), ""cxx . . $ QString#QString(85c52e162fed56f9)., trcxx . . $ MainWindow#tr(75d9f1c324b4579d).("All Files (*.*)")); |
| 316 | if (fileName.sizecxx . . $ QString#size(455f465bc33b4cdf).() > 0){ |
| 317 | QFilecxx . . $ QFile# filecxx . . $ QFile#QFile(3520e46b33348bf6).(fileName); |
| 318 | if (file.opencxx . . $ QFile#open(dca164408be960c8).(QIODevicecxx . . $ QIODevice#::WriteOnlycxx . . $ QIODevice#WriteOnly. |cxx . . $ `operator|`(c9e45f682471e48d). QIODevicecxx . . $ QIODevice#::Textcxx . . $ QIODevice#Text.)){ |
| 319 | QTextStreamcxx . . $ QTextStream# outcxx . . $ QTextStream#QTextStream(bebe8f2dee7f9e86).(&file); |
| 320 | |
| 321 | for (int r=0;r<uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->rowCountcxx . . $ QTableWidget#rowCount(455f465bc33b4cdf).();r++){ |
| 322 | for (int i=0;i<uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->columnCountcxx . . $ QTableWidget#columnCount(455f465bc33b4cdf).();i++){ |
| 323 | out <<cxx . . $ QTextStream#`operator<<`(f61e69e0d177108f). uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->itemcxx . . $ QTableWidget#item(e78ccbf9c1467f73).(r,i)->textcxx . . $ QTableWidgetItem#text(6ef7b6c27b00b43d).() +cxx . . $ operator+(3d22f08efddf8107)."\t"; |
| 324 | } |
| 325 | out <<cxx . . $ QTextStream#`operator<<`(a8e98279dde0dccf). "\n"; |
| 326 | } |
| 327 | |
| 328 | file.closecxx . . $ QFileDevice#close(49f6e7a06ebc5aa8).(); |
| 329 | } |
| 330 | } |
| 331 | |
| 332 | timerUpdatecxx . . $ MainWindow#timerUpdate.->startcxx . . $ QTimer#start(d4f767463ce0a6b3).(interval); |
| 333 | } |
| 334 | |
| 335 | void MainWindowcxx . . $ MainWindow#::Resolve_Addressescxx . . $ MainWindow#Resolve_Addresses(49f6e7a06ebc5aa8).(){ |
| 336 | timerUpdate_timeoutcxx . . $ MainWindow#timerUpdate_timeout(49f6e7a06ebc5aa8).(); |
| 337 | } |
| 338 | |
| 339 | void MainWindowcxx . . $ MainWindow#::lookedUpcxx . . $ MainWindow#lookedUp(80af8e98bde940a5).(const QHostInfocxx . . $ QHostInfo# &host){ |
| 340 | if (host.errorcxx . . $ QHostInfo#error(ceb56bb245ac3e5d).() != QHostInfocxx . . $ QHostInfo#::NoErrorcxx . . $ QHostInfo#NoError.) { |
| 341 | //qDebug() << "Lookup failed:" << host.errorString(); |
| 342 | return; |
| 343 | } |
| 344 | |
| 345 | foreachcxx . . $ `<external>/15045578679651060896/qglobal.h:1145:13`! (const QHostAddress &address, host.addresses()) |
| 346 | DNSCachecxx . . $ MainWindow#DNSCache.[cxx . . $ QMap#`operator[]`(bbd415b616967878).address.toStringcxx . . $ QHostAddress#toString(6ef7b6c27b00b43d).()]=cxx . . $ QString#`operator=`(4f35bf974e7f8568).host.hostNamecxx . . $ QHostInfo#hostName(6ef7b6c27b00b43d).(); |
| 347 | } |
| 348 | |
| 349 | QStringcxx . . $ QString# MainWindowcxx . . $ MainWindow#::resolvecxx . . $ MainWindow#resolve(85e1485ff68ad00d).(QStringcxx . . $ QString# ipaddr,const QStringcxx . . $ QString# &prot){ |
| 350 | if (ipaddr.splitcxx . . $ QString#split(c8b44a97dcb6200d).(":"cxx . . $ QString#QString(85c52e162fed56f9).).sizecxx . . $ QList#size(ea6fe5115c70a13f).()!=2) return ipaddrcxx . . $ QString#QString(28715ad661ad3cec).; |
| 351 | if (ipaddr==cxx . . $ QString#`operator==`(7d4bdb1abc417636)."*") return ipaddrcxx . . $ QString#QString(28715ad661ad3cec).; |
| 352 | |
| 353 | if (DNSCachecxx . . $ MainWindow#DNSCache.[cxx . . $ QMap#`operator[]`(bbd415b616967878).ipaddr.splitcxx . . $ QString#split(c8b44a97dcb6200d).(":"cxx . . $ QString#QString(85c52e162fed56f9).).atcxx . . $ QList#at(e2681f9bb6b2f357).(0)] !=cxx . . $ QString#`operator!=`(7d4bdb1abc417636). ""){ |
| 354 | ipaddr=cxx . . $ QString#`operator=`(b79fde0b0ce9b948).DNSCachecxx . . $ MainWindow#DNSCache.[cxx . . $ QMap#`operator[]`(bbd415b616967878).ipaddr.splitcxx . . $ QString#split(c8b44a97dcb6200d).(":"cxx . . $ QString#QString(85c52e162fed56f9).).atcxx . . $ QList#at(e2681f9bb6b2f357).(0)]+cxx . . $ operator+(3d22f08efddf8107).":"+cxx . . $ operator+(fab9b4f80031f353).ipaddr.splitcxx . . $ QString#split(c8b44a97dcb6200d).(":"cxx . . $ QString#QString(85c52e162fed56f9).).atcxx . . $ QList#at(e2681f9bb6b2f357).(1); |
| 355 | } |
| 356 | if (ServicesCachecxx . . $ MainWindow#ServicesCache.[cxx . . $ QMap#`operator[]`(bbd415b616967878).ipaddr.splitcxx . . $ QString#split(c8b44a97dcb6200d).(":"cxx . . $ QString#QString(85c52e162fed56f9).).atcxx . . $ QList#at(e2681f9bb6b2f357).(1)+cxx . . $ operator+(3d22f08efddf8107)."/"+cxx . . $ operator+(fab9b4f80031f353).prot] !=cxx . . $ QString#`operator!=`(7d4bdb1abc417636). ""){ |
| 357 | ipaddr=cxx . . $ QString#`operator=`(b79fde0b0ce9b948).ipaddr.splitcxx . . $ QString#split(c8b44a97dcb6200d).(":"cxx . . $ QString#QString(85c52e162fed56f9).).atcxx . . $ QList#at(e2681f9bb6b2f357).(0)+cxx . . $ operator+(3d22f08efddf8107).":"+cxx . . $ operator+(fab9b4f80031f353).ServicesCachecxx . . $ MainWindow#ServicesCache.[cxx . . $ QMap#`operator[]`(bbd415b616967878).ipaddr.splitcxx . . $ QString#split(c8b44a97dcb6200d).(":"cxx . . $ QString#QString(85c52e162fed56f9).).atcxx . . $ QList#at(e2681f9bb6b2f357).(1)+cxx . . $ operator+(3d22f08efddf8107)."/"+cxx . . $ operator+(fab9b4f80031f353).prot]; |
| 358 | } |
| 359 | |
| 360 | return ipaddrcxx . . $ QString#QString(28715ad661ad3cec).; |
| 361 | } |
| 362 | |
| 363 | void MainWindowcxx . . $ MainWindow#::timer_speed1cxx . . $ MainWindow#timer_speed1(49f6e7a06ebc5aa8).(){ |
| 364 | uicxx . . $ MainWindow#ui.->action1_secondcxx . . $ Ui_MainWindow#action1_second.->setCheckedcxx . . $ QAction#setChecked(b45ddcbc8423892c).(true); |
| 365 | uicxx . . $ MainWindow#ui.->action3_secondcxx . . $ Ui_MainWindow#action3_second.->setCheckedcxx . . $ QAction#setChecked(b45ddcbc8423892c).(false); |
| 366 | uicxx . . $ MainWindow#ui.->action5_secondcxx . . $ Ui_MainWindow#action5_second.->setCheckedcxx . . $ QAction#setChecked(b45ddcbc8423892c).(false); |
| 367 | uicxx . . $ MainWindow#ui.->actionPausecxx . . $ Ui_MainWindow#actionPause.->setCheckedcxx . . $ QAction#setChecked(b45ddcbc8423892c).(false); |
| 368 | |
| 369 | timerUpdate_timeoutcxx . . $ MainWindow#timerUpdate_timeout(49f6e7a06ebc5aa8).(); |
| 370 | timerUpdatecxx . . $ MainWindow#timerUpdate.->startcxx . . $ QTimer#start(d4f767463ce0a6b3).(1000); |
| 371 | } |
| 372 | void MainWindowcxx . . $ MainWindow#::timer_speed3cxx . . $ MainWindow#timer_speed3(49f6e7a06ebc5aa8).(){ |
| 373 | uicxx . . $ MainWindow#ui.->action1_secondcxx . . $ Ui_MainWindow#action1_second.->setCheckedcxx . . $ QAction#setChecked(b45ddcbc8423892c).(false); |
| 374 | uicxx . . $ MainWindow#ui.->action3_secondcxx . . $ Ui_MainWindow#action3_second.->setCheckedcxx . . $ QAction#setChecked(b45ddcbc8423892c).(true); |
| 375 | uicxx . . $ MainWindow#ui.->action5_secondcxx . . $ Ui_MainWindow#action5_second.->setCheckedcxx . . $ QAction#setChecked(b45ddcbc8423892c).(false); |
| 376 | uicxx . . $ MainWindow#ui.->actionPausecxx . . $ Ui_MainWindow#actionPause.->setCheckedcxx . . $ QAction#setChecked(b45ddcbc8423892c).(false); |
| 377 | timerUpdate_timeoutcxx . . $ MainWindow#timerUpdate_timeout(49f6e7a06ebc5aa8).(); |
| 378 | timerUpdatecxx . . $ MainWindow#timerUpdate.->startcxx . . $ QTimer#start(d4f767463ce0a6b3).(3000); |
| 379 | } |
| 380 | void MainWindowcxx . . $ MainWindow#::timer_speed5cxx . . $ MainWindow#timer_speed5(49f6e7a06ebc5aa8).(){ |
| 381 | uicxx . . $ MainWindow#ui.->action1_secondcxx . . $ Ui_MainWindow#action1_second.->setCheckedcxx . . $ QAction#setChecked(b45ddcbc8423892c).(false); |
| 382 | uicxx . . $ MainWindow#ui.->action3_secondcxx . . $ Ui_MainWindow#action3_second.->setCheckedcxx . . $ QAction#setChecked(b45ddcbc8423892c).(false); |
| 383 | uicxx . . $ MainWindow#ui.->action5_secondcxx . . $ Ui_MainWindow#action5_second.->setCheckedcxx . . $ QAction#setChecked(b45ddcbc8423892c).(true); |
| 384 | uicxx . . $ MainWindow#ui.->actionPausecxx . . $ Ui_MainWindow#actionPause.->setCheckedcxx . . $ QAction#setChecked(b45ddcbc8423892c).(false); |
| 385 | timerUpdate_timeoutcxx . . $ MainWindow#timerUpdate_timeout(49f6e7a06ebc5aa8).(); |
| 386 | timerUpdatecxx . . $ MainWindow#timerUpdate.->startcxx . . $ QTimer#start(d4f767463ce0a6b3).(5000); |
| 387 | } |
| 388 | void MainWindowcxx . . $ MainWindow#::timer_pausecxx . . $ MainWindow#timer_pause(49f6e7a06ebc5aa8).(){ |
| 389 | uicxx . . $ MainWindow#ui.->action1_secondcxx . . $ Ui_MainWindow#action1_second.->setCheckedcxx . . $ QAction#setChecked(b45ddcbc8423892c).(false); |
| 390 | uicxx . . $ MainWindow#ui.->action3_secondcxx . . $ Ui_MainWindow#action3_second.->setCheckedcxx . . $ QAction#setChecked(b45ddcbc8423892c).(false); |
| 391 | uicxx . . $ MainWindow#ui.->action5_secondcxx . . $ Ui_MainWindow#action5_second.->setCheckedcxx . . $ QAction#setChecked(b45ddcbc8423892c).(false); |
| 392 | uicxx . . $ MainWindow#ui.->actionPausecxx . . $ Ui_MainWindow#actionPause.->setCheckedcxx . . $ QAction#setChecked(b45ddcbc8423892c).(true); |
| 393 | |
| 394 | timerUpdatecxx . . $ MainWindow#timerUpdate.->stopcxx . . $ QTimer#stop(49f6e7a06ebc5aa8).(); |
| 395 | } |
| 396 | |
| 397 | |
| 398 | void MainWindowcxx . . $ MainWindow#::restartAsRootcxx . . $ MainWindow#restartAsRoot(49f6e7a06ebc5aa8).(){ |
| 399 | this->hidecxx . . $ QWidget#hide(49f6e7a06ebc5aa8).(); |
| 400 | QProcesscxx . . $ QProcess#::startDetachedcxx . . $ QProcess#startDetached(8f660b66a5b7e95a).(QApplicationcxx . . $ QApplication#::applicationDirPathcxx . . $ QCoreApplication#applicationDirPath(4365c3963150523e).()+cxx . . $ operator+(3d22f08efddf8107)."/"+cxx . . $ operator+(fab9b4f80031f353).qAppNamecxx . . $ qAppName(4365c3963150523e).(),QStringListcxx . . $ QStringList#QStringList(ced63f7c635d850d).() <<cxx . . $ QStringList#`operator<<`(85116071a693d053). "--run-as-root"cxx . . $ QString#QString(85c52e162fed56f9).); |
| 401 | exitcxx . . $ exit(44ed87f96534fad7).(0); |
| 402 | } |
| 403 | |
| 404 | void MainWindowcxx . . $ MainWindow#::drawTablecxx . . $ MainWindow#drawTable(fb2d4d711cd938e3).(QVectorcxx . . $ QVector#<sNetStatcxx . . $ sNetStat#> newNetStat){ |
| 405 | |
| 406 | QStringcxx . . $ QString# key=""cxx . . $ QString#QString(85c52e162fed56f9).; |
| 407 | int horizontalScrollBarIndex = 0; |
| 408 | int verticalScrollBarIndex = 0; |
| 409 | int listen=0; |
| 410 | int established=0; |
| 411 | QMapcxx . . $ QMap#<int,int> oldSizeColscxx . . $ QMap#QMap(ced63f7c635d850d).; |
| 412 | |
| 413 | if (uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->currentRowcxx . . $ QTableWidget#currentRow(455f465bc33b4cdf).()>=0){ |
| 414 | key =cxx . . $ QString#`operator=`(b79fde0b0ce9b948). uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->itemcxx . . $ QTableWidget#item(e78ccbf9c1467f73).(uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->currentRowcxx . . $ QTableWidget#currentRow(455f465bc33b4cdf).(),2)->textcxx . . $ QTableWidgetItem#text(6ef7b6c27b00b43d).() +cxx . . $ operator+(3d22f08efddf8107)."+"+cxx . . $ operator+(fab9b4f80031f353).uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->itemcxx . . $ QTableWidget#item(e78ccbf9c1467f73).(uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->currentRowcxx . . $ QTableWidget#currentRow(455f465bc33b4cdf).(),3)->textcxx . . $ QTableWidgetItem#text(6ef7b6c27b00b43d).(); |
| 415 | } |
| 416 | verticalScrollBarIndex = uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->verticalScrollBarcxx . . $ QAbstractScrollArea#verticalScrollBar(49d9510c6adf8c19).()->valuecxx . . $ QAbstractSlider#value(455f465bc33b4cdf).(); |
| 417 | horizontalScrollBarIndex = uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->horizontalScrollBarcxx . . $ QAbstractScrollArea#horizontalScrollBar(49d9510c6adf8c19).()->valuecxx . . $ QAbstractSlider#value(455f465bc33b4cdf).(); |
| 418 | |
| 419 | for (int i=0;i<uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->columnCountcxx . . $ QTableWidget#columnCount(455f465bc33b4cdf).();i++) oldSizeCols[cxx . . $ QMap#`operator[]`(bbd415b616967878).i]=uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->columnWidthcxx . . $ QTableView#columnWidth(7ccb52b1bfe01045).(i); |
| 420 | |
| 421 | |
| 422 | uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->setRowCountcxx . . $ QTableWidget#setRowCount(d4f767463ce0a6b3).(0); |
| 423 | |
| 424 | int row=0; |
| 425 | for (int i=0;i<newNetStat.sizecxx . . $ QVector#size(455f465bc33b4cdf).();i++){ |
| 426 | // filter prot |
| 427 | if (newNetStat.atcxx . . $ QVector#at(e2681f9bb6b2f357).(i).protcxx . . $ sNetStat#prot.==cxx . . $ QString#`operator==`(7d4bdb1abc417636)."TCP"){ |
| 428 | if (uicxx . . $ MainWindow#ui.->actionTCPcxx . . $ Ui_MainWindow#actionTCP.->isCheckedcxx . . $ QAction#isChecked(50ce9a9e25b4a850).()!=true) continue; |
| 429 | }else if (newNetStat.atcxx . . $ QVector#at(e2681f9bb6b2f357).(i).protcxx . . $ sNetStat#prot.==cxx . . $ QString#`operator==`(7d4bdb1abc417636)."UDP"){ |
| 430 | if (uicxx . . $ MainWindow#ui.->actionUDPcxx . . $ Ui_MainWindow#actionUDP.->isCheckedcxx . . $ QAction#isChecked(50ce9a9e25b4a850).()!=true) continue; |
| 431 | }else if (newNetStat.atcxx . . $ QVector#at(e2681f9bb6b2f357).(i).protcxx . . $ sNetStat#prot.==cxx . . $ QString#`operator==`(7d4bdb1abc417636)."TCP6"){ |
| 432 | if (uicxx . . $ MainWindow#ui.->actionTCP6cxx . . $ Ui_MainWindow#actionTCP6.->isCheckedcxx . . $ QAction#isChecked(50ce9a9e25b4a850).()!=true) continue; |
| 433 | }else if (newNetStat.atcxx . . $ QVector#at(e2681f9bb6b2f357).(i).protcxx . . $ sNetStat#prot.==cxx . . $ QString#`operator==`(7d4bdb1abc417636)."UDP6"){ |
| 434 | if (uicxx . . $ MainWindow#ui.->actionUDP6cxx . . $ Ui_MainWindow#actionUDP6.->isCheckedcxx . . $ QAction#isChecked(50ce9a9e25b4a850).()!=true) continue; |
| 435 | } |
| 436 | |
| 437 | // filter state |
| 438 | if (newNetStat.atcxx . . $ QVector#at(e2681f9bb6b2f357).(i).statcxx . . $ sNetStat#stat.==cxx . . $ QString#`operator==`(7d4bdb1abc417636)."ESTABLISHED" or newNetStat.atcxx . . $ QVector#at(e2681f9bb6b2f357).(i).statcxx . . $ sNetStat#stat.==cxx . . $ QString#`operator==`(7d4bdb1abc417636)."ESTABLISH"){ |
| 439 | if (uicxx . . $ MainWindow#ui.->actionESTABLISHEDcxx . . $ Ui_MainWindow#actionESTABLISHED.->isCheckedcxx . . $ QAction#isChecked(50ce9a9e25b4a850).()!=true) continue; |
| 440 | }else if(newNetStat.atcxx . . $ QVector#at(e2681f9bb6b2f357).(i).statcxx . . $ sNetStat#stat.==cxx . . $ QString#`operator==`(7d4bdb1abc417636)."LISTEN" or newNetStat.atcxx . . $ QVector#at(e2681f9bb6b2f357).(i).statcxx . . $ sNetStat#stat.==cxx . . $ QString#`operator==`(7d4bdb1abc417636)."LISTENING"){ |
| 441 | if (uicxx . . $ MainWindow#ui.->actionLISTENcxx . . $ Ui_MainWindow#actionLISTEN.->isCheckedcxx . . $ QAction#isChecked(50ce9a9e25b4a850).()!=true) continue; |
| 442 | }else if(newNetStat.atcxx . . $ QVector#at(e2681f9bb6b2f357).(i).statcxx . . $ sNetStat#stat.==cxx . . $ QString#`operator==`(7d4bdb1abc417636)."CLOSE"){ |
| 443 | if (uicxx . . $ MainWindow#ui.->actionCLOSEcxx . . $ Ui_MainWindow#actionCLOSE.->isCheckedcxx . . $ QAction#isChecked(50ce9a9e25b4a850).()!=true) continue; |
| 444 | }else{ |
| 445 | if (uicxx . . $ MainWindow#ui.->actionAllOthercxx . . $ Ui_MainWindow#actionAllOther.->isCheckedcxx . . $ QAction#isChecked(50ce9a9e25b4a850).()!=true) continue; |
| 446 | } |
| 447 | |
| 448 | QStringcxx . . $ QString# local_address = newNetStatcxx . . $ QString#QString(132dd6869045752b)..atcxx . . $ QVector#at(e2681f9bb6b2f357).(i).local_addresscxx . . $ sNetStat#local_address.; |
| 449 | QStringcxx . . $ QString# rem_address = newNetStatcxx . . $ QString#QString(132dd6869045752b)..atcxx . . $ QVector#at(e2681f9bb6b2f357).(i).rem_addresscxx . . $ sNetStat#rem_address.; |
| 450 | QStringcxx . . $ QString# pid = newNetStatcxx . . $ QString#QString(132dd6869045752b)..atcxx . . $ QVector#at(e2681f9bb6b2f357).(i).processcxx . . $ sNetStat#process..pidcxx . . $ sProccess#pid.; |
| 451 | |
| 452 | if (!uicxx . . $ MainWindow#ui.->lineEditcxx . . $ Ui_MainWindow#lineEdit.->textcxx . . $ QLineEdit#text(6ef7b6c27b00b43d).().isEmptycxx . . $ QString#isEmpty(50ce9a9e25b4a850).()){ |
| 453 | if (uicxx . . $ MainWindow#ui.->lineEditcxx . . $ Ui_MainWindow#lineEdit.->textcxx . . $ QLineEdit#text(6ef7b6c27b00b43d).()!=cxx . . $ `operator!=`(5bc2975d2d751687).rem_address.splitcxx . . $ QString#split(c8b44a97dcb6200d).(":"cxx . . $ QString#QString(85c52e162fed56f9).).atcxx . . $ QList#at(e2681f9bb6b2f357).(0) and |
| 454 | uicxx . . $ MainWindow#ui.->lineEditcxx . . $ Ui_MainWindow#lineEdit.->textcxx . . $ QLineEdit#text(6ef7b6c27b00b43d).()!=cxx . . $ `operator!=`(5bc2975d2d751687).local_address.splitcxx . . $ QString#split(c8b44a97dcb6200d).(":"cxx . . $ QString#QString(85c52e162fed56f9).).atcxx . . $ QList#at(e2681f9bb6b2f357).(0) and |
| 455 | uicxx . . $ MainWindow#ui.->lineEditcxx . . $ Ui_MainWindow#lineEdit.->textcxx . . $ QLineEdit#text(6ef7b6c27b00b43d).()!=cxx . . $ `operator!=`(5bc2975d2d751687).pid and |
| 456 | newNetStat.atcxx . . $ QVector#at(e2681f9bb6b2f357).(i).processcxx . . $ sNetStat#process..programcxx . . $ sProccess#program..toLowercxx . . $ QString#toLower(dca2c5857e9adf82).().indexOfcxx . . $ QString#indexOf(a1e52806cd31c200).(uicxx . . $ MainWindow#ui.->lineEditcxx . . $ Ui_MainWindow#lineEdit.->textcxx . . $ QLineEdit#text(6ef7b6c27b00b43d).().toLowercxx . . $ QString#toLower(30b3b70527b1c61a).())==-1 |
| 457 | ){ |
| 458 | continue; |
| 459 | } |
| 460 | } |
| 461 | |
| 462 | |
| 463 | uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->setRowCountcxx . . $ QTableWidget#setRowCount(d4f767463ce0a6b3).(uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->rowCountcxx . . $ QTableWidget#rowCount(455f465bc33b4cdf).()+1); |
| 464 | |
| 465 | QTableWidgetItemcxx . . $ QTableWidgetItem# *itemKey = new QTableWidgetItemcxx . . $ QTableWidgetItem#(local_address+cxx . . $ operator+(3d22f08efddf8107)."/"+cxx . . $ operator+(fab9b4f80031f353).rem_address); |
| 466 | uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->setItemcxx . . $ QTableWidget#setItem(786223559052ea9b).(row, 0, itemKey); |
| 467 | |
| 468 | if (local_address.splitcxx . . $ QString#split(c8b44a97dcb6200d).(":"cxx . . $ QString#QString(85c52e162fed56f9).).atcxx . . $ QList#at(e2681f9bb6b2f357).(0) !=cxx . . $ QString#`operator!=`(7d4bdb1abc417636). "*"){ |
| 469 | if (DNSCachecxx . . $ MainWindow#DNSCache.[cxx . . $ QMap#`operator[]`(bbd415b616967878).local_address.splitcxx . . $ QString#split(c8b44a97dcb6200d).(":"cxx . . $ QString#QString(85c52e162fed56f9).).atcxx . . $ QList#at(e2681f9bb6b2f357).(0)] ==cxx . . $ QString#`operator==`(7d4bdb1abc417636). ""){ |
| 470 | QHostInfocxx . . $ QHostInfo#::lookupHostcxx . . $ QHostInfo#lookupHost(7722eb17794c5624).(local_address.splitcxx . . $ QString#split(c8b44a97dcb6200d).(":"cxx . . $ QString#QString(85c52e162fed56f9).).atcxx . . $ QList#at(e2681f9bb6b2f357).(0),this,SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(lookedUp(QHostInfo))); |
| 471 | } |
| 472 | } |
| 473 | |
| 474 | if (rem_address !=cxx . . $ QString#`operator!=`(7d4bdb1abc417636). "*"){ |
| 475 | if (DNSCachecxx . . $ MainWindow#DNSCache.[cxx . . $ QMap#`operator[]`(bbd415b616967878).rem_address.splitcxx . . $ QString#split(c8b44a97dcb6200d).(":"cxx . . $ QString#QString(85c52e162fed56f9).).atcxx . . $ QList#at(e2681f9bb6b2f357).(0)] ==cxx . . $ QString#`operator==`(7d4bdb1abc417636). ""){ |
| 476 | QHostInfocxx . . $ QHostInfo#::lookupHostcxx . . $ QHostInfo#lookupHost(7722eb17794c5624).(rem_address.splitcxx . . $ QString#split(c8b44a97dcb6200d).(":"cxx . . $ QString#QString(85c52e162fed56f9).).atcxx . . $ QList#at(e2681f9bb6b2f357).(0),this,SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(lookedUp(QHostInfo))); |
| 477 | } |
| 478 | } |
| 479 | |
| 480 | if (uicxx . . $ MainWindow#ui.->actionResolve_Addressescxx . . $ Ui_MainWindow#actionResolve_Addresses.->isCheckedcxx . . $ QAction#isChecked(50ce9a9e25b4a850).()==true){ |
| 481 | local_address=cxx . . $ QString#`operator=`(4f35bf974e7f8568).resolvecxx . . $ MainWindow#resolve(85e1485ff68ad00d).(local_addresscxx . . $ QString#QString(132dd6869045752b).,newNetStat.atcxx . . $ QVector#at(e2681f9bb6b2f357).(i).protcxx . . $ sNetStat#prot.); |
| 482 | rem_address=cxx . . $ QString#`operator=`(4f35bf974e7f8568).resolvecxx . . $ MainWindow#resolve(85e1485ff68ad00d).(rem_addresscxx . . $ QString#QString(132dd6869045752b).,newNetStat.atcxx . . $ QVector#at(e2681f9bb6b2f357).(i).protcxx . . $ sNetStat#prot.); |
| 483 | } |
| 484 | |
| 485 | QTableWidgetItemcxx . . $ QTableWidgetItem# *itemProt = new QTableWidgetItemcxx . . $ QTableWidgetItem#(newNetStat.atcxx . . $ QVector#at(e2681f9bb6b2f357).(i).protcxx . . $ sNetStat#prot.); |
| 486 | uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->setItemcxx . . $ QTableWidget#setItem(786223559052ea9b).(row, 1, itemProt); |
| 487 | |
| 488 | QTableWidgetItemcxx . . $ QTableWidgetItem# *itemLocalAddress = new QTableWidgetItemcxx . . $ QTableWidgetItem#(local_address); |
| 489 | uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->setItemcxx . . $ QTableWidget#setItem(786223559052ea9b).(row, 2, itemLocalAddress); |
| 490 | |
| 491 | QTableWidgetItemcxx . . $ QTableWidgetItem# *itemRemoteAddress = new QTableWidgetItemcxx . . $ QTableWidgetItem#(rem_address); |
| 492 | uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->setItemcxx . . $ QTableWidget#setItem(786223559052ea9b).(row, 3, itemRemoteAddress); |
| 493 | |
| 494 | QTableWidgetItemcxx . . $ QTableWidgetItem# *itemStat = new QTableWidgetItemcxx . . $ QTableWidgetItem#(newNetStat.atcxx . . $ QVector#at(e2681f9bb6b2f357).(i).statcxx . . $ sNetStat#stat.); |
| 495 | uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->setItemcxx . . $ QTableWidget#setItem(786223559052ea9b).(row, 4, itemStat); |
| 496 | |
| 497 | QTableWidgetItemcxx . . $ QTableWidgetItem# *itemPID = new QTableWidgetItemcxx . . $ QTableWidgetItem#(newNetStat.atcxx . . $ QVector#at(e2681f9bb6b2f357).(i).processcxx . . $ sNetStat#process..pidcxx . . $ sProccess#pid.); |
| 498 | uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->setItemcxx . . $ QTableWidget#setItem(786223559052ea9b).(row, 5, itemPID); |
| 499 | |
| 500 | QTableWidgetItemcxx . . $ QTableWidgetItem# *itemProg = new QTableWidgetItemcxx . . $ QTableWidgetItem#(newNetStat.atcxx . . $ QVector#at(e2681f9bb6b2f357).(i).processcxx . . $ sNetStat#process..programcxx . . $ sProccess#program.); |
| 501 | uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->setItemcxx . . $ QTableWidget#setItem(786223559052ea9b).(row, 6, itemProg); |
| 502 | uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->itemcxx . . $ QTableWidget#item(e78ccbf9c1467f73).(row,6)->setToolTipcxx . . $ QTableWidgetItem#setToolTip(3520e46b33348bf6).(itemProg->textcxx . . $ QTableWidgetItem#text(6ef7b6c27b00b43d).()); |
| 503 | |
| 504 | QTableWidgetItemcxx . . $ QTableWidgetItem# *itemCmdLine = new QTableWidgetItemcxx . . $ QTableWidgetItem#(newNetStat.atcxx . . $ QVector#at(e2681f9bb6b2f357).(i).processcxx . . $ sNetStat#process..cmdlinecxx . . $ sProccess#cmdline.); |
| 505 | uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->setItemcxx . . $ QTableWidget#setItem(786223559052ea9b).(row, 7, itemCmdLine); |
| 506 | uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->itemcxx . . $ QTableWidget#item(e78ccbf9c1467f73).(row,7)->setToolTipcxx . . $ QTableWidgetItem#setToolTip(3520e46b33348bf6).(itemCmdLine->textcxx . . $ QTableWidgetItem#text(6ef7b6c27b00b43d).()); |
| 507 | |
| 508 | for (int c=1;c<uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->columnCountcxx . . $ QTableWidget#columnCount(455f465bc33b4cdf).();c++){ |
| 509 | if (newNetStat.atcxx . . $ QVector#at(e2681f9bb6b2f357).(i).operationcxx . . $ sNetStat#operation.==1){ |
| 510 | uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->itemcxx . . $ QTableWidget#item(e78ccbf9c1467f73).(row,c)->setBackgroundcxx . . $ QTableWidgetItem#setBackground(ffc9f5d0bda78261).(QBrushcxx . . $ QBrush#QBrush(b50947b0752ea6ac).(QColorcxx . . $ QColor#QColor(2261ffe5112eab06).(0,255,0))); |
| 511 | } |
| 512 | if (newNetStat.atcxx . . $ QVector#at(e2681f9bb6b2f357).(i).operationcxx . . $ sNetStat#operation.==2){ |
| 513 | uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->itemcxx . . $ QTableWidget#item(e78ccbf9c1467f73).(row,c)->setBackgroundcxx . . $ QTableWidgetItem#setBackground(ffc9f5d0bda78261).(QBrushcxx . . $ QBrush#QBrush(b50947b0752ea6ac).(QColorcxx . . $ QColor#QColor(2261ffe5112eab06).(255,0,0))); |
| 514 | } |
| 515 | } |
| 516 | |
| 517 | if (local_address+cxx . . $ operator+(3d22f08efddf8107)."+"+cxx . . $ operator+(fab9b4f80031f353).rem_address ==cxx . . $ `operator==`(5bc2975d2d751687).key){ |
| 518 | uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->selectRowcxx . . $ QTableView#selectRow(d4f767463ce0a6b3).(row); |
| 519 | } |
| 520 | |
| 521 | uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->setRowHeightcxx . . $ QTableView#setRowHeight(3e454b8ccf442868).(row,18); |
| 522 | |
| 523 | if (newNetStat.atcxx . . $ QVector#at(e2681f9bb6b2f357).(i).statcxx . . $ sNetStat#stat.==cxx . . $ QString#`operator==`(7d4bdb1abc417636)."LISTEN" or newNetStat.atcxx . . $ QVector#at(e2681f9bb6b2f357).(i).statcxx . . $ sNetStat#stat.==cxx . . $ QString#`operator==`(7d4bdb1abc417636)."LISTENING") listen++; |
| 524 | if (newNetStat.atcxx . . $ QVector#at(e2681f9bb6b2f357).(i).statcxx . . $ sNetStat#stat.==cxx . . $ QString#`operator==`(7d4bdb1abc417636)."ESTABLISHED" or newNetStat.atcxx . . $ QVector#at(e2681f9bb6b2f357).(i).statcxx . . $ sNetStat#stat.==cxx . . $ QString#`operator==`(7d4bdb1abc417636)."ESTABLISH") established++; |
| 525 | |
| 526 | row++; |
| 527 | } |
| 528 | |
| 529 | |
| 530 | // Sorting and restoring the cursor position |
| 531 | if (uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->rowCountcxx . . $ QTableWidget#rowCount(455f465bc33b4cdf).()>0){ |
| 532 | uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->sortByColumncxx . . $ QTableView#sortByColumn(11168df8d4e8286d).(sortcolcxx . . $ MainWindow#sortcol.,Qtcxx . . $ Qt/::AscendingOrdercxx . . $ Qt/AscendingOrder.); |
| 533 | |
| 534 | uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->verticalScrollBarcxx . . $ QAbstractScrollArea#verticalScrollBar(49d9510c6adf8c19).()->setMaximumcxx . . $ QAbstractSlider#setMaximum(d4f767463ce0a6b3).(uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->rowCountcxx . . $ QTableWidget#rowCount(455f465bc33b4cdf).()); |
| 535 | uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->verticalScrollBarcxx . . $ QAbstractScrollArea#verticalScrollBar(49d9510c6adf8c19).()->setValuecxx . . $ QAbstractSlider#setValue(d4f767463ce0a6b3).(verticalScrollBarIndex); |
| 536 | |
| 537 | |
| 538 | for (int i=0;i<uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->columnCountcxx . . $ QTableWidget#columnCount(455f465bc33b4cdf).();i++) uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->setColumnWidthcxx . . $ QTableView#setColumnWidth(3e454b8ccf442868).(i,oldSizeCols[cxx . . $ QMap#`operator[]`(bbd415b616967878).i]); |
| 539 | |
| 540 | uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->horizontalScrollBarcxx . . $ QAbstractScrollArea#horizontalScrollBar(49d9510c6adf8c19).()->setMaximumcxx . . $ QAbstractSlider#setMaximum(d4f767463ce0a6b3).(uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->columnCountcxx . . $ QTableWidget#columnCount(455f465bc33b4cdf).()); |
| 541 | uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->horizontalScrollBarcxx . . $ QAbstractScrollArea#horizontalScrollBar(49d9510c6adf8c19).()->setValuecxx . . $ QAbstractSlider#setValue(d4f767463ce0a6b3).(horizontalScrollBarIndex); |
| 542 | } |
| 543 | |
| 544 | uicxx . . $ MainWindow#ui.->labelcxx . . $ Ui_MainWindow#label.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(trcxx . . $ MainWindow#tr(75d9f1c324b4579d).("Count connections: ")+cxx . . $ operator+(fab9b4f80031f353).QStringcxx . . $ QString#::numbercxx . . $ QString#number(f4fd9db251ca774b).(row)); |
| 545 | uicxx . . $ MainWindow#ui.->label_2cxx . . $ Ui_MainWindow#label_2.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(trcxx . . $ MainWindow#tr(75d9f1c324b4579d).("Count LISTEN: ")+cxx . . $ operator+(fab9b4f80031f353).QStringcxx . . $ QString#::numbercxx . . $ QString#number(f4fd9db251ca774b).(listen)); |
| 546 | uicxx . . $ MainWindow#ui.->label_3cxx . . $ Ui_MainWindow#label_3.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(trcxx . . $ MainWindow#tr(75d9f1c324b4579d).("Count ESTABLISHED: ")+cxx . . $ operator+(fab9b4f80031f353).QStringcxx . . $ QString#::numbercxx . . $ QString#number(f4fd9db251ca774b).(established)); |
| 547 | |
| 548 | } |
| 549 | |
| 550 | void MainWindowcxx . . $ MainWindow#::timerUpdate_timeoutcxx . . $ MainWindow#timerUpdate_timeout(49f6e7a06ebc5aa8).(){ |
| 551 | netstatcxx . . $ MainWindow#netstat.->startcxx . . $ QThread#start(bd4fe741c868f69f).(); |
| 552 | } |
| 553 | |
| 554 | |
| 555 | void MainWindowcxx . . $ MainWindow#::showSetupKillcxx . . $ MainWindow#showSetupKill(49f6e7a06ebc5aa8).(){ |
| 556 | uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->horizontalScrollBarcxx . . $ QAbstractScrollArea#horizontalScrollBar(49d9510c6adf8c19).()->setValuecxx . . $ QAbstractSlider#setValue(d4f767463ce0a6b3).(uicxx . . $ MainWindow#ui.->tableWidgetcxx . . $ Ui_MainWindow#tableWidget.->horizontalScrollBarcxx . . $ QAbstractScrollArea#horizontalScrollBar(49d9510c6adf8c19).()->maximumcxx . . $ QAbstractSlider#maximum(455f465bc33b4cdf).()); |
| 557 | |
| 558 | setupUtiliteKillcxx . . $ setupUtiliteKill# frmcxx . . $ setupUtiliteKill#setupUtiliteKill(108f35f7aa7f3cf9).; |
| 559 | frm.execcxx . . $ QDialog#exec(b126dc7c1de90089).(); |
| 560 | } |