[-]
[+]
|
Changed |
ksysguard.spec
|
|
[-]
[+]
|
Deleted |
ksysguard-5.1.0.tar.xz/gui/ksysguard.desktop
^
|
@@ -1,178 +0,0 @@
-[Desktop Entry]
-Name=KSysGuard
-Name[ar]=حارس نظام كيدي
-Name[ast]=KSysGuard
-Name[bg]=Системна защита
-Name[br]=KSysGuard
-Name[bs]=KSysGuard
-Name[ca]=KSysGuard
-Name[ca@valencia]=KSysGuard
-Name[cs]=KSysGuard
-Name[csb]=Wachtôrz Systemë KDE
-Name[cy]=KSysGuard
-Name[da]=KSysGuard
-Name[de]=KSysGuard
-Name[el]=KSysGuard
-Name[en_GB]=KSysGuard
-Name[eo]=KDE-Sistemobservilo
-Name[es]=KSysGuard
-Name[et]=KSysGuard
-Name[eu]=KSysGuard
-Name[fi]=KSysGuard
-Name[fr]=KSysGuard
-Name[fy]=KSysGuard
-Name[ga]=KSysGuard
-Name[gl]=KSysGuard
-Name[gu]=KSysGuard
-Name[he]=KSysGuard
-Name[hi]=केडीई तंत्र रक्षक
-Name[hr]=KSysGuard
-Name[hu]=KSysGuard
-Name[ia]=KSysGuard
-Name[id]=KSysGuard
-Name[is]=KDE kerfisvörður
-Name[it]=KSysGuard
-Name[ja]=KSysGuard
-Name[ka]=KSysGuard
-Name[kk]=KSysGuard
-Name[km]=KSysGuard
-Name[kn]=KSysGuard
-Name[ko]=KSysGuard
-Name[lt]=KSysGuard
-Name[lv]=KSysGuard
-Name[mk]=KSysGuard
-Name[ml]=കെസിസ്ഗാര്ഡ്
-Name[mr]=के सिसगार्ड
-Name[nb]=KSysGuard
-Name[nds]=KSysGuard
-Name[nl]=KSysGuard
-Name[nn]=KSysGuard
-Name[pa]=ਕੇਸਿਸ-ਗਾਰਡ
-Name[pl]=Monitor systemu KDE
-Name[pt]=KSysGuard
-Name[pt_BR]=KSysGuard
-Name[ro]=KGardianSistem
-Name[ru]=Системный монитор
-Name[si]=KSysGuard
-Name[sk]=KSysGuard
-Name[sl]=KSysGuard
-Name[sr]=К‑систембран
-Name[sr@ijekavian]=К‑систембран
-Name[sr@ijekavianlatin]=K‑sistembran
-Name[sr@latin]=K‑sistembran
-Name[sv]=KDE:s systemövervakare
-Name[tg]=Ҳифзи системаи KDE
-Name[th]=ป้องกันระบบ-K
-Name[tr]=KSysGuard
-Name[ug]=KSysGuard
-Name[uk]=KSysGuard
-Name[uz]=KDE tizim nazoratchisi
-Name[uz@cyrillic]=KDE тизим назоратчиси
-Name[vi]=KSysGuard
-Name[wa]=KSisGåde
-Name[xh]=KSysGuard
-Name[x-test]=xxKSysGuardxx
-Name[zh_CN]=KDE 系统卫士
-Name[zh_TW]=KSysGuard
-GenericName=System Monitor
-GenericName[af]=Stelsel Monitor
-GenericName[ar]=مراقب النظام
-GenericName[as]=ব্যৱস্থাপ্ৰণালীৰ নিৰীক্ষণ ব্যৱস্থা
-GenericName[ast]=Monitor del sistema
-GenericName[be]=Сістэма
-GenericName[be@latin]=Systemny nazirańnik
-GenericName[bg]=Наблюдение на системата
-GenericName[bn]=সিস্টেম মনিটর
-GenericName[bn_IN]=সিস্টেম নিরীক্ষণ ব্যবস্থা
-GenericName[br]=Diskwel saviad ar reizhiad
-GenericName[bs]=Nadzornik sistema
-GenericName[ca]=Monitor del sistema
-GenericName[ca@valencia]=Monitor del sistema
-GenericName[cs]=Monitor systému
-GenericName[csb]=Mònitor systemë
-GenericName[cy]=Monitr Cysawd
-GenericName[da]=Systemovervågning
-GenericName[de]=Systemmonitor
-GenericName[el]=Επόπτης συστήματος
-GenericName[en_GB]=System Monitor
-GenericName[eo]=Sistemstato-programo
-GenericName[es]=Monitor del sistema
-GenericName[et]=Süsteemi jälgija
-GenericName[eu]=Sistema-monitorea
-GenericName[fa]=نمایشگر سیستم
-GenericName[fi]=Järjestelmänvalvontaohjelma
-GenericName[fr]=Surveillance du système
-GenericName[fy]=Systeemmonitor
-GenericName[ga]=Monatóir Córais
-GenericName[gl]=Vixilante do sistema
-GenericName[gu]=સિસ્ટમ દેખરેખ
-GenericName[he]=מוניטור המערכת
-GenericName[hi]=तंत्र मॉनीटर
-GenericName[hne]=तंत्र देखइया
-GenericName[hr]=Nadzor sustava
-GenericName[hsb]=Systemowy monitor
-GenericName[hu]=Rendszermonitor
-GenericName[ia]=Monitor de systema
-GenericName[id]=Monitor Sistem
-GenericName[is]=Kerfiseftirlit
-GenericName[it]=Monitor di sistema
-GenericName[ja]=システムモニタ
-GenericName[ka]=სისტემის მონიტორი
-GenericName[kk]=Жүйе мониторы
-GenericName[km]=កម្មវិធីត្រួតពិនិត្យប្រព័ន្ធ
-GenericName[kn]=ವ್ಯವಸ್ಥೆಯ ಪ್ರದರ್ಶಕ
-GenericName[ko]=시스템 모니터
-GenericName[ku]=Temaşekarê Pergalê
-GenericName[lt]=Sistemos stebėtojas
-GenericName[lv]=Sistēmas monitors
-GenericName[mai]=सिस्टम मानीटर
-GenericName[mk]=Системски монитор
-GenericName[ml]=വ്യൂഹനിരീക്ഷണി
-GenericName[mr]=प्रणाली मॉनिटर
-GenericName[ms]=Monitor Sistem
-GenericName[nb]=Systemovervåker
-GenericName[nds]=Systeemkieker
-GenericName[ne]=प्रणाली मनिटर
-GenericName[nl]=Systeemmonitor
-GenericName[nn]=Systemovervakar
-GenericName[oc]=Monitor sistèma
-GenericName[or]=ତନ୍ତ୍ର ପ୍ରଦର୍ଶିକା
-GenericName[pa]=ਸਿਸਟਮ ਨਿਗਰਾਨ
-GenericName[pl]=Monitor systemu
-GenericName[pt]=Monitor do Sistema
-GenericName[pt_BR]=Monitor do sistema
-GenericName[ro]=Monitor de sistem
-GenericName[ru]=Системный монитор
-GenericName[se]=Vuogádatgoziheaddji
-GenericName[si]=පද්ධති නිරීක්ෂකය
-GenericName[sk]=Monitor systému
-GenericName[sl]=Sistemski nadzornik
-GenericName[sr]=Надзорник система
-GenericName[sr@ijekavian]=Надзорник система
-GenericName[sr@ijekavianlatin]=Nadzornik sistema
-GenericName[sr@latin]=Nadzornik sistema
-GenericName[sv]=Systemövervakare
-GenericName[ta]=அமைப்பு கண்காணிப்பு
-GenericName[te]=సిస్టమ్ మానిటర్
-GenericName[tg]=Намоишгари система
-GenericName[th]=สอดส่องการทำงานของระบบ
-GenericName[tr]=Sistem İzleyici
-GenericName[ug]=سىستېما كۆزەتكۈچ
-GenericName[uk]=Монітор системи
-GenericName[uz]=Tizimni nazorat qilish
-GenericName[uz@cyrillic]=Тизимни назорат қилиш
-GenericName[vi]=Trình theo dõi hệ thống
-GenericName[wa]=Corwaitoe do sistinme
-GenericName[xh]=Indlela yokusebenza Yophatho
-GenericName[x-test]=xxSystem Monitorxx
-GenericName[zh_CN]=系统监视器
-GenericName[zh_TW]=系統監視器
-Exec=ksysguard %U
-Icon=utilities-system-monitor
-Type=Application
-MimeType=application/x-ksysguard;
-X-DocPath=ksysguard/index.html
-Terminal=false
-X-KDE-StartupNotify=true
-X-DBUS-StartupType=Multi
-Categories=Qt;KDE;System;
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/CMakeLists.txt
^
|
@@ -1,5 +1,5 @@
project(ksysguard)
-set(PROJECT_VERSION "5.1.0")
+set(PROJECT_VERSION "5.1.90")
cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
set(QT_MIN_VERSION "5.3.0")
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/example/ksysguard.notifyrc
^
|
@@ -321,7 +321,7 @@
Comment[bs]=Senzor je prekoračio kritičnu granicu
Comment[ca]=El sensor ha excedit el límit crític
Comment[ca@valencia]=El sensor ha excedit el límit crític
-Comment[cs]=Sensor překročil kritickou mez
+Comment[cs]=Senzor překročil kritickou mez
Comment[csb]=Sensor przekroczëł kriticzny limit
Comment[cy]=Aethpwyd dros gyfyngder critigol y synhwyrydd
Comment[da]=Sensor gik ud over kritisk grænse
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/CMakeLists.txt
^
|
@@ -66,7 +66,7 @@
########### install files ###############
-install( PROGRAMS ksysguard.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( PROGRAMS org.kde.ksysguard.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
install( FILES ProcessTable.sgrd SystemLoad2.sgrd DESTINATION ${DATA_INSTALL_DIR}/ksysguard )
install( FILES ksysguardui.rc DESTINATION ${KXMLGUI_INSTALL_DIR}/ksysguard )
install( FILES ksysguard.knsrc DESTINATION ${CONFIG_INSTALL_DIR})
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/HostConnector.cpp
^
|
@@ -3,20 +3,21 @@
Copyright (c) 1999, 2000 Chris Schlaeger <cs@kde.org>
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public
- License version 2 or at your option version 3 as published by
- the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of
+ the License or (at your option) version 3 or any later version
+ accepted by the membership of KDE e.V. (or its successor approved
+ by the membership of KDE e.V.), which shall act as a proxy
+ defined in Section 14 of version 3 of the license.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <kapplication.h>
@@ -123,15 +124,13 @@
layout->addWidget( group, 1, 0, 1, 2 );
- connect( mUseCustom, SIGNAL(toggled(bool)),
- mCommands, SLOT(setEnabled(bool)) );
- connect( mUseDaemon, SIGNAL(toggled(bool)),
- mPort, SLOT(setEnabled(bool)) );
+ connect(mUseCustom, &QRadioButton::toggled, mCommands, &KComboBox::setEnabled);
+ connect(mUseDaemon, &QRadioButton::toggled, mPort, &KIntSpinBox::setEnabled);
connect( mHostNames->lineEdit(), SIGNAL(textChanged(QString)),
this, SLOT(slotHostNameChanged(QString)) );
enableButtonOk( !mHostNames->lineEdit()->text().isEmpty() );
KAcceleratorManager::manage( this );
- connect(this,SIGNAL(helpClicked()),this,SLOT(slotHelp()));
+ connect(this, &HostConnector::helpClicked, this, &HostConnector::slotHelp);
}
HostConnector::~HostConnector()
@@ -227,4 +226,4 @@
KHelpClient::invokeHelp( "connectingtootherhosts", "ksysguard" );
}
-#include "HostConnector.moc"
+
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/HostConnector.h
^
|
@@ -3,20 +3,21 @@
Copyright (c) 1999, 2000 Chris Schlaeger <cs@kde.org>
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public
- License version 2 or at your option version 3 as published by
- the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of
+ the License or (at your option) version 3 or any later version
+ accepted by the membership of KDE e.V. (or its successor approved
+ by the membership of KDE e.V.), which shall act as a proxy
+ defined in Section 14 of version 3 of the license.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef KSG_HOSTCONNECTOR_H
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/SensorBrowser.cpp
^
|
@@ -3,32 +3,28 @@
Copyright (c) 1999, 2000 Chris Schlaeger <cs@kde.org>
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public
- License version 2 or at your option version 3 as published by
- the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of
+ the License or (at your option) version 3 or any later version
+ accepted by the membership of KDE e.V. (or its successor approved
+ by the membership of KDE e.V.), which shall act as a proxy
+ defined in Section 14 of version 3 of the license.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <QDrag>
-#include <QLabel>
-#include <QMouseEvent>
-#include <QPainter>
-#include <QPixmap>
#include <QVBoxLayout>
#include <QMimeData>
#include <kdebug.h>
-#include <kicon.h>
+#include <QIcon>
#include <KLocalizedString>
#include <kmessagebox.h>
#include <ksgrd/SensorManager.h>
@@ -85,9 +81,9 @@
KSGRD::SensorAgent *agent;
if(host != NULL && (agent = host->sensorAgent())) {
if(agent->daemonOnLine())
- return KIcon("computer");
+ return QIcon::fromTheme("computer");
else
- return KIcon("dialog-warning");
+ return QIcon::fromTheme("dialog-warning");
} else
return QIcon();
} else
@@ -428,19 +424,19 @@
mSortFilterProxyModel.setSourceModel(&mSensorBrowserModel);
mSortFilterProxyModel.setShowAllChildren(true);
setModel(&mSortFilterProxyModel);
- connect( mSensorManager, SIGNAL(update()), &mSensorBrowserModel, SLOT(update()) );
- connect( mSensorManager, SIGNAL(hostAdded(KSGRD::SensorAgent*,QString)), &mSensorBrowserModel, SLOT(hostAdded(KSGRD::SensorAgent*,QString)) );
- connect( mSensorManager, SIGNAL(hostConnectionLost(QString)), &mSensorBrowserModel, SLOT(hostRemoved(QString)) );
+ connect(mSensorManager, &KSGRD::SensorManager::update, &mSensorBrowserModel, &SensorBrowserModel::update);
+ connect(mSensorManager, &KSGRD::SensorManager::hostAdded, &mSensorBrowserModel, &SensorBrowserModel::hostAdded);
+ connect(mSensorManager, &KSGRD::SensorManager::hostConnectionLost, &mSensorBrowserModel, &SensorBrowserModel::hostRemoved);
// connect( mSensorManager, SIGNAL(hostAdded(KSGRD::SensorAgent*,QString)), SLOT(updateView()) );
// connect( mSensorManager, SIGNAL(hostConnectionLost(QString)), SLOT(updateView()) );
- connect( &mSortFilterProxyModel, SIGNAL(rowsInserted(QModelIndex,int,int)), SLOT(updateView()) );
+ connect(&mSortFilterProxyModel, &KSortFilterProxyModel::rowsInserted, this, &SensorBrowserTreeWidget::updateView);
setDragDropMode(QAbstractItemView::DragOnly);
setUniformRowHeights(true);
//setMinimumWidth( 1 );
retranslateUi();
- connect( &mSensorBrowserModel, SIGNAL(sensorsAddedToHost(QModelIndex)), this, SLOT(expandItem(QModelIndex)));
+ connect(&mSensorBrowserModel, &SensorBrowserModel::sensorsAddedToHost, this, &SensorBrowserTreeWidget::expandItem);
KSGRD::SensorManagerIterator it( mSensorManager );
while ( it.hasNext() ) {
@@ -650,4 +646,4 @@
-#include "SensorBrowser.moc"
+
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/SensorBrowser.h
^
|
@@ -3,20 +3,21 @@
Copyright (c) 1999, 2000 Chris Schlaeger <cs@kde.org>
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public
- License version 2 or at your option version 3 as published by
- the Free Software Foundation.
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of
+ the License or (at your option) version 3 or any later version
+ accepted by the membership of KDE e.V. (or its successor approved
+ by the membership of KDE e.V.), which shall act as a proxy
+ defined in Section 14 of version 3 of the license.
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef KSG_SENSORBROWSER_H
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/SensorDisplayLib/BarGraph.cpp
^
|
@@ -3,20 +3,21 @@
Copyright (c) 1999, 2000 Chris Schlaeger <cs@kde.org>
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public
- License version 2 or at your option version 3 as published by
- the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of
+ the License or (at your option) version 3 or any later version
+ accepted by the membership of KDE e.V. (or its successor approved
+ by the membership of KDE e.V.), which shall act as a proxy
+ defined in Section 14 of version 3 of the license.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <assert.h>
@@ -167,4 +168,4 @@
p.end();
}
-#include "BarGraph.moc"
+
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/SensorDisplayLib/BarGraph.h
^
|
@@ -3,20 +3,21 @@
Copyright (c) 1999 - 2001 Chris Schlaeger <cs@kde.org>
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public
- License version 2 or at your option version 3 as published by
- the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of
+ the License or (at your option) version 3 or any later version
+ accepted by the membership of KDE e.V. (or its successor approved
+ by the membership of KDE e.V.), which shall act as a proxy
+ defined in Section 14 of version 3 of the license.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef KSG_BARGRAPH_H
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/SensorDisplayLib/DancingBars.cpp
^
|
@@ -3,27 +3,26 @@
Copyright (c) 1999, 2000, 2001 Chris Schlaeger <cs@kde.org>
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public
- License version 2 or at your option version 3 as published by
- the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of
+ the License or (at your option) version 3 or any later version
+ accepted by the membership of KDE e.V. (or its successor approved
+ by the membership of KDE e.V.), which shall act as a proxy
+ defined in Section 14 of version 3 of the license.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QCheckBox>
#include <QtXml/qdom.h>
-#include <QLineEdit>
#include <QPushButton>
-#include <QSpinBox>
#include <QHBoxLayout>
#include <kdebug.h>
@@ -326,4 +325,4 @@
return true;
}
-#include "DancingBars.moc"
+
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/SensorDisplayLib/DancingBars.h
^
|
@@ -3,20 +3,21 @@
Copyright (c) 1999 - 2001 Chris Schlaeger <cs@kde.org>
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public
- License version 2 or at your option version 3 as published by
- the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of
+ the License or (at your option) version 3 or any later version
+ accepted by the membership of KDE e.V. (or its successor approved
+ by the membership of KDE e.V.), which shall act as a proxy
+ defined in Section 14 of version 3 of the license.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef KSG_DANCINGBARS_H
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/SensorDisplayLib/DummyDisplay.cpp
^
|
@@ -3,27 +3,28 @@
Copyright (c) 1999, 2000, 2001 Chris Schlaeger <cs@kde.org>
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public
- License version 2 or at your option version 3 as published by
- the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of
+ the License or (at your option) version 3 or any later version
+ accepted by the membership of KDE e.V. (or its successor approved
+ by the membership of KDE e.V.), which shall act as a proxy
+ defined in Section 14 of version 3 of the license.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <KLocalizedString>
#include <ksgrd/SensorManager.h>
#include <QMouseEvent>
-#include <QGridLayout>
-
+#include <QLabel>
+#include <QHBoxLayout>
#include "DummyDisplay.h"
DummyDisplay::DummyDisplay( QWidget* parent, SharedSettings *workSheetSettings )
@@ -53,4 +54,4 @@
return QWidget::eventFilter( object, event );
}
-#include "DummyDisplay.moc"
+
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/SensorDisplayLib/DummyDisplay.h
^
|
@@ -3,20 +3,21 @@
Copyright (c) 1999 - 2001 Chris Schlaeger <cs@kde.org>
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public
- License version 2 or at your option version 3 as published by
- the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of
+ the License or (at your option) version 3 or any later version
+ accepted by the membership of KDE e.V. (or its successor approved
+ by the membership of KDE e.V.), which shall act as a proxy
+ defined in Section 14 of version 3 of the license.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef KSG_DUMMYDISPLAY_H
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/SensorDisplayLib/FancyPlotter.cpp
^
|
@@ -3,29 +3,28 @@
Copyright (c) 1999 - 2002 Chris Schlaeger <cs@kde.org>
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public
- License version 2 or at your option version 3 as published by
- the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of
+ the License or (at your option) version 3 or any later version
+ accepted by the membership of KDE e.V. (or its successor approved
+ by the membership of KDE e.V.), which shall act as a proxy
+ defined in Section 14 of version 3 of the license.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QtXml/qdom.h>
-#include <QImage>
#include <QToolTip>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QLabel>
-#include <QFontInfo>
#include <QResizeEvent>
@@ -209,7 +208,7 @@
mPlotter->installEventFilter( this );
setPlotterWidget( mPlotter );
- connect(mPlotter, SIGNAL(axisScaleChanged()), this, SLOT(plotterAxisScaleChanged()));
+ connect(mPlotter, &KSignalPlotter::axisScaleChanged, this, &FancyPlotter::plotterAxisScaleChanged);
QDomElement emptyElement;
restoreSettings(emptyElement);
}
@@ -289,9 +288,9 @@
mSettingsDialog->setSensors( list );
mSettingsDialog->setHasIntegerRange( hasIntegerRange );
- connect( mSettingsDialog, SIGNAL(applyClicked()), this, SLOT(applySettings()) );
- connect( mSettingsDialog, SIGNAL(okClicked()), this, SLOT(applySettings()) );
- connect( mSettingsDialog, SIGNAL(finished(int)), this, SLOT(settingsFinished()) );
+ connect(mSettingsDialog, &FancyPlotterSettings::applyClicked, this, &FancyPlotter::applySettings);
+ connect(mSettingsDialog, &FancyPlotterSettings::okClicked, this, &FancyPlotter::applySettings);
+ connect(mSettingsDialog, &FancyPlotterSettings::finished, this, &FancyPlotter::settingsFinished);
mSettingsDialog->show();
}
@@ -515,7 +514,7 @@
description = sensor->name();
if(sensor->isOk()) {
- lastValue = KGlobal::locale()->formatNumber( sensor->lastValue, (sensor->isInteger)?0:-1 );
+ lastValue = KLocale::global()->formatNumber( sensor->lastValue, (sensor->isInteger)?0:-1 );
if (sensor->unit() == "%")
lastValue = i18nc("units", "%1%", lastValue);
else if( !sensor->unit().isEmpty() )
@@ -586,7 +585,7 @@
lastValue = mPlotter->lastValueAsString(beamId, precision);
} else {
precision = (sensor->isInteger)?0:-1;
- lastValue = KGlobal::locale()->formatNumber( mPlotter->lastValue(beamId), precision );
+ lastValue = KLocale::global()->formatNumber( mPlotter->lastValue(beamId), precision );
if (sensor->unit() == "%")
lastValue = i18nc("units", "%1%", lastValue);
else if( !sensor->unit().isEmpty() ) {
@@ -618,7 +617,7 @@
void FancyPlotter::plotterAxisScaleChanged()
{
//Prevent this being called recursively
- disconnect(mPlotter, SIGNAL(axisScaleChanged()), this, SLOT(plotterAxisScaleChanged()));
+ disconnect(mPlotter, &KSignalPlotter::axisScaleChanged, this, &FancyPlotter::plotterAxisScaleChanged);
KLocalizedString unit;
double value = mPlotter->currentMaximumRangeValue();
if(mUnit == "KiB") {
@@ -666,7 +665,7 @@
}
mPlotter->setUnit(unit);
//reconnect
- connect(mPlotter, SIGNAL(axisScaleChanged()), this, SLOT(plotterAxisScaleChanged()));
+ connect(mPlotter, &KSignalPlotter::axisScaleChanged, this, &FancyPlotter::plotterAxisScaleChanged);
}
void FancyPlotter::answerReceived( int id, const QList<QByteArray> &answerlist )
{
@@ -941,4 +940,4 @@
}
-#include "FancyPlotter.moc"
+
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/SensorDisplayLib/FancyPlotter.h
^
|
@@ -3,20 +3,21 @@
Copyright (c) 1999 - 2001 Chris Schlaeger <cs@kde.org>
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public
- License version 2 or at your option version 3 as published by
- the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of
+ the License or (at your option) version 3 or any later version
+ accepted by the membership of KDE e.V. (or its successor approved
+ by the membership of KDE e.V.), which shall act as a proxy
+ defined in Section 14 of version 3 of the license.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef KSG_FANCYPLOTTER_H
@@ -32,7 +33,6 @@
class QBoxLayout;
class QLabel;
class SensorToAdd;
-class FancyPlotterLabel;
class KSignalPlotter;
class FPSensorProperties : public KSGRD::SensorProperties
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/SensorDisplayLib/FancyPlotterSettings.cpp
^
|
@@ -25,7 +25,6 @@
#include <KLocalizedString>
#include <knuminput.h>
-#include <QAbstractTableModel>
#include <QList>
#include <QCheckBox>
#include <QDoubleSpinBox>
@@ -33,10 +32,7 @@
#include <QGridLayout>
#include <QGroupBox>
#include <QHeaderView>
-#include <QImage>
#include <QLabel>
-#include <QLayout>
-#include <QPixmap>
#include <QPushButton>
#include <QTreeView>
@@ -214,7 +210,7 @@
mView->hideColumn(0);
pageLayout->addWidget( mView, 0, 0, 6, 1 );
- connect(mView,SIGNAL(doubleClicked(QModelIndex)), this, SLOT(editSensor()));
+ connect(mView, &QTreeView::doubleClicked, this, &FancyPlotterSettings::editSensor);
mEditButton = new QPushButton( i18n( "Set Color..." ), page );
mEditButton->setWhatsThis( i18n( "Push this button to configure the color of the sensor in the diagram." ) );
@@ -227,37 +223,31 @@
mRemoveButton = new QPushButton( i18n( "Delete" ), page );
mRemoveButton->setWhatsThis( i18n( "Push this button to delete the sensor." ) );
pageLayout->addWidget( mRemoveButton, 1, 1 );
- connect( mRemoveButton, SIGNAL(clicked()), SLOT(removeSensor()) );
+ connect(mRemoveButton, &QPushButton::clicked, this, &FancyPlotterSettings::removeSensor);
mMoveUpButton = new QPushButton( i18n( "Move Up" ), page );
mMoveUpButton->setEnabled( false );
pageLayout->addWidget( mMoveUpButton, 2, 1 );
- connect( mMoveUpButton, SIGNAL(clicked()), SLOT(moveUpSensor()) );
+ connect(mMoveUpButton, &QPushButton::clicked, this, &FancyPlotterSettings::moveUpSensor);
mMoveDownButton = new QPushButton( i18n( "Move Down" ), page );
mMoveDownButton->setEnabled( false );
pageLayout->addWidget( mMoveDownButton, 3, 1 );
- connect( mMoveDownButton, SIGNAL(clicked()), SLOT(moveDownSensor()) );
+ connect(mMoveDownButton, &QPushButton::clicked, this, &FancyPlotterSettings::moveDownSensor);
connect(mView->selectionModel(), SIGNAL(currentRowChanged(QModelIndex,QModelIndex)), this, SLOT(selectionChanged(QModelIndex)));
}
- connect( mManualRange, SIGNAL(toggled(bool)), mMinValue,
- SLOT(setEnabled(bool)) );
- connect( mManualRange, SIGNAL(toggled(bool)), mMaxValue,
- SLOT(setEnabled(bool)) );
- connect( mManualRange, SIGNAL(toggled(bool)), mMinValueLabel,
- SLOT(setEnabled(bool)) );
- connect( mManualRange, SIGNAL(toggled(bool)), mMaxValueLabel,
- SLOT(setEnabled(bool)) );
-
- connect( mShowVerticalLines, SIGNAL(toggled(bool)), mVerticalLinesDistance,
- SLOT(setEnabled(bool)) );
- connect( mShowVerticalLines, SIGNAL(toggled(bool)), mVerticalLinesScroll,
- SLOT(setEnabled(bool)) );
+ connect(mManualRange, &QCheckBox::toggled, mMinValue, &QDoubleSpinBox::setEnabled);
+ connect(mManualRange, &QCheckBox::toggled, mMaxValue, &QDoubleSpinBox::setEnabled);
+ connect(mManualRange, &QCheckBox::toggled, mMinValueLabel, &QLabel::setEnabled);
+ connect(mManualRange, &QCheckBox::toggled, mMaxValueLabel, &QLabel::setEnabled);
- connect( mEditButton, SIGNAL(clicked()), SLOT(editSensor()) );
+ connect(mShowVerticalLines, &QCheckBox::toggled, mVerticalLinesDistance, &KIntNumInput::setEnabled);
+ connect(mShowVerticalLines, &QCheckBox::toggled, mVerticalLinesScroll, &QCheckBox::setEnabled);
+
+ connect(mEditButton, &QPushButton::clicked, this, &FancyPlotterSettings::editSensor);
KAcceleratorManager::manage( this );
}
@@ -449,7 +439,7 @@
SensorModelEntry sensor = mModel->sensor( index );
KColorDialog dialog(this, true);
- connect(&dialog, SIGNAL(colorSelected(QColor)), this, SLOT(setColorForSelectedItem(QColor)));
+ connect(&dialog, &KColorDialog::colorSelected, this, &FancyPlotterSettings::setColorForSelectedItem);
QColor color = sensor.color();
dialog.setColor(color);
int result = dialog.exec();
@@ -506,4 +496,4 @@
-#include "FancyPlotterSettings.moc"
+
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/SensorDisplayLib/ListView.cpp
^
|
@@ -3,20 +3,21 @@
Copyright (c) 2001 Tobias Koenig <tokoe@kde.org>
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public
- License version 2 or at your option version 3 as published by
- the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of
+ the License or (at your option) version 3 or any later version
+ accepted by the membership of KDE e.V. (or its successor approved
+ by the membership of KDE e.V.), which shall act as a proxy
+ defined in Section 14 of version 3 of the license.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QDomElement>
@@ -37,7 +38,7 @@
#include <QTreeView>
#include <QHeaderView>
#include "ListView.h"
-#include "ListView.moc"
+
#include "ListViewSettings.h"
static QString formatByteSize(qlonglong amountInKB, int units) {
@@ -64,22 +65,22 @@
switch(units) {
case UnitsKB:
- return kString.arg(KGlobal::locale()->formatNumber(amountInKB, 0));
+ return kString.arg(KLocale::global()->formatNumber(amountInKB, 0));
case UnitsMB:
amount = amountInKB/1024.0;
- return mString.arg(KGlobal::locale()->formatNumber(amount, 1));
+ return mString.arg(KLocale::global()->formatNumber(amount, 1));
case UnitsGB:
amount = amountInKB/(1024.0*1024.0);
if(amount < 0.1 && amount > 0.05) amount = 0.1;
- return gString.arg(KGlobal::locale()->formatNumber(amount, 1));
+ return gString.arg(KLocale::global()->formatNumber(amount, 1));
case UnitsTB:
amount = amountInKB/(1024.0*1024.0*1024.0);
if(amount < 0.1 && amount > 0.05) amount = 0.1;
- return tString.arg(KGlobal::locale()->formatNumber(amount, 1));
+ return tString.arg(KLocale::global()->formatNumber(amount, 1));
case UnitsPB:
amount = amountInKB/(1024.0*1024.0*1024.0*1024.0);
if(amount < 0.1 && amount > 0.05) amount = 0.1;
- return pString.arg(KGlobal::locale()->formatNumber(amount, 1));
+ return pString.arg(KLocale::global()->formatNumber(amount, 1));
default:
return ""; // error
}
@@ -100,7 +101,7 @@
mView->setContextMenuPolicy( Qt::CustomContextMenu );
mView->header()->setContextMenuPolicy( Qt::CustomContextMenu );
- connect(mView, SIGNAL(customContextMenuRequested(QPoint)), SLOT(showContextMenu(QPoint)));
+ connect(mView, &QTreeView::customContextMenuRequested, this, &ListView::showContextMenu);
connect(mView->header(), SIGNAL(customContextMenuRequested(QPoint)), SLOT(showColumnContextMenu(QPoint)));
mView->setAlternatingRowColors(true);
@@ -400,7 +401,7 @@
{
lvs = new ListViewSettings(this, "ListViewSettings");
Q_CHECK_PTR(lvs);
- connect(lvs, SIGNAL(applyClicked()), SLOT(applySettings()));
+ connect(lvs, &ListViewSettings::applyClicked, this, &ListView::applySettings);
/* QPalette pal = monitor->palette();
lvs->setGridColor(pal.color(QPalette::Link));
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/SensorDisplayLib/ListView.h
^
|
@@ -3,19 +3,21 @@
Copyright (c) 2001 Tobias Koenig <tokoe@kde.org>
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public
- License version 2 or at your option version 3 as published by
- the Free Software Foundation.
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of
+ the License or (at your option) version 3 or any later version
+ accepted by the membership of KDE e.V. (or its successor approved
+ by the membership of KDE e.V.), which shall act as a proxy
+ defined in Section 14 of version 3 of the license.
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef _ListView_h_
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/SensorDisplayLib/ListViewSettings.cpp
^
|
@@ -82,7 +82,7 @@
m_settingsWidget->m_gridColor->setColor( c );
}
-#include "ListViewSettings.moc"
+
/* vim: et sw=2 ts=2
*/
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/SensorDisplayLib/LogFile.cpp
^
|
@@ -26,7 +26,6 @@
#include <QPushButton>
#include <QRegExp>
-#include <QFile>
#include <QListWidget>
#include <QHBoxLayout>
#include <kfontdialog.h>
@@ -39,7 +38,7 @@
#include "ui_LogFileSettings.h"
-#include "LogFile.moc"
+
LogFile::LogFile(QWidget *parent, const QString& title, SharedSettings *workSheetSettings)
: KSGRD::SensorDisplay(parent, title, workSheetSettings)
@@ -54,7 +53,7 @@
setMinimumSize(50, 25);
monitor->setContextMenuPolicy( Qt::CustomContextMenu );
- connect(monitor, SIGNAL(customContextMenuRequested(QPoint)), SLOT(showContextMenu(QPoint)));
+ connect(monitor, &QListWidget::customContextMenuRequested, this, &LogFile::showContextMenu);
setPlotterWidget(monitor);
}
@@ -104,15 +103,15 @@
lfs->ruleList->addItems(filterRules);
lfs->title->setText(title());
- connect(&dlg, SIGNAL(okClicked()), &dlg, SLOT(accept()));
- connect(&dlg, SIGNAL(applyClicked()), this, SLOT(applySettings()));
+ connect(&dlg, &KDialog::okClicked, &dlg, &KDialog::accept);
+ connect(&dlg, &KDialog::applyClicked, this, &LogFile::applySettings);
- connect(lfs->addButton, SIGNAL(clicked()), this, SLOT(settingsAddRule()));
- connect(lfs->deleteButton, SIGNAL(clicked()), this, SLOT(settingsDeleteRule()));
- connect(lfs->changeButton, SIGNAL(clicked()), this, SLOT(settingsChangeRule()));
- connect(lfs->ruleList, SIGNAL(currentRowChanged(int)), this, SLOT(settingsRuleListSelected(int)));
- connect(lfs->ruleText, SIGNAL(returnPressed()), this, SLOT(settingsAddRule()));
- connect(lfs->ruleText, SIGNAL(textChanged(QString)), this, SLOT(settingsRuleTextChanged()));
+ connect(lfs->addButton, &QPushButton::clicked, this, &LogFile::settingsAddRule);
+ connect(lfs->deleteButton, &QPushButton::clicked, this, &LogFile::settingsDeleteRule);
+ connect(lfs->changeButton, &QPushButton::clicked, this, &LogFile::settingsChangeRule);
+ connect(lfs->ruleList, &QListWidget::currentRowChanged, this, &LogFile::settingsRuleListSelected);
+ connect(lfs->ruleText, &KLineEdit::returnPressed, this, &LogFile::settingsAddRule);
+ connect(lfs->ruleText, &KLineEdit::textChanged, this, &LogFile::settingsRuleTextChanged);
settingsRuleListSelected(lfs->ruleList->currentRow());
settingsRuleTextChanged();
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/SensorDisplayLib/LogFile.h
^
|
@@ -28,7 +28,6 @@
#include <QtXml/qdom.h>
-#include <QTimerEvent>
#include <SensorDisplay.h>
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/SensorDisplayLib/MultiMeter.cpp
^
|
@@ -3,20 +3,21 @@
Copyright (c) 1999, 2000, 2001 Chris Schlaeger <cs@kde.org>
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public
- License version 2 or at your option version 3 as published by
- the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of
+ the License or (at your option) version 3 or any later version
+ accepted by the membership of KDE e.V. (or its successor approved
+ by the membership of KDE e.V.), which shall act as a proxy
+ defined in Section 14 of version 3 of the license.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <math.h>
@@ -230,4 +231,4 @@
mLcd->setPalette( pal );
}
-#include "MultiMeter.moc"
+
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/SensorDisplayLib/MultiMeter.h
^
|
@@ -3,19 +3,21 @@
Copyright (c) 1999 - 2001 Chris Schlaeger <cs@kde.org>
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public
- License version 2 or at your option version 3 as published by
- the Free Software Foundation.
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of
+ the License or (at your option) version 3 or any later version
+ accepted by the membership of KDE e.V. (or its successor approved
+ by the membership of KDE e.V.), which shall act as a proxy
+ defined in Section 14 of version 3 of the license.
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/SensorDisplayLib/MultiMeterSettings.cpp
^
|
@@ -138,7 +138,7 @@
m_settingsWidget->m_backgroundColor->setColor( c );
}
-#include "MultiMeterSettings.moc"
+
/* vim: et sw=2 ts=2
*/
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/SensorDisplayLib/ProcessController.cpp
^
|
@@ -27,7 +27,7 @@
#include <kdebug.h>
-#include "ProcessController.moc"
+
#include "ProcessController.h"
#include "processui/ksysguardprocesslist.h"
#include "processcore/processes.h"
@@ -149,10 +149,10 @@
mProcessList->setContentsMargins(0,0,0,0);
mProcessList->setScriptingEnabled(true);
addActions(mProcessList->actions());
- connect(mProcessList, SIGNAL(updated()), this, SIGNAL(updated()));
- connect(mProcessList, SIGNAL(processListChanged()), this, SIGNAL(processListChanged()));
+ connect(mProcessList, &KSysGuardProcessList::updated, this, &ProcessController::updated);
+ connect(mProcessList, &KSysGuardProcessList::processListChanged, this, &ProcessController::processListChanged);
mProcessList->setContextMenuPolicy( Qt::CustomContextMenu );
- connect(mProcessList, SIGNAL(customContextMenuRequested(QPoint)), SLOT(showContextMenu(QPoint)));
+ connect(mProcessList, &KSysGuardProcessList::customContextMenuRequested, this, &ProcessController::showContextMenu);
layout->addWidget(mProcessList);
@@ -162,7 +162,7 @@
KSysGuard::Processes *processes = mProcessList->processModel()->processController();
mProcesses = processes;
if(processes) {
- connect( processes, SIGNAL(runCommand(QString,int)), SLOT(runCommand(QString,int)));
+ connect(processes, &KSysGuard::Processes::runCommand, this, &ProcessController::runCommand);
}
}
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/SensorDisplayLib/ProcessController.h
^
|
@@ -4,19 +4,21 @@
Copyright (c) 1999, 2000 Chris Schlaeger <cs@kde.org>
Copyright (c) 2006 John Tapsell <john.tapsell@kde.org>
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public
- License version 2 or at your option version 3 as published by
- the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of
+ the License or (at your option) version 3 or any later version
+ accepted by the membership of KDE e.V. (or its successor approved
+ by the membership of KDE e.V.), which shall act as a proxy
+ defined in Section 14 of version 3 of the license.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
@@ -24,12 +26,8 @@
#define _ProcessController_h_
#include <QWidget>
-#include <QAbstractItemModel>
-#include <QVBoxLayout>
-#include <QHBoxLayout>
#include <QList>
-#include <QProcess>
#include <kapplication.h>
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/SensorDisplayLib/SensorDisplay.cpp
^
|
@@ -3,32 +3,33 @@
Copyright (c) 1999 - 2002 Chris Schlaeger <cs@kde.org>
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public
- License version 2 or at your option version 3 as published by
- the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of
+ the License or (at your option) version 3 or any later version
+ accepted by the membership of KDE e.V. (or its successor approved
+ by the membership of KDE e.V.), which shall act as a proxy
+ defined in Section 14 of version 3 of the license.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QCheckBox>
#include <QtXml/qdom.h>
#include <QMenu>
-#include <QSpinBox>
-#include <QBitmap>
#include <QPixmap>
#include <QEvent>
#include <QMouseEvent>
#include <QApplication>
+#include <QBitmap>
#include <kiconloader.h>
#include <KLocalizedString>
@@ -476,4 +477,4 @@
return mRegExpName;
}
-#include "SensorDisplay.moc"
+
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/SensorDisplayLib/SensorDisplay.h
^
|
@@ -3,20 +3,21 @@
Copyright (c) 1999 - 2001 Chris Schlaeger <cs@kde.org>
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public
- License version 2 or at your option version 3 as published by
- the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of
+ the License or (at your option) version 3 or any later version
+ accepted by the membership of KDE e.V. (or its successor approved
+ by the membership of KDE e.V.), which shall act as a proxy
+ defined in Section 14 of version 3 of the license.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef KSG_SENSORDISPLAY_H
@@ -24,7 +25,6 @@
#include <QEvent>
#include <QPointer>
-#include <QLabel>
#include <QWidget>
#include <ksgrd/SensorClient.h>
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/SensorDisplayLib/SensorLogger.cpp
^
|
@@ -659,4 +659,4 @@
}
}
-#include "SensorLogger.moc"
+
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/SensorDisplayLib/SensorLoggerDlg.cpp
^
|
@@ -20,7 +20,6 @@
#include "SensorLoggerDlg.h"
#include "ui_SensorLoggerDlgWidget.h"
-#include <QLayout>
#include <klocale.h>
@@ -37,7 +36,7 @@
m_loggerWidget = new Ui_SensorLoggerDlgWidget;
m_loggerWidget->setupUi( main );
m_loggerWidget->m_fileName->setMode(KFile::File|KFile::LocalOnly);
- connect(m_loggerWidget->m_fileName, SIGNAL(textChanged(QString)), SLOT(fileNameTextChanged()));
+ connect(m_loggerWidget->m_fileName, &KUrlRequester::textChanged, this, &SensorLoggerDlg::fileNameTextChanged);
setMainWidget( main );
fileNameTextChanged();
@@ -113,7 +112,7 @@
m_loggerWidget->m_upperLimit->setText( QString::number( limit ) );
}
-#include "SensorLoggerDlg.moc"
+
/* vim: et sw=2 ts=2
*/
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/SensorDisplayLib/SensorLoggerDlg.h
^
|
@@ -24,7 +24,6 @@
#include <kdialog.h>
-#include <QColor>
class Ui_SensorLoggerDlgWidget;
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/SensorDisplayLib/SensorLoggerDlgWidget.ui
^
|
@@ -193,8 +193,6 @@
<includes>
<include location="local" >kurlrequester.h</include>
<include location="local" >klineedit.h</include>
- <include location="local" >kpushbutton.h</include>
- <include location="local" >knuminput.h</include>
<include location="local" >knuminput.h</include>
</includes>
<connections>
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/SensorDisplayLib/SensorLoggerSettings.cpp
^
|
@@ -20,7 +20,7 @@
#include "SensorLoggerSettings.h"
#include "ui_SensorLoggerSettingsWidget.h"
-#include <klocale.h>
+#include <KLocalizedString>
SensorLoggerSettings::SensorLoggerSettings( QWidget *parent, const char *name )
: KDialog( parent )
@@ -83,7 +83,7 @@
m_settingsWidget->m_alarmColor->setColor( c );
}
-#include "SensorLoggerSettings.moc"
+
/* vim: et sw=2 ts=2
*/
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/SensorDisplayLib/SensorModel.cpp
^
|
@@ -295,4 +295,4 @@
-#include "SensorModel.moc"
+
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/SignalIDs.h
^
|
@@ -3,20 +3,21 @@
Copyright (c) 2000 Chris Schlaeger <cs@kde.org>
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public
- License version 2 or at your option version 3 as published by
- the Free Software Foundation.
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of
+ the License or (at your option) version 3 or any later version
+ accepted by the membership of KDE e.V. (or its successor approved
+ by the membership of KDE e.V.), which shall act as a proxy
+ defined in Section 14 of version 3 of the license.
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef KSG_SIGNALIDS_H
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/StyleEngine.cpp
^
|
@@ -3,30 +3,28 @@
Copyright (c) 1999 - 2001 Chris Schlaeger <cs@kde.org>
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public
- License version 2 or at your option version 3 as published by
- the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of
+ the License or (at your option) version 3 or any later version
+ accepted by the membership of KDE e.V. (or its successor approved
+ by the membership of KDE e.V.), which shall act as a proxy
+ defined in Section 14 of version 3 of the license.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <QImage>
#include <QPushButton>
-#include <QSpinBox>
#include <kconfig.h>
#include <kconfiggroup.h>
#include <klocale.h>
-#include <QList>
#include "StyleEngine.h"
using namespace KSGRD;
@@ -117,4 +115,4 @@
return mSensorColors.count();
}
-#include "StyleEngine.moc"
+
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/StyleEngine.h
^
|
@@ -3,20 +3,21 @@
Copyright (c) 1999 - 2001 Chris Schlaeger <cs@kde.org>
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public
- License version 2 or at your option version 3 as published by
- the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of
+ the License or (at your option) version 3 or any later version
+ accepted by the membership of KDE e.V. (or its successor approved
+ by the membership of KDE e.V.), which shall act as a proxy
+ defined in Section 14 of version 3 of the license.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef KSG_STYLEENGINE_H
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/TimerSettings.cpp
^
|
@@ -20,11 +20,10 @@
*/
#include <kacceleratormanager.h>
-#include <klocale.h>
+#include <KLocalizedString>
#include <QCheckBox>
#include <QLabel>
-#include <QLayout>
#include <QDoubleSpinBox>
#include <QWhatsThis>
@@ -60,8 +59,7 @@
mLabel->setBuddy( mInterval );
mInterval->setWhatsThis( i18n( "All displays of the sheet are updated at the rate specified here." ) );
- connect( mUseGlobalUpdate, SIGNAL(toggled(bool)),
- SLOT(globalUpdateChanged(bool)) );
+ connect(mUseGlobalUpdate, &QCheckBox::toggled, this, &TimerSettings::globalUpdateChanged);
mUseGlobalUpdate->setChecked( true );
@@ -98,4 +96,4 @@
mLabel->setEnabled( !value );
}
-#include "TimerSettings.moc"
+
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/WorkSheet.cpp
^
|
@@ -3,20 +3,21 @@
Copyright (c) 1999 - 2001 Chris Schlaeger <cs@kde.org>
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public
- License version 2 or at your option version 3 as published by
- the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of
+ the License or (at your option) version 3 or any later version
+ accepted by the membership of KDE e.V. (or its successor approved
+ by the membership of KDE e.V.), which shall act as a proxy
+ defined in Section 14 of version 3 of the license.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QClipboard>
@@ -34,7 +35,7 @@
#include <kdebug.h>
#include <klocale.h>
#include <kmessagebox.h>
-#include <kmenu.h>
+#include <QMenu>
#include <ksgrd/SensorManager.h>
@@ -352,7 +353,7 @@
return NULL;
}
newDisplay->applyStyle();
- connect(&mTimer, SIGNAL(timeout()), newDisplay, SLOT(timerTick()));
+ connect(&mTimer, &QTimer::timeout, newDisplay, &KSGRD::SensorDisplay::timerTick);
replaceDisplay( row, column, newDisplay, rowSpan, columnSpan );
return newDisplay;
}
@@ -373,8 +374,8 @@
* type we popup a menu so the user can select what display is
* wanted. */
if ( sensorType == "integer" || sensorType == "float" ) {
- KMenu pm;
- pm.addTitle( i18n( "Select Display Type" ) );
+ QMenu pm;
+ pm.addSection( i18n( "Select Display Type" ) );
QAction *a1 = pm.addAction( i18n( "&Line graph" ) );
QAction *a2 = pm.addAction( i18n( "&Digital display" ) );
QAction *a3 = pm.addAction( i18n( "&Bar graph" ) );
@@ -624,14 +625,14 @@
if (newDisplay->metaObject()->className() != QByteArray("DummyDisplay"))
{
- connect(newDisplay, SIGNAL(showPopupMenu(KSGRD::SensorDisplay*)), SLOT(showPopupMenu(KSGRD::SensorDisplay*)));
+ connect(newDisplay, &KSGRD::SensorDisplay::showPopupMenu, this, &WorkSheet::showPopupMenu);
newDisplay->setDeleteNotifier(this);
}
// if there's only item, the tab's title should be the widget's title
if (row == 0 && mRows == rowSpan && column == 0 && mColumns == columnSpan)
{
- connect(newDisplay, SIGNAL(titleChanged(QString)), SLOT(setTitle(QString)));
+ connect(newDisplay, &KSGRD::SensorDisplay::titleChanged, this, &WorkSheet::setTitle);
setTitle(newDisplay->title());
}
if (isVisible())
@@ -801,4 +802,4 @@
return 0;
}
-#include "WorkSheet.moc"
+
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/WorkSheet.h
^
|
@@ -3,20 +3,21 @@
Copyright (c) 1999 - 2002 Chris Schlaeger <cs@kde.org>
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public
- License version 2 or at your option version 3 as published by
- the Free Software Foundation.
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of
+ the License or (at your option) version 3 or any later version
+ accepted by the membership of KDE e.V. (or its successor approved
+ by the membership of KDE e.V.), which shall act as a proxy
+ defined in Section 14 of version 3 of the license.
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef KSG_WORKSHEET_H
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/WorkSheetSettings.cpp
^
|
@@ -3,20 +3,21 @@
Copyright (c) 1999 - 2002 Chris Schlaeger <cs@kde.org>
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public
- License version 2 or at your option version 3 as published by
- the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of
+ the License or (at your option) version 3 or any later version
+ accepted by the membership of KDE e.V. (or its successor approved
+ by the membership of KDE e.V.), which shall act as a proxy
+ defined in Section 14 of version 3 of the license.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <kacceleratormanager.h>
@@ -26,26 +27,36 @@
#include <QGroupBox>
#include <QLabel>
-#include <QLayout>
-#include <QSpinBox>
-
+#include <QGridLayout>
+#include <QVBoxLayout>
+#include <KConfigGroup>
+#include <QDialogButtonBox>
+#include <QPushButton>
#include "WorkSheetSettings.h"
WorkSheetSettings::WorkSheetSettings( QWidget* parent, bool locked )
- : KDialog( parent )
+ : QDialog( parent )
{
setObjectName( "WorkSheetSettings" );
setModal( true );
- setCaption( i18n( "Tab Properties" ) );
- setButtons( Ok | Cancel );
+ setWindowTitle( i18n( "Tab Properties" ) );
+ QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok|QDialogButtonBox::Cancel);
+ QVBoxLayout *mainLayout = new QVBoxLayout;
+ setLayout(mainLayout);
+ QPushButton *okButton = buttonBox->button(QDialogButtonBox::Ok);
+ okButton->setDefault(true);
+ okButton->setShortcut(Qt::CTRL | Qt::Key_Return);
+ connect(buttonBox, SIGNAL(accepted()), this, SLOT(accept()));
+ connect(buttonBox, SIGNAL(rejected()), this, SLOT(reject()));
QWidget *page = new QWidget( this );
- setMainWidget( page );
+ mainLayout->addWidget(page);
+ mainLayout->addWidget(buttonBox);
QVBoxLayout *topLayout = new QVBoxLayout( page );
topLayout->setMargin( 0 );
- topLayout->setSpacing( spacingHint() );
+ //PORT QT5 topLayout->setSpacing( spacingHint() );
QGroupBox *group = new QGroupBox( i18n( "Title" ), page );
@@ -151,4 +162,4 @@
return mSheetTitle->text();
}
-#include "WorkSheetSettings.moc"
+
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/WorkSheetSettings.h
^
|
@@ -3,32 +3,34 @@
Copyright (c) 1999 - 2002 Chris Schlaeger <cs@kde.org>
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public
- License version 2 or at your option version 3 as published by
- the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of
+ the License or (at your option) version 3 or any later version
+ accepted by the membership of KDE e.V. (or its successor approved
+ by the membership of KDE e.V.), which shall act as a proxy
+ defined in Section 14 of version 3 of the license.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef KSG_WORKSHEETSETTINGS_H
#define KSG_WORKSHEETSETTINGS_H
-#include <kdialog.h>
+#include <QDialog>
class KLineEdit;
class KDoubleNumInput;
class KIntNumInput;
-class WorkSheetSettings : public KDialog
+class WorkSheetSettings : public QDialog
{
Q_OBJECT
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/Workspace.cpp
^
|
@@ -4,24 +4,24 @@
Copyright (c) 1999 - 2002 Chris Schlaeger <cs@kde.org>
Copyright (c) 2006 John Tapsell <tapsell@kde.org>
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public
- License version 2 or at your option version 3 as published by
- the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of
+ the License or (at your option) version 3 or any later version
+ accepted by the membership of KDE e.V. (or its successor approved
+ by the membership of KDE e.V.), which shall act as a proxy
+ defined in Section 14 of version 3 of the license.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <QLineEdit>
-#include <QSpinBox>
#include <kfiledialog.h>
#include <KGlobal>
@@ -34,6 +34,7 @@
#include <kactioncollection.h>
#include <kmenu.h>
#include <KNewStuff3/KNS3/DownloadDialog>
+#include <KConfigGroup>
#include "WorkSheet.h"
#include "WorkSheetSettings.h"
@@ -387,4 +388,4 @@
current->applyStyle();
}
-#include "Workspace.moc"
+
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/Workspace.h
^
|
@@ -3,19 +3,21 @@
Copyright (c) 1999, 2000 Chris Schlaeger <cs@kde.org>
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public
- License version 2 or at your option version 3 as published by
- the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of
+ the License or (at your option) version 3 or any later version
+ accepted by the membership of KDE e.V. (or its successor approved
+ by the membership of KDE e.V.), which shall act as a proxy
+ defined in Section 14 of version 3 of the license.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/ksysguard.cpp
^
|
@@ -4,19 +4,21 @@
Copyright (c) 2006 - 2008 John Tapsell <john.tapsell@kde.org>
Copyright (c) 1999 - 2001 Chris Schlaeger <cs@kde.org>
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public
- License version 2 or at your option version 3 as published by
- the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of
+ the License or (at your option) version 3 or any later version
+ accepted by the membership of KDE e.V. (or its successor approved
+ by the membership of KDE e.V.), which shall act as a proxy
+ defined in Section 14 of version 3 of the license.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
KSysGuard has been written with some source code and ideas from
ktop (<1.0). Early versions of ktop have been written by Bernd
@@ -40,7 +42,7 @@
#include <kedittoolbar.h>
#include <kglobal.h>
#include <kglobalsettings.h>
-#include <kicon.h>
+#include <QIcon>
#include <klocale.h>
#include <kmessagebox.h>
#include <ksgrd/SensorAgent.h>
@@ -53,6 +55,7 @@
#include <QSplitter>
#include <config-workspace.h>
+#include <KFormat>
#include "SensorBrowser.h"
#include "Workspace.h"
#include "WorkSheet.h"
@@ -111,32 +114,32 @@
// create actions for menu entries
mRefreshTabAction = KStandardAction::redisplay(mWorkSpace,SLOT(refreshActiveWorksheet()),actionCollection());
mNewWorksheetAction = actionCollection()->addAction("new_worksheet");
- mNewWorksheetAction->setIcon(KIcon("tab-new"));
+ mNewWorksheetAction->setIcon(QIcon::fromTheme("tab-new"));
connect(mNewWorksheetAction, SIGNAL(triggered(bool)), mWorkSpace, SLOT(newWorkSheet()));
mInsertWorksheetAction = actionCollection()->addAction("import_worksheet");
- mInsertWorksheetAction->setIcon(KIcon("document-open") );
+ mInsertWorksheetAction->setIcon(QIcon::fromTheme("document-open") );
connect(mInsertWorksheetAction, SIGNAL(triggered(bool)), mWorkSpace, SLOT(importWorkSheet()));
mTabExportAction = actionCollection()->addAction( "export_worksheet" );
- mTabExportAction->setIcon( KIcon("document-save-as") );
+ mTabExportAction->setIcon( QIcon::fromTheme("document-save-as") );
connect(mTabExportAction, SIGNAL(triggered(bool)), mWorkSpace, SLOT(exportWorkSheet()));
mTabRemoveAction = actionCollection()->addAction( "remove_worksheet" );
- mTabRemoveAction->setIcon( KIcon("tab-close") );
+ mTabRemoveAction->setIcon( QIcon::fromTheme("tab-close") );
connect(mTabRemoveAction, SIGNAL(triggered(bool)), mWorkSpace, SLOT(removeWorkSheet()));
mMonitorRemoteAction = actionCollection()->addAction( "connect_host" );
- mMonitorRemoteAction->setIcon( KIcon("network-connect") );
+ mMonitorRemoteAction->setIcon( QIcon::fromTheme("network-connect") );
connect(mMonitorRemoteAction, SIGNAL(triggered(bool)), SLOT(connectHost()));
//knewstuff2 action
mHotNewWorksheetAction = actionCollection()->addAction( "get_new_worksheet" );
- mHotNewWorksheetAction->setIcon( KIcon("network-server") );
+ mHotNewWorksheetAction->setIcon( QIcon::fromTheme("network-server") );
connect(mHotNewWorksheetAction, SIGNAL(triggered(bool)), mWorkSpace, SLOT(getHotNewWorksheet()));
mHotNewWorksheetUploadAction = actionCollection()->addAction( "upload_worksheet" );
- mHotNewWorksheetUploadAction->setIcon( KIcon("network-server") );
+ mHotNewWorksheetUploadAction->setIcon( QIcon::fromTheme("network-server") );
connect(mHotNewWorksheetUploadAction, SIGNAL(triggered(bool)), mWorkSpace, SLOT(uploadHotNewWorksheet()));
mQuitAction = NULL;
mConfigureSheetAction = actionCollection()->addAction( "configure_sheet" );
- mConfigureSheetAction->setIcon( KIcon("configure") );
+ mConfigureSheetAction->setIcon( QIcon::fromTheme("configure") );
connect(mConfigureSheetAction, SIGNAL(triggered(bool)), SLOT(configureCurrentSheet()));
retranslateUi();
@@ -379,9 +382,9 @@
if ( !mWorkSpace->saveOnQuit() )
return false;
- KConfigGroup cg( KGlobal::config(), "MainWindow" );
+ KConfigGroup cg( KSharedConfig::openConfig(), "MainWindow" );
saveProperties( cg );
- KGlobal::config()->sync();
+ KSharedConfig::openConfig()->sync();
return true;
}
@@ -454,8 +457,8 @@
mUsedApplication = answer.toLongLong();
//Use a multi-length string
s = i18nc( "Arguments are formatted byte sizes (used/total)", "Memory: %1 / %2" "\xc2\x9c" "Mem: %1 / %2" "\xc2\x9c" "Mem: %1" "\xc2\x9c" "%1",
- KGlobal::locale()->formatByteSize( mUsedApplication*1024),
- KGlobal::locale()->formatByteSize( (mFree+mUsedTotal)*1024 ) );
+ KFormat().formatByteSize( mUsedApplication*1024),
+ KFormat().formatByteSize( (mFree+mUsedTotal)*1024 ) );
sbMemTotal->setText( s );
break;
@@ -483,8 +486,8 @@
msg = i18n( " No swap space available " );
else {
msg = i18nc( "Arguments are formatted byte sizes (used/total)", "Swap: %1 / %2" "\xc2\x9c" "Swap: %1" "\xc2\x9c" "%1" ,
- KGlobal::locale()->formatByteSize( used*1024 ),
- KGlobal::locale()->formatByteSize( (free+used)*1024) );
+ KFormat().formatByteSize( used*1024 ),
+ KFormat().formatByteSize( (free+used)*1024) );
}
sbSwapTotal->setText( msg );
@@ -563,7 +566,7 @@
// create top-level widget
- Toplevel->readProperties( KConfigGroup( KGlobal::config(), "MainWindow" ) );
+ Toplevel->readProperties( KConfigGroup( KSharedConfig::openConfig(), "MainWindow" ) );
// setup the statusbar, toolbar etc.
// Note that this comes after creating the top-level widgets whcih also
// sets up the various QActions that the user may have added to the toolbar
@@ -586,4 +589,4 @@
return result;
}
-#include "ksysguard.moc"
+
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/gui/ksysguard.h
^
|
@@ -3,19 +3,21 @@
Copyright (c) 1999, 2000 Chris Schlaeger <cs@kde.org>
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public
- License version 2 or at your option version 3 as published by
- the Free Software Foundation.
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of
+ the License or (at your option) version 3 or any later version
+ accepted by the membership of KDE e.V. (or its successor approved
+ by the membership of KDE e.V.), which shall act as a proxy
+ defined in Section 14 of version 3 of the license.
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef KSG_KSYSGUARD_H
|
[-]
[+]
|
Added |
ksysguard-5.1.90.tar.xz/gui/org.kde.ksysguard.desktop
^
|
@@ -0,0 +1,179 @@
+[Desktop Entry]
+Name=KSysGuard
+Name[ar]=حارس نظام كيدي
+Name[ast]=KSysGuard
+Name[bg]=Системна защита
+Name[br]=KSysGuard
+Name[bs]=KSysGuard
+Name[ca]=KSysGuard
+Name[ca@valencia]=KSysGuard
+Name[cs]=KSysGuard
+Name[csb]=Wachtôrz Systemë KDE
+Name[cy]=KSysGuard
+Name[da]=KSysGuard
+Name[de]=KSysGuard
+Name[el]=KSysGuard
+Name[en_GB]=KSysGuard
+Name[eo]=KDE-Sistemobservilo
+Name[es]=KSysGuard
+Name[et]=KSysGuard
+Name[eu]=KSysGuard
+Name[fi]=KSysGuard
+Name[fr]=KSysGuard
+Name[fy]=KSysGuard
+Name[ga]=KSysGuard
+Name[gl]=KSysGuard
+Name[gu]=KSysGuard
+Name[he]=KSysGuard
+Name[hi]=केडीई तंत्र रक्षक
+Name[hr]=KSysGuard
+Name[hu]=KSysGuard
+Name[ia]=KSysGuard
+Name[id]=KSysGuard
+Name[is]=KDE kerfisvörður
+Name[it]=KSysGuard
+Name[ja]=KSysGuard
+Name[ka]=KSysGuard
+Name[kk]=KSysGuard
+Name[km]=KSysGuard
+Name[kn]=KSysGuard
+Name[ko]=KSysGuard
+Name[lt]=KSysGuard
+Name[lv]=KSysGuard
+Name[mk]=KSysGuard
+Name[ml]=കെസിസ്ഗാര്ഡ്
+Name[mr]=के सिसगार्ड
+Name[nb]=KSysGuard
+Name[nds]=KSysGuard
+Name[nl]=KSysGuard
+Name[nn]=KSysGuard
+Name[pa]=ਕੇਸਿਸ-ਗਾਰਡ
+Name[pl]=Monitor systemu KDE
+Name[pt]=KSysGuard
+Name[pt_BR]=KSysGuard
+Name[ro]=KGardianSistem
+Name[ru]=Системный монитор
+Name[si]=KSysGuard
+Name[sk]=KSysGuard
+Name[sl]=KSysGuard
+Name[sr]=К‑систембран
+Name[sr@ijekavian]=К‑систембран
+Name[sr@ijekavianlatin]=K‑sistembran
+Name[sr@latin]=K‑sistembran
+Name[sv]=KDE:s systemövervakare
+Name[tg]=Ҳифзи системаи KDE
+Name[th]=ป้องกันระบบ-K
+Name[tr]=KSysGuard
+Name[ug]=KSysGuard
+Name[uk]=KSysGuard
+Name[uz]=KDE tizim nazoratchisi
+Name[uz@cyrillic]=KDE тизим назоратчиси
+Name[vi]=KSysGuard
+Name[wa]=KSisGåde
+Name[xh]=KSysGuard
+Name[x-test]=xxKSysGuardxx
+Name[zh_CN]=KDE 系统卫士
+Name[zh_TW]=KSysGuard
+GenericName=System Monitor
+GenericName[af]=Stelsel Monitor
+GenericName[ar]=مراقب النظام
+GenericName[as]=ব্যৱস্থাপ্ৰণালীৰ নিৰীক্ষণ ব্যৱস্থা
+GenericName[ast]=Monitor del sistema
+GenericName[be]=Сістэма
+GenericName[be@latin]=Systemny nazirańnik
+GenericName[bg]=Наблюдение на системата
+GenericName[bn]=সিস্টেম মনিটর
+GenericName[bn_IN]=সিস্টেম নিরীক্ষণ ব্যবস্থা
+GenericName[br]=Diskwel saviad ar reizhiad
+GenericName[bs]=Nadzornik sistema
+GenericName[ca]=Monitor del sistema
+GenericName[ca@valencia]=Monitor del sistema
+GenericName[cs]=Monitor systému
+GenericName[csb]=Mònitor systemë
+GenericName[cy]=Monitr Cysawd
+GenericName[da]=Systemovervågning
+GenericName[de]=Systemmonitor
+GenericName[el]=Επόπτης συστήματος
+GenericName[en_GB]=System Monitor
+GenericName[eo]=Sistemstato-programo
+GenericName[es]=Monitor del sistema
+GenericName[et]=Süsteemi jälgija
+GenericName[eu]=Sistema-monitorea
+GenericName[fa]=نمایشگر سیستم
+GenericName[fi]=Järjestelmänvalvontaohjelma
+GenericName[fr]=Surveillance du système
+GenericName[fy]=Systeemmonitor
+GenericName[ga]=Monatóir Córais
+GenericName[gl]=Vixilante do sistema
+GenericName[gu]=સિસ્ટમ દેખરેખ
+GenericName[he]=מוניטור המערכת
+GenericName[hi]=तंत्र मॉनीटर
+GenericName[hne]=तंत्र देखइया
+GenericName[hr]=Nadzor sustava
+GenericName[hsb]=Systemowy monitor
+GenericName[hu]=Rendszermonitor
+GenericName[ia]=Monitor de systema
+GenericName[id]=Monitor Sistem
+GenericName[is]=Kerfiseftirlit
+GenericName[it]=Monitor di sistema
+GenericName[ja]=システムモニタ
+GenericName[ka]=სისტემის მონიტორი
+GenericName[kk]=Жүйе мониторы
+GenericName[km]=កម្មវិធីត្រួតពិនិត្យប្រព័ន្ធ
+GenericName[kn]=ವ್ಯವಸ್ಥೆಯ ಪ್ರದರ್ಶಕ
+GenericName[ko]=시스템 모니터
+GenericName[ku]=Temaşekarê Pergalê
+GenericName[lt]=Sistemos stebėtojas
+GenericName[lv]=Sistēmas monitors
+GenericName[mai]=सिस्टम मानीटर
+GenericName[mk]=Системски монитор
+GenericName[ml]=വ്യൂഹനിരീക്ഷണി
+GenericName[mr]=प्रणाली मॉनिटर
+GenericName[ms]=Monitor Sistem
+GenericName[nb]=Systemovervåker
+GenericName[nds]=Systeemkieker
+GenericName[ne]=प्रणाली मनिटर
+GenericName[nl]=Systeemmonitor
+GenericName[nn]=Systemovervakar
+GenericName[oc]=Monitor sistèma
+GenericName[or]=ତନ୍ତ୍ର ପ୍ରଦର୍ଶିକା
+GenericName[pa]=ਸਿਸਟਮ ਨਿਗਰਾਨ
+GenericName[pl]=Monitor systemu
+GenericName[pt]=Monitor do Sistema
+GenericName[pt_BR]=Monitor do sistema
+GenericName[ro]=Monitor de sistem
+GenericName[ru]=Системный монитор
+GenericName[se]=Vuogádatgoziheaddji
+GenericName[si]=පද්ධති නිරීක්ෂකය
+GenericName[sk]=Monitor systému
+GenericName[sl]=Sistemski nadzornik
+GenericName[sr]=Надзорник система
+GenericName[sr@ijekavian]=Надзорник система
+GenericName[sr@ijekavianlatin]=Nadzornik sistema
+GenericName[sr@latin]=Nadzornik sistema
+GenericName[sv]=Systemövervakare
+GenericName[ta]=அமைப்பு கண்காணிப்பு
+GenericName[te]=సిస్టమ్ మానిటర్
+GenericName[tg]=Намоишгари система
+GenericName[th]=สอดส่องการทำงานของระบบ
+GenericName[tr]=Sistem İzleyici
+GenericName[ug]=سىستېما كۆزەتكۈچ
+GenericName[uk]=Монітор системи
+GenericName[uz]=Tizimni nazorat qilish
+GenericName[uz@cyrillic]=Тизимни назорат қилиш
+GenericName[vi]=Trình theo dõi hệ thống
+GenericName[wa]=Corwaitoe do sistinme
+GenericName[xh]=Indlela yokusebenza Yophatho
+GenericName[x-test]=xxSystem Monitorxx
+GenericName[zh_CN]=系统监视器
+GenericName[zh_TW]=系統監視器
+Exec=ksysguard %U
+Icon=utilities-system-monitor
+Type=Application
+MimeType=application/x-ksysguard;
+X-DocPath=ksysguard/index.html
+Terminal=false
+X-KDE-StartupNotify=true
+X-DBUS-StartupType=Multi
+Categories=Qt;KDE;System;
+X-DBUS-ServiceName=org.kde.ksysguard
|
[-]
[+]
|
Changed |
ksysguard-5.1.90.tar.xz/pics/CMakeLists.txt
^
|
@@ -1 +1 @@
-ecm_install_icons( ${ICON_INSTALL_DIR} )
+ecm_install_icons( ICONS hi16-apps-computer.png hi16-apps-daemon.png hi16-apps-kdeapp.png hi16-apps-kernel.png hi16-apps-ksysguardd.png hi16-apps-running.png hi16-apps-shell.png hi16-apps-unknownapp.png hi16-apps-waiting.png DESTINATION ${ICON_INSTALL_DIR} )
|
[-]
[+]
|
Changed |
ksysguard.yaml
^
|
@@ -1,5 +1,5 @@
Name : ksysguard
-Version : 5.1.0
+Version : 5.1.90
Release : 1
Group : System/Base
License : GPLv2+
@@ -56,7 +56,7 @@
- "%{_kf5_configdir}/ksysguard.knsrc"
- "%{_kf5_sysconfdir}/ksysguarddrc"
- "%{_kf5_iconsdir}/*"
- - "%{_kf5_applicationsdir}/ksysguard.desktop"
+ - "%{_kf5_applicationsdir}/org.kde.ksysguard.desktop"
- "%{_kf5_sharedir}/knotifications5/ksysguard.notifyrc"
- "%{_kf5_sharedir}/kxmlgui5/*"
|