Debian

Available patches from Ubuntu

To see Ubuntu differences wrt. to Debian, write down a grep-dctrl query identifying the packages you're interested in:
grep-dctrl -n -sPackage Sources.Debian
(e.g. -FPackage linux-ntfs or linux-ntfs)

Modified packages are listed below:

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: kreversi

kreversi (4:19.12.3-0ubuntu1) focal; urgency=medium * New upstream release (19.12.3) -- Rik Mills <rikmills@kde.org> Thu, 05 Mar 2020 16:13:15 +0000 kreversi (4:19.12.2-0ubuntu1) focal; urgency=medium * New upstream release (19.12.2) * Update watch file to the new release-service location. -- Rik Mills <rikmills@kde.org> Thu, 06 Feb 2020 15:23:05 +0000 kreversi (4:19.12.1-0ubuntu1) focal; urgency=medium * New upstream release (19.12.1) -- Rik Mills <rikmills@kde.org> Thu, 09 Jan 2020 14:57:16 +0000 kreversi (4:19.12.0-0ubuntu1) focal; urgency=medium * New upstream release (19.12.0) -- Rik Mills <rikmills@kde.org> Thu, 12 Dec 2019 10:50:58 +0000 kreversi (4:19.08.3-0ubuntu1) focal; urgency=medium * New upstream release (19.08.0) * New upstream release (19.08.1) * New upstream release (19.08.2) * New upstream release (19.08.3) -- Rik Mills <rikmills@kde.org> Thu, 07 Nov 2019 13:35:38 +0000 kreversi (4:19.04.3-0ubuntu1) eoan; urgency=medium * New upstream release (19.04.3) -- Rik Mills <rikmills@kubuntu.org> Thu, 11 Jul 2019 14:17:16 +0100 kreversi (4:19.04.2-0ubuntu1) eoan; urgency=medium * New upstream release (19.04.2) -- Rik Mills <rikmills@kubuntu.org> Sat, 08 Jun 2019 15:10:16 +0100 kreversi (4:19.04.1-0ubuntu1) eoan; urgency=medium * New upstream release (19.04.1) -- Rik Mills <rikmills@kubuntu.org> Sun, 12 May 2019 21:00:58 +0100 kreversi (4:19.04.0-0ubuntu1) eoan; urgency=medium * New upstream release (19.04.0) -- Rik Mills <rikmills@kubuntu.org> Fri, 26 Apr 2019 20:46:30 +0100 kreversi (4:18.12.3-0ubuntu1) disco; urgency=medium * New upstream release (18.12.3) -- Rik Mills <rikmills@kubuntu.org> Thu, 07 Mar 2019 13:31:37 +0000 kreversi (4:18.12.2-0ubuntu1) disco; urgency=medium * New upstream release (18.12.2) -- Rik Mills <rikmills@kubuntu.org> Sun, 17 Feb 2019 13:18:45 +0000 kreversi (4:18.12.1-0ubuntu1) disco; urgency=medium * New upstream release (18.12.1) -- Rik Mills <rikmills@kubuntu.org> Thu, 10 Jan 2019 14:12:57 +0000 kreversi (4:18.12.0-0ubuntu1) disco; urgency=medium * New upstream beta release (18.11.80) * New upstream release (18.12.0) -- Rik Mills <rikmills@kubuntu.org> Sat, 05 Jan 2019 16:51:10 +0000 kreversi (4:18.08.3-0ubuntu1) disco; urgency=medium * New upstream release (18.08.3) * Merge Debian changes. Remaining changes: - d/rules: l10npkgs_firstversion_ok := 4:17.08.3~ - Bumped build deps. - Kubuntu Vcs fields. -- Rik Mills <rikmills@kubuntu.org> Sat, 15 Dec 2018 19:42:25 +0000 kreversi (4:18.04.3-0ubuntu1) cosmic; urgency=medium * New upstream release (18.03.80) * New upstream release (18.04.0) * New upstream release (18.04.1) * New upstream release (18.04.3) -- Rik Mills <rikmills@kubuntu.org> Fri, 10 Aug 2018 09:20:24 +0100

Modifications :
  1. Download patch kreversicomputerplayer.h

    --- 4:18.04.1-1/kreversicomputerplayer.h 2018-03-13 02:23:13.000000000 +0000 +++ 4:19.12.3-0ubuntu1/kreversicomputerplayer.h 2020-03-01 14:10:24.000000000 +0000 @@ -38,7 +38,7 @@ public: /** * Constructs AI player of specified @p color and @p name */ - explicit KReversiComputerPlayer(ChipColor color, QString name); + explicit KReversiComputerPlayer(ChipColor color, const QString &name); ~KReversiComputerPlayer(); /**
  2. Download patch po/id/kreversi.po
  3. Download patch po/ug/kreversi.po
  4. Download patch kexthighscore_gui.cpp

    --- 4:18.04.1-1/kexthighscore_gui.cpp 2018-03-13 02:23:13.000000000 +0000 +++ 4:19.12.3-0ubuntu1/kexthighscore_gui.cpp 2020-03-01 14:10:24.000000000 +0000 @@ -27,7 +27,6 @@ #include <QHeaderView> #include <QIcon> #include <QLabel> -#include <QLayout> #include <QPushButton> #include <QTabWidget> #include <QTemporaryFile> @@ -79,7 +78,7 @@ ScoresList::ScoresList(QWidget *parent) void ScoresList::addHeader(const ItemArray &items) { // kDebug(11001) ; - addLineItem(items, 0, 0); + addLineItem(items, 0, nullptr); } QTreeWidgetItem *ScoresList::addLine(const ItemArray &items, @@ -131,7 +130,7 @@ void HighscoresList::load(const ItemArra { // kDebug(11001) ; clear(); - QTreeWidgetItem *line = 0; + QTreeWidgetItem *line = nullptr; for (int j=items.nbEntries()-1; j>=0; j--) { QTreeWidgetItem *item = addLine(items, j, j==highlight); if ( j==highlight ) line = item; @@ -141,12 +140,11 @@ void HighscoresList::load(const ItemArra //----------------------------------------------------------------------------- HighscoresWidget::HighscoresWidget(QWidget *parent) - : QWidget(parent), - _scoresUrl(0), _playersUrl(0), _statsTab(0), _histoTab(0) + : QWidget(parent) { // kDebug(11001) << ": HighscoresWidget"; - setObjectName( QLatin1String("show_highscores_widget" )); + setObjectName( QStringLiteral("show_highscores_widget" )); const ScoreInfos &s = internal->scoreInfos(); const PlayerInfos &p = internal->playerInfos(); @@ -158,24 +156,24 @@ HighscoresWidget::HighscoresWidget(QWidg vbox->addWidget(_tw); // scores tab - _scoresList = new HighscoresList(0); + _scoresList = new HighscoresList(nullptr); _scoresList->addHeader(s); _tw->addTab(_scoresList, i18n("Best &Scores")); // players tab - _playersList = new HighscoresList(0); + _playersList = new HighscoresList(nullptr); _playersList->addHeader(p); _tw->addTab(_playersList, i18n("&Players")); // statistics tab if ( internal->showStatistics ) { - _statsTab = new StatisticsTab(0); + _statsTab = new StatisticsTab(nullptr); _tw->addTab(_statsTab, i18n("Statistics")); } // histogram tab if ( p.histogram().size()!=0 ) { - _histoTab = new HistogramTab(0); + _histoTab = new HistogramTab(nullptr); _tw->addTab(_histoTab, i18n("Histogram")); } @@ -243,9 +241,10 @@ HighscoresDialog::HighscoresDialog(int r for (uint i=0; i<internal->nbGameTypes(); i++) { QString title = internal->manager.gameTypeLabel(i, Manager::I18N); QString icon = internal->manager.gameTypeLabel(i, Manager::Icon); - HighscoresWidget *hsw = new HighscoresWidget(0); + HighscoresWidget *hsw = new HighscoresWidget(nullptr); KPageWidgetItem *pageItem = new KPageWidgetItem( hsw, title); - pageItem->setIcon(QIcon::fromTheme(icon).pixmap(IconSize(KIconLoader::Toolbar))); + const int iconSize = style()->pixelMetric(QStyle::PM_ToolBarIconSize); + pageItem->setIcon(QIcon::fromTheme(icon).pixmap(iconSize)); // pageItem->setIcon( QIcon( BarIcon(icon, KIconLoader::SizeLarge) ) ); addPage( pageItem ); _pages.append(pageItem); @@ -281,7 +280,7 @@ void HighscoresDialog::slotUser1() { // kDebug(11001) ; if ( KExtHighscore::configure(this) ) - highscorePageChanged(currentPage(), 0);//update data + highscorePageChanged(currentPage(), nullptr);//update data } void HighscoresDialog::slotUser2() @@ -373,8 +372,8 @@ void TotalMultipleScoresList::addLineIte uint k = 1; // skip "id" for (uint i=0; i<4; i++) { // skip additional fields const ItemContainer *container; - if ( i==2 ) container = pi.item(QLatin1String( "nb games" )); - else if ( i==3 ) container = pi.item(QLatin1String( "mean score" )); + if ( i==2 ) container = pi.item(QStringLiteral( "nb games" )); + else if ( i==3 ) container = pi.item(QStringLiteral( "mean score" )); else { container = si[k]; k++; @@ -400,7 +399,7 @@ QString TotalMultipleScoresList::itemTex QString name = item.name(); if ( name==QLatin1String( "rank" ) ) return QString::number(_scores.size()-row); else if ( name==QLatin1String( "nb games" ) ) - return QString::number( _scores[row].data(QLatin1String( "nb won games" )).toUInt() ); + return QString::number( _scores[row].data(QStringLiteral( "nb won games" )).toUInt() ); QVariant v = _scores[row].data(name); if ( name==QLatin1String( "name" ) ) return v.toString(); return item.item()->pretty(row, v); @@ -410,15 +409,15 @@ QString TotalMultipleScoresList::itemTex //----------------------------------------------------------------------------- ConfigDialog::ConfigDialog(QWidget *parent) : QDialog(parent), - _saved(false), _WWHEnabled(0) + _saved(false), _WWHEnabled(nullptr) { // kDebug(11001) << ": ConfigDialog"; setWindowTitle( i18n("Configure Highscores") ); setModal( true ); - QWidget *page = 0; - QTabWidget *tab = 0; + QWidget *page = nullptr; + QTabWidget *tab = nullptr; QVBoxLayout *layout = new QVBoxLayout; setLayout(layout);
  5. Download patch po/kk/kreversi.po
  6. Download patch po/sk/kreversi.po
  7. Download patch kexthighscore_tab.cpp

    --- 4:18.04.1-1/kexthighscore_tab.cpp 2018-03-13 02:23:13.000000000 +0000 +++ 4:19.12.3-0ubuntu1/kexthighscore_tab.cpp 2020-03-01 14:10:24.000000000 +0000 @@ -21,7 +21,6 @@ #include <QApplication> -#include <QDialog> #include <QGroupBox> #include <QHeaderView> #include <QLayout>
  8. Download patch kexthighscore_internal.cpp

    --- 4:18.04.1-1/kexthighscore_internal.cpp 2018-03-13 02:23:13.000000000 +0000 +++ 4:19.12.3-0ubuntu1/kexthighscore_internal.cpp 2020-03-01 14:10:24.000000000 +0000 @@ -19,14 +19,10 @@ #include "kexthighscore_internal.h" -#include <pwd.h> #include <sys/types.h> -#include <unistd.h> #include <QCryptographicHash> #include <QDomDocument> -#include <QFile> -#include <QLayout> #include <QTemporaryFile> #include <QTextStream> #include <QVector> @@ -628,7 +624,7 @@ const char *UNABLE_TO_CONTACT = bool ManagerPrivate::doQuery(const QUrl &url, QWidget *parent, QDomNamedNodeMap *map) { - KIO::http_update_cache(url, true, QDateTime::fromTime_t(0)); // remove cache ! + KIO::http_update_cache(url, true, QDateTime::fromSecsSinceEpoch(0)); // remove cache ! QTemporaryFile tmpFile; if ( !tmpFile.open() ) {
  9. Download patch kexthighscore.h

    --- 4:18.04.1-1/kexthighscore.h 2018-03-13 02:23:13.000000000 +0000 +++ 4:19.12.3-0ubuntu1/kexthighscore.h 2020-03-01 14:10:24.000000000 +0000 @@ -40,23 +40,23 @@ extern ManagerPrivate *internal; /** * Get the current game type. */ -KDEGAMES_EXPORT uint gameType(); + uint gameType(); /** * Set the current game type. */ -KDEGAMES_EXPORT void setGameType(uint gameType); + void setGameType(uint gameType); /** * Configure the highscores. * @return true if the configuration has been modified and saved */ -KDEGAMES_EXPORT bool configure(QWidget *parent); + bool configure(QWidget *parent); /** * Show the highscores lists. */ -KDEGAMES_EXPORT void show(QWidget *parent); + void show(QWidget *parent); /** * Submit a score. See @ref Manager for usage example. @@ -64,19 +64,19 @@ KDEGAMES_EXPORT void show(QWidget *paren * @param score the players score * @param widget a widget used as parent for error message box. */ -KDEGAMES_EXPORT void submitScore(const Score &score, QWidget *widget); + void submitScore(const Score &score, QWidget *widget); /** * @return the last score in the local list of highscores. The worst possible * score if there are less items than the maximum number. */ -KDEGAMES_EXPORT Score lastScore(); + Score lastScore(); /** * @return the first score in the local list of highscores (the worst possible * score if there is no entry). */ -KDEGAMES_EXPORT Score firstScore(); + Score firstScore(); /** * This class manages highscores and players entries (several players can @@ -137,7 +137,7 @@ KDEGAMES_EXPORT Score firstScore(); * and the value of the items that you have optionally added * with Score::setData() player name and date are set automatically. */ -class KDEGAMES_EXPORT Manager +class Manager { public: /**
  10. Download patch po/es/docs/kreversi/index.docbook

    --- 4:18.04.1-1/po/es/docs/kreversi/index.docbook 2018-05-08 00:16:11.000000000 +0000 +++ 4:19.12.3-0ubuntu1/po/es/docs/kreversi/index.docbook 2020-03-03 00:21:42.000000000 +0000 @@ -745,8 +745,7 @@ > y Kira J. Fernández <email >kirajfdez@gmail.com</email >.</para -> -&underFDL; &underGPL; </chapter> +> &underFDL; &underGPL; </chapter> &documentation.index;
  11. Download patch po/el/kreversi.po
  12. Download patch po/ca@valencia/kreversi.po
  13. Download patch mainwindow.cpp

    --- 4:18.04.1-1/mainwindow.cpp 2018-03-13 02:23:13.000000000 +0000 +++ 4:19.12.3-0ubuntu1/mainwindow.cpp 2020-03-01 14:10:24.000000000 +0000 @@ -28,6 +28,8 @@ #include <QDesktopWidget> #include <QIcon> #include <QStatusBar> +#include <QApplication> +#include <QScreen> #include <KActionCollection> #include <KLocalizedString> @@ -45,15 +47,15 @@ static const int COMMON_STATUSBAR_ID = 0 KReversiMainWindow::KReversiMainWindow(QWidget* parent, bool startDemo) : KXmlGuiWindow(parent), - m_startDialog(0), - m_view(0), - m_game(0), - m_historyDock(0), - m_historyView(0), + m_startDialog(nullptr), + m_view(nullptr), + m_game(nullptr), + m_historyDock(nullptr), + m_historyView(nullptr), m_firstShow(true), m_startInDemoMode(startDemo), - m_undoAct(0), - m_hintAct(0) + m_undoAct(nullptr), + m_hintAct(nullptr) { memset(m_player, 0, sizeof(m_player)); @@ -101,13 +103,17 @@ KReversiMainWindow::KReversiMainWindow(Q // load saved settings loadSettings(); - setupGUI(qApp->desktop()->availableGeometry().size() * 0.7); - +#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0) + setupGUI(QApplication::screens().at(0)->availableGeometry().size() * 0.7); +#else + setupGUI(screen()->availableGeometry().size() * 0.7); +#endif m_historyDock->hide(); } KReversiMainWindow::~KReversiMainWindow() { + clearPlayers(); delete m_provider; } @@ -391,11 +397,11 @@ void KReversiMainWindow::clearPlayers() if (m_player[i]) { m_player[i]->disconnect(); delete m_player[i]; - m_player[i] = 0; + m_player[i] = nullptr; } } -void KReversiMainWindow::receivedGameStartInformation(GameStartInformation info) +void KReversiMainWindow::receivedGameStartInformation(const GameStartInformation &info) { clearPlayers(); m_nowPlayingInfo = info;
  14. Download patch kexthighscore_tab.h

    --- 4:18.04.1-1/kexthighscore_tab.h 2018-03-13 02:23:13.000000000 +0000 +++ 4:19.12.3-0ubuntu1/kexthighscore_tab.h 2020-03-01 14:10:24.000000000 +0000 @@ -35,7 +35,7 @@ class PlayersCombo : public QComboBox { Q_OBJECT public: - PlayersCombo(QWidget *parent = 0); + PlayersCombo(QWidget *parent = nullptr); void load();
  15. Download patch po/nn/kreversi.po
  16. Download patch debian/rules

    --- 4:18.04.1-1/debian/rules 2018-05-23 22:15:26.000000000 +0000 +++ 4:19.12.3-0ubuntu1/debian/rules 2020-03-05 16:13:15.000000000 +0000 @@ -1,6 +1,6 @@ #!/usr/bin/make -f -l10npkgs_firstversion_ok := 4:16.04.3-2~ +l10npkgs_firstversion_ok := 4:17.08.3~ include /usr/share/pkg-kde-tools/qt-kde-team/3/debian-qt-kde.mk include /usr/share/pkg-kde-tools/qt-kde-team/2/l10n-packages.mk
  17. Download patch po/sv/kreversi.po
  18. Download patch po/hu/kreversi.po
  19. Download patch po/hr/kreversi.po
  20. Download patch po/fa/kreversi.po
  21. Download patch po/et/kreversi.po
  22. Download patch kreversiview.h

    --- 4:18.04.1-1/kreversiview.h 2018-03-13 02:23:13.000000000 +0000 +++ 4:19.12.3-0ubuntu1/kreversiview.h 2020-03-01 14:10:24.000000000 +0000 @@ -19,7 +19,6 @@ #ifndef KREVERSI_VIEW_H #define KREVERSI_VIEW_H -#include <QTimer> #include <KgDeclarativeView> #include <KgThemeProvider>
  23. Download patch po/ja/kreversi.po
  24. Download patch po/it/kreversi.po
  25. Download patch po/ast/kreversi.po
  26. Download patch po/bs/kreversi.po
  27. Download patch kexthighscore_gui.h

    --- 4:18.04.1-1/kexthighscore_gui.h 2018-03-13 02:23:13.000000000 +0000 +++ 4:19.12.3-0ubuntu1/kexthighscore_gui.h 2020-03-01 14:10:24.000000000 +0000 @@ -101,10 +101,13 @@ class HighscoresWidget : public QWidget void tabChanged() { emit tabChanged(_tw->currentIndex()); } private: - QTabWidget *_tw; - HighscoresList *_scoresList, *_playersList; - KUrlLabel *_scoresUrl, *_playersUrl; - AdditionalTab *_statsTab, *_histoTab; + QTabWidget *_tw = nullptr; + HighscoresList *_scoresList = nullptr; + HighscoresList *_playersList = nullptr; + KUrlLabel *_scoresUrl = nullptr; + KUrlLabel *_playersUrl = nullptr; + AdditionalTab *_statsTab = nullptr; + AdditionalTab *_histoTab = nullptr; }; class HighscoresDialog : public KPageDialog @@ -121,7 +124,7 @@ class HighscoresDialog : public KPageDia private: int _rank, _tab; - QWidget *_current; + QWidget *_current = nullptr; QList<KPageWidgetItem*> _pages; }; @@ -172,11 +175,13 @@ class ConfigDialog : public QDialog private: bool _saved; - QCheckBox *_WWHEnabled; - QLineEdit *_nickname, *_comment; - QLineEdit *_key, *_registeredName; - QPushButton *_removeButton; - QDialogButtonBox *buttonBox; + QCheckBox *_WWHEnabled = nullptr; + QLineEdit *_nickname = nullptr; + QLineEdit *_comment = nullptr; + QLineEdit *_key = nullptr; + QLineEdit *_registeredName = nullptr; + QPushButton *_removeButton = nullptr; + QDialogButtonBox *buttonBox = nullptr; void load(); bool save(); @@ -196,8 +201,8 @@ class AskNameDialog : public QDialog void nameChanged(QDialogButtonBox *box); private: - QLineEdit *_edit; - QCheckBox *_checkbox; + QLineEdit *_edit = nullptr; + QCheckBox *_checkbox = nullptr; }; } // namespace
  28. Download patch highscores.cpp

    --- 4:18.04.1-1/highscores.cpp 2018-03-13 02:23:13.000000000 +0000 +++ 4:19.12.3-0ubuntu1/highscores.cpp 2020-03-01 14:10:24.000000000 +0000 @@ -39,7 +39,7 @@ ExtManager::ExtManager() const uint RANGE[6] = { 0, 32, 40, 48, 56, 64 }; QVector<uint> s; s.resize(6); - qCopy(RANGE, RANGE + 6, s.begin()); + std::copy(RANGE, RANGE+6, s.begin()); setScoreHistogram(s, ScoreBound); QList< const KgDifficultyLevel * > diffList = Kg::difficulty()->levels();
  29. Download patch po/de/kreversi.po
  30. Download patch org.kde.kreversi.desktop

    --- 4:18.04.1-1/org.kde.kreversi.desktop 2018-03-13 02:23:13.000000000 +0000 +++ 4:19.12.3-0ubuntu1/org.kde.kreversi.desktop 2020-03-01 14:10:24.000000000 +0000 @@ -2,7 +2,6 @@ Exec=kreversi -qwindowtitle %c Name=KReversi Name[af]=Kreversi -Name[ast]=KReversi Name[be]=Рэверсі Name[bn]=কে-রিভার্সি Name[br]=KReversi @@ -27,6 +26,7 @@ Name[he]=KReversi Name[hne]=के-रिवर्सी Name[hr]=KReversi Name[hu]=KReversi +Name[id]=KReversi Name[is]=KViðsnúningur Name[it]=KReversi Name[ja]=KReversi @@ -67,11 +67,11 @@ Name[vi]=KReversi Name[wa]=KReversi Name[xh]=KReversi Name[x-test]=xxKReversixx +Name[zh_CN]=KReversi Name[zh_TW]=KReversi 黑白棋 Type=Application X-DocPath=kreversi/index.html GenericName=Reversi Board Game -GenericName[ast]=Xuegu de tableru Reversi GenericName[be]=Настольная гульня ў рэверсі GenericName[bn]=ছককেন্দ্রিক খেলা রিভার্সি GenericName[br]=Ur c'hoari taolenn Reversi @@ -97,6 +97,7 @@ GenericName[he]=רברסי, משחק ל GenericName[hne]=रिवर्सी बोर्ड खेल GenericName[hr]=Reversi igra na ploči GenericName[hu]=Reversi táblajáték +GenericName[id]=Permainan Papan Membalik-balik GenericName[is]=Reversi borðleikur GenericName[it]=Reversi, gioco da tavolo GenericName[ja]=リバーシゲーム @@ -132,6 +133,7 @@ GenericName[ug]=Reversi تاختا ئو GenericName[uk]=Гра на дошці (реверсі) GenericName[wa]=Djeu d' platea Reversi GenericName[x-test]=xxReversi Board Gamexx +GenericName[zh_CN]=黑白棋游戏 GenericName[zh_TW]=黑白棋棋盤遊戲 Terminal=false Icon=kreversi
  31. Download patch po/he/kreversi.po
  32. Download patch debian/control

    --- 4:18.04.1-1/debian/control 2018-05-28 16:43:23.000000000 +0000 +++ 4:19.12.3-0ubuntu1/debian/control 2020-03-05 16:13:15.000000000 +0000 @@ -21,7 +21,7 @@ Build-Depends: cmake (>= 2.8.12~), libkf5doctools-dev (>= 5.30.0~), libkf5i18n-dev (>= 5.30.0~), libkf5iconthemes-dev (>= 5.30.0~), - libkf5kdegames-dev (>= 4.9.0~), + libkf5kdegames-dev (>= 4:19.12.3~), libkf5kio-dev (>= 5.30.0~), libkf5widgetsaddons-dev (>= 5.30.0~), libkf5xmlgui-dev (>= 5.30.0~), @@ -31,8 +31,8 @@ Build-Depends: cmake (>= 2.8.12~), qtdeclarative5-dev (>= 5.7.0~), Standards-Version: 4.1.4 Homepage: http://games.kde.org/ -Vcs-Browser: https://salsa.debian.org/qt-kde-team/kde/kreversi -Vcs-Git: https://salsa.debian.org/qt-kde-team/kde/kreversi.git +Vcs-Browser: https://code.launchpad.net/~kubuntu-packagers/kubuntu-packaging/+git/kreversi +Vcs-Git: https://git.launchpad.net/~kubuntu-packagers/kubuntu-packaging/+git/kreversi Package: kreversi Architecture: any
  33. Download patch po/it/docs/kreversi/index.docbook

    --- 4:18.04.1-1/po/it/docs/kreversi/index.docbook 2018-05-08 00:16:11.000000000 +0000 +++ 4:19.12.3-0ubuntu1/po/it/docs/kreversi/index.docbook 2020-03-03 00:21:42.000000000 +0000 @@ -701,8 +701,7 @@ > e Andrea Rizzi <email >rizzi@kde.org</email ></para -> -&underFDL; &underGPL; </chapter> +> &underFDL; &underGPL; </chapter> &documentation.index;
  34. Download patch po/fi/kreversi.po
  35. Download patch colorscheme.h

    --- 4:18.04.1-1/colorscheme.h 2018-03-13 02:23:13.000000000 +0000 +++ 4:19.12.3-0ubuntu1/colorscheme.h 2020-03-01 14:10:24.000000000 +0000 @@ -35,7 +35,7 @@ class ColorScheme : public QQuickItem Q_PROPERTY(QColor foreground READ foreground NOTIFY placeHolder) Q_PROPERTY(QColor border READ border NOTIFY placeHolder) public: - ColorScheme(QQuickItem *parent = 0); + explicit ColorScheme(QQuickItem *parent = nullptr); QColor background() const; QColor foreground() const;
  36. Download patch po/ro/kreversi.po
  37. Download patch po/nl/kreversi.po
  38. Download patch CMakeLists.txt

    --- 4:18.04.1-1/CMakeLists.txt 2018-05-08 00:16:11.000000000 +0000 +++ 4:19.12.3-0ubuntu1/CMakeLists.txt 2020-03-03 00:21:43.000000000 +0000 @@ -1,5 +1,5 @@ project(kreversi) -cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR) +cmake_minimum_required (VERSION 3.5 FATAL_ERROR) set (QT_MIN_VERSION "5.7.0") set (KF5_MIN_VERSION "5.30.0") @@ -40,6 +40,14 @@ add_definitions( -DQT_NO_URL_CAST_FROM_STRING -DQT_USE_QSTRINGBUILDER ) +if (${KF5Config_VERSION} STRGREATER "5.56.0") + add_definitions(-DQT_NO_FOREACH) + MESSAGE(STATUS "compile without foreach") +endif() +if (EXISTS "${CMAKE_SOURCE_DIR}/.git") + add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000) + add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000) +endif() add_subdirectory(pics) add_subdirectory(sounds) @@ -48,7 +56,6 @@ if (KF5DocTools_FOUND) add_subdirectory(doc) endif() -include_directories(${CMAKE_SOURCE_DIR}/libKF5KDEGames/highscore) ########### next target ############## set(kreversi_SRCS @@ -75,6 +82,8 @@ ki18n_wrap_ui(kreversi_SRCS startgamedia kconfig_add_kcfg_files(kreversi_SRCS preferences.kcfgc) +file(GLOB ICON_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/icons/hicolor/*-apps-kreversi.png") +ecm_add_app_icon(kreversi_SRCS ICONS ${ICON_SRCS}) add_executable(kreversi ${kreversi_SRCS}) target_link_libraries(kreversi
  39. Download patch po/nb/kreversi.po
  40. Download patch po/eo/kreversi.po
  41. Download patch po/mr/kreversi.po
  42. Download patch po/ga/kreversi.po
  43. Download patch po/cs/kreversi.po
  44. Download patch po/en_GB/kreversi.po
  45. Download patch .gitignore

    --- 4:18.04.1-1/.gitignore 2018-03-13 02:23:13.000000000 +0000 +++ 4:19.12.3-0ubuntu1/.gitignore 2020-03-01 14:10:24.000000000 +0000 @@ -1,3 +1,4 @@ .kdev4/ -build/ +/build*/ *.kdev4 +CMakeLists.txt.user*
  46. Download patch kreversihumanplayer.h

    --- 4:18.04.1-1/kreversihumanplayer.h 2018-03-13 02:23:13.000000000 +0000 +++ 4:19.12.3-0ubuntu1/kreversihumanplayer.h 2020-03-01 14:10:24.000000000 +0000 @@ -38,7 +38,7 @@ public: /** * Constructs Human player with specified @p color and @p name */ - explicit KReversiHumanPlayer(ChipColor color, QString name); + explicit KReversiHumanPlayer(ChipColor color, const QString &name); /** * Overridden slots from @see KReversiPlayer
  47. Download patch kreversicomputerplayer.cpp

    --- 4:18.04.1-1/kreversicomputerplayer.cpp 2018-03-13 02:23:13.000000000 +0000 +++ 4:19.12.3-0ubuntu1/kreversicomputerplayer.cpp 2020-03-01 14:10:24.000000000 +0000 @@ -23,7 +23,7 @@ #include "kreversicomputerplayer.h" -KReversiComputerPlayer::KReversiComputerPlayer(ChipColor color, QString name): +KReversiComputerPlayer::KReversiComputerPlayer(ChipColor color, const QString &name): KReversiPlayer(color, name, false, false), m_lowestSkill(100) // setting it big enough { m_engine = new Engine(1);
  48. Download patch po/uk/kreversi.po
  49. Download patch Engine.cpp

    --- 4:18.04.1-1/Engine.cpp 2018-03-13 02:23:13.000000000 +0000 +++ 4:19.12.3-0ubuntu1/Engine.cpp 2020-03-01 14:10:24.000000000 +0000 @@ -117,7 +117,6 @@ #include "Engine.h" #include <QApplication> -#include <QVector> // ================================================================ // Classes SquareStackEntry and SquareStack
  50. Download patch po/zh_CN/kreversi.po
  51. Download patch po/sl/kreversi.po
  52. Download patch po/nds/kreversi.po
  53. Download patch po/ru/kreversi.po
  54. Download patch debian/watch

    --- 4:18.04.1-1/debian/watch 2018-05-28 11:37:00.000000000 +0000 +++ 4:19.12.3-0ubuntu1/debian/watch 2020-03-05 16:13:15.000000000 +0000 @@ -1,2 +1,2 @@ version=4 -opts=pgpsigurlmangle=s/$/.sig/ https://download.kde.org/stable/applications/([\d.]+)/src/@PACKAGE@-([\d.]+)\.tar\.xz +opts=pgpsigurlmangle=s/$/.sig/ https://download.kde.org/stable/release-service/([\d.]+)/src/@PACKAGE@-([\d.]+)\.tar\.xz
  55. Download patch startgamedialog.cpp

    --- 4:18.04.1-1/startgamedialog.cpp 2018-03-13 02:23:13.000000000 +0000 +++ 4:19.12.3-0ubuntu1/startgamedialog.cpp 2020-03-01 14:10:24.000000000 +0000 @@ -24,16 +24,13 @@ #include "startgamedialog.h" #include "ui_startgamedialog.h" -#include <QCloseEvent> #include <QGraphicsDropShadowEffect> #include <QDialogButtonBox> -#include <QMessageBox> #include <QPushButton> #include <QPainter> #include <QSvgRenderer> #include <QVBoxLayout> -#include <KConfigGroup> #include <KgDifficulty> #include <KLocalizedString>
  56. Download patch po/pa/kreversi.po
  57. Download patch pics/default_theme.desktop

    --- 4:18.04.1-1/pics/default_theme.desktop 2018-03-13 02:23:13.000000000 +0000 +++ 4:19.12.3-0ubuntu1/pics/default_theme.desktop 2020-03-01 14:10:24.000000000 +0000 @@ -17,6 +17,7 @@ Name[fr]=Thème par défaut pour KRevers Name[ga]=Téama Réamhshocraithe KReversi Name[gl]=Tema visual predeterminado do KReversi Name[hu]=Alapértelmezett KReversi-téma +Name[id]=Tema Baku KReversi Name[it]=Tema predefinito per KReversi Name[kk]=KReversi әдетті нақышы Name[km]=ស្បែក​លំនាំ​ដើម​​របស់ KReversi @@ -42,6 +43,7 @@ Name[sv]=Othello standardtema Name[tr]=KReversi Öntanımlı Teması Name[uk]=Типова тема KReversi Name[x-test]=xxKReversi Default Themexx +Name[zh_CN]=KReversi 默认主题 Name[zh_TW]=KReversi 預設主題 FileName=default_theme.svgz Author=Mauricio Piacentini
  58. Download patch po/lv/kreversi.po
  59. Download patch mainwindow.h

    --- 4:18.04.1-1/mainwindow.h 2018-03-13 02:23:13.000000000 +0000 +++ 4:19.12.3-0ubuntu1/mainwindow.h 2020-03-01 14:10:24.000000000 +0000 @@ -25,7 +25,6 @@ #define KREVERSI_MAIN_WINDOW_H -#include <QApplication> #include <QDockWidget> #include <QListWidget> @@ -49,7 +48,7 @@ class KReversiMainWindow : public KXmlGu { Q_OBJECT public: - explicit KReversiMainWindow(QWidget* parent = 0, bool startDemo = false); + explicit KReversiMainWindow(QWidget* parent = nullptr, bool startDemo = false); ~KReversiMainWindow(); public slots: void slotNewGame(); @@ -72,7 +71,7 @@ private: void updateHistory(); void startDemo(); void clearPlayers(); - void receivedGameStartInformation(GameStartInformation info); + void receivedGameStartInformation(const GameStartInformation &info); KReversiPlayer *m_player[2]; StartGameDialog *m_startDialog;
  60. Download patch po/eu/kreversi.po
  61. Download patch po/ar/kreversi.po
  62. Download patch po/ca/kreversi.po
  63. Download patch po/hi/kreversi.po
  64. Download patch po/pl/kreversi.po
  65. Download patch org.kde.kreversi.appdata.xml

    --- 4:18.04.1-1/org.kde.kreversi.appdata.xml 2018-03-13 02:23:13.000000000 +0000 +++ 4:19.12.3-0ubuntu1/org.kde.kreversi.appdata.xml 2020-03-01 14:10:24.000000000 +0000 @@ -4,7 +4,6 @@ <metadata_license>FSFAP</metadata_license> <project_license>GPL-2.0+</project_license> <name>KReversi</name> - <name xml:lang="ast">KReversi</name> <name xml:lang="ca">KReversi</name> <name xml:lang="ca-valencia">KReversi</name> <name xml:lang="cs">KReversi</name> @@ -14,10 +13,14 @@ <name xml:lang="fi">KReversi</name> <name xml:lang="fr">KReversi</name> <name xml:lang="gl">KReversi</name> + <name xml:lang="id">KReversi</name> <name xml:lang="it">KReversi</name> + <name xml:lang="ko">KReversi</name> <name xml:lang="nl">KReversi</name> + <name xml:lang="nn">KReversi</name> <name xml:lang="pl">KReversi</name> <name xml:lang="pt">Reversi</name> + <name xml:lang="pt-BR">KReversi</name> <name xml:lang="ru">KReversi</name> <name xml:lang="sk">KReversi</name> <name xml:lang="sl">KReversi</name> @@ -29,6 +32,8 @@ <name xml:lang="tr">KReversi</name> <name xml:lang="uk">KReversi</name> <name xml:lang="x-test">xxKReversixx</name> + <name xml:lang="zh-CN">KReversi</name> + <name xml:lang="zh-TW">KReversi</name> <summary>Reversi Board Game</summary> <summary xml:lang="ca">Joc de taula Reversi</summary> <summary xml:lang="ca-valencia">Joc de taula Reversi</summary> @@ -39,10 +44,14 @@ <summary xml:lang="fi">Reversi-lautapeli</summary> <summary xml:lang="fr">Jeu de plateau Reversi</summary> <summary xml:lang="gl">Xogo de taboleiro similar ao Reversi</summary> + <summary xml:lang="id">Permainan Papan Membalik-balik</summary> <summary xml:lang="it">Gioco da tavolo tipo Reversi</summary> + <summary xml:lang="ko">리버시 보드 게임</summary> <summary xml:lang="nl">Reversi-bordspel</summary> + <summary xml:lang="nn">Brettspelet reversi</summary> <summary xml:lang="pl">Gra planszowa Reversi</summary> <summary xml:lang="pt">Jogo de Tabuleiro Reversi</summary> + <summary xml:lang="pt-BR">Jogo de tabuleiro Reversi</summary> <summary xml:lang="ru">Настольная игра «Реверси»</summary> <summary xml:lang="sk">Stolová hra Reversi</summary> <summary xml:lang="sl">Namizna igra Reversi</summary> @@ -54,6 +63,7 @@ <summary xml:lang="tr">Reversi Tahta Oyunu</summary> <summary xml:lang="uk">Гра на дошці (реверсі)</summary> <summary xml:lang="x-test">xxReversi Board Gamexx</summary> + <summary xml:lang="zh-CN">黑白棋游戏</summary> <description> <p> KReversi is a simple one player strategy game played against the computer. @@ -69,10 +79,13 @@ <p xml:lang="fi">KReversi on yksinkertainen yhden pelaajan strateginen lautapeli tietokonetta vastaan. Jos vastustaja kaappaa pelaajan nappulan, se käännetään, jolloin paljastuu vastustajan väri. Kun siirtoja ei voi enää tehdä, voittajaksi selviää se, jolla on enemmän omanvärisiään nappuloita.</p> <p xml:lang="fr">KReversi est un jeu de stratégie simple à un joueur qui se joue contre l'ordinateur. Si une pièce du joueur est capturée par un adversaire, cette pièce change de couleur pour prendre celle du joueur. Un gagnant est déclaré lorsqu'un joueur a plus de pièces de sa propre couleur que son adversaire et qu'il n'y a plus de mouvements possibles.</p> <p xml:lang="gl">KReversi é un xogo de estratexia sinxelo para un único xogador que se enfronta ao computador. Se o opoñente captura a peza do xogador, a peza entrégase para descubrir a cor do xogador. O gañador declárase cando un dos xogadores ten máis pezas da súa cor no taboleiro e non hai máis movementos posíbeis.</p> + <p xml:lang="id">KReversi adalah permainan strategi satu pemain sederhana yang dimainkan melawan komputer. Jika potongan pemain ditangkap oleh pemain lawan, potongan itu dibalik untuk mengungkapkan warna pemain itu. Pemenang telah dinyatakan ketika satu pemain memiliki lebih banyak potongan warna sendiri di papan dan tidak ada gerakan lebih yang mungkin dilakukan.</p> <p xml:lang="it">KReversi è un semplice gioco di strategia a un giocatore che si gioca contro il computer. Se il pezzo del giocatore viene catturato dall'avversario, il pezzo viene girato per mostrare il colore dell'avversario. Viene dichiarato vincitore il giocatore che ha sulla scacchiera più pezzi del proprio colore e nessun'altra mossa è possibile.</p> + <p xml:lang="ko">KReversi는 컴퓨터와 플레이할 수 있는 1인용 전략 게임입니다. 다른 플레이어가 플레이어의 돌을 잡으면 돌을 뒤집어서 색을 바꿉니다. 판이 가득 찼을 때 판에 있는 돌의 색이 더 많은 플레이어가 이깁니다.</p> <p xml:lang="nl">KReversi is een eenvoudig strategiespel dat u tegen de computer speelt. Als een steen van een speler wordt gevangen door een tegenstander, dan wordt de steen omgedraaid en de kleur ervan verandert in die van de tegenstander. De winnaar wordt uitgeroepen als een van de spelers meer stenen in zijn kleur op het bord heeft en er geen zetten meer mogelijk zijn.</p> <p xml:lang="pl">KReversi jest prostą jednoosobową grą strategiczną przeciwko komputerowi. Jeśli pionek gracza zostanie zbity przez przeciwnika, to pionek ten zostaje obrócony, aby ujawnić barwę tego gracza. Zwycięzcą zostaje ten kto ma najwięcej pionków własnej barwy na planszy w chwiili gdy nie będzie możliwy żaden ruch.</p> <p xml:lang="pt">O KReversi é um jogo simples de estratégia para um jogador contra o computador. Se a peça de um jogador é capturada por um jogador adversário, essa peça é virada para revelar a cor desse jogador. É declarado um vencedor quando um jogador tem mais peças da sua própria cor no tabuleiro e não existem mais jogadas possíveis.</p> + <p xml:lang="pt-BR">KReversi é um jogo simples de estratégia para um jogador que pratica contra o computador. Se uma peça for capturada por um jogador adversário, essa peça é virada para revelar a cor desse jogador. É declarado um vencedor quando esse jogador ficar com mais peças da sua cor no tabuleiro e se não existirem mais jogadas possíveis.</p> <p xml:lang="sk">KReversi je jednoduchá hra pre jedného hráča proti počítaču. Ak kamene hráča vezme protihráč, kamene zmenia farbu na farbu oponenta. Víťazom sa stane hráč, ktorý má viac kameňov svojej farby na ploche a nie sú možné ďalšie pohyby.</p> <p xml:lang="sl">KReversi je preprosta enoigralska strateška igra, ki se igra proti računalniku. Če nasprotni igralec zavzame vaš žeton, se ta obrne in razkrije barve nasprotnika. Ko ni več veljavnih potez, je igre konec, zmaga pa tisti, ki ima več žetonov njegove barve.</p> <p xml:lang="sr">К‑реверси је једноставна стратешка игра за једног играча, који игра против рачунара. Када противнички играч зароби играчеву фигуру, та фигура се преврће да открије боју тог играча. Победник је онај играч који има више фигура своје боје на табли када више не може да се повуче ниједан потез.</p> @@ -85,10 +98,11 @@ <p xml:lang="x-test">xxKReversi is a simple one player strategy game played against the computer. If a player's piece is captured by an opposing player, that piece is turned over to reveal the color of that player. A winner is declared when one player has more pieces of his own color on the board and there are no more possible moves.xx</p> </description> <url type="bugtracker">https://bugs.kde.org/enter_bug.cgi?format=guided&amp;product=kreversi</url> - <url type="help">http://docs.kde.org/?application=kreversi</url> + <url type="help">https://docs.kde.org/?application=kreversi</url> + <url type="donation">https://www.kde.org/community/donations/?app=kreversi&amp;source=appdata</url> <screenshots> <screenshot type="default"> - <image>https://kde.org/images/screenshots/kreversi.png</image> + <image>https://cdn.kde.org/screenshots/kreversi/kreversi.png</image> </screenshot> </screenshots> <project_group>KDE</project_group>
  66. Download patch kexthighscore.cpp

    --- 4:18.04.1-1/kexthighscore.cpp 2018-03-13 02:23:13.000000000 +0000 +++ 4:19.12.3-0ubuntu1/kexthighscore.cpp 2020-03-01 14:10:24.000000000 +0000 @@ -19,7 +19,6 @@ #include "kexthighscore.h" -#include <QLayout> #include <QUrlQuery> #include <QVector> @@ -32,7 +31,7 @@ namespace KExtHighscore { //----------------------------------------------------------------------------- -ManagerPrivate *internal = 0; +ManagerPrivate *internal = nullptr; uint gameType() { @@ -124,7 +123,7 @@ Manager::Manager(uint nbGameTypes, uint Manager::~Manager() { delete internal; - internal = 0; + internal = nullptr; } void Manager::setTrackLostGames(bool track) @@ -207,7 +206,7 @@ bool Manager::isStrictlyLess(const Score Item *Manager::createItem(ItemType type) { - Item *item = 0; + Item *item = nullptr; switch (type) { case ScoreDefault: item = new Item((uint)0, i18n("Score"), Qt::AlignRight);
  67. Download patch po/zh_TW/kreversi.po
  68. Download patch po/bg/kreversi.po
  69. Download patch po/ko/kreversi.po
  70. Download patch po/gl/kreversi.po
  71. Download patch kexthighscore_internal.h

    --- 4:18.04.1-1/kexthighscore_internal.h 2018-03-13 02:23:13.000000000 +0000 +++ 4:19.12.3-0ubuntu1/kexthighscore_internal.h 2020-03-01 14:10:24.000000000 +0000 @@ -29,7 +29,6 @@ #include "kexthighscore.h" #include <QDateTime> -#include <QLoggingCategory> #include <QTextStream> #include <QUrl> #include <QVector> @@ -271,7 +270,7 @@ class ManagerPrivate bool submitWorldWide(const Score &score, QWidget *parent) const; static bool doQuery(const QUrl &url, QWidget *parent, - QDomNamedNodeMap *map = 0); + QDomNamedNodeMap *map = nullptr); static bool getFromQuery(const QDomNamedNodeMap &map, const QString &name, QString &value, QWidget *parent); void convertToGlobal();
  72. Download patch po/sr/kreversi.po

    --- 4:18.04.1-1/po/sr/kreversi.po 2018-05-08 00:16:10.000000000 +0000 +++ 4:19.12.3-0ubuntu1/po/sr/kreversi.po 2020-03-03 00:21:41.000000000 +0000 @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: kreversi\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2017-10-24 03:11+0200\n" +"POT-Creation-Date: 2018-12-15 03:12+0100\n" "PO-Revision-Date: 2017-09-28 17:59+0200\n" "Last-Translator: Chusslove Illich <caslav.ilic@gmx.net>\n" "Language-Team: Serbian <kde-i18n-sr@kde.org>\n" @@ -651,23 +651,23 @@ msgstr "Притисните „Запо msgid "Move History" msgstr "Историјат потеза" -#: mainwindow.cpp:130 +#: mainwindow.cpp:131 #, kde-format msgid "Show Last Move" msgstr "Прикажи последњи потез" -#: mainwindow.cpp:135 +#: mainwindow.cpp:136 #, kde-format msgid "Show Legal Moves" msgstr "Прикажи дозвољене потезе" -#: mainwindow.cpp:140 +#: mainwindow.cpp:141 #, kde-format msgid "Animation Speed" msgstr "Брзина анимације" # >> @item:inlistbox Animation Speed -#: mainwindow.cpp:144 +#: mainwindow.cpp:145 #, kde-format msgid "Slow" msgstr "спора" @@ -675,48 +675,48 @@ msgstr "спора" # >! Contexts. # >> Difficulty level # >> Animation speed -#: mainwindow.cpp:144 +#: mainwindow.cpp:145 #, kde-format msgid "Normal" msgstr "нормално" # >> @item:inlistbox Animation Speed -#: mainwindow.cpp:144 +#: mainwindow.cpp:145 #, kde-format msgid "Fast" msgstr "брза" -#: mainwindow.cpp:149 +#: mainwindow.cpp:150 #, kde-format msgid "Use Colored Chips" msgstr "Користи обојене жетоне" -#: mainwindow.cpp:157 +#: mainwindow.cpp:158 #, kde-format msgid "Show Move History" msgstr "Прикажи историјат потеза" -#: mainwindow.cpp:235 mainwindow.cpp:250 mainwindow.cpp:263 mainwindow.cpp:271 +#: mainwindow.cpp:236 mainwindow.cpp:251 mainwindow.cpp:264 mainwindow.cpp:272 #, kde-format msgid "Game is drawn!" msgstr "Партија је нерешена!" -#: mainwindow.cpp:238 mainwindow.cpp:253 +#: mainwindow.cpp:239 mainwindow.cpp:254 #, kde-format msgid "You win!" msgstr "Победили сте!" -#: mainwindow.cpp:241 mainwindow.cpp:256 +#: mainwindow.cpp:242 mainwindow.cpp:257 #, kde-format msgid "You have lost!" msgstr "Изгубили сте!" -#: mainwindow.cpp:265 mainwindow.cpp:267 mainwindow.cpp:273 mainwindow.cpp:275 +#: mainwindow.cpp:266 mainwindow.cpp:268 mainwindow.cpp:274 mainwindow.cpp:276 #, kde-format msgid "%1 has won!" msgstr "%1 победи!" -#: mainwindow.cpp:281 mainwindow.cpp:282 mainwindow.cpp:284 mainwindow.cpp:285 +#: mainwindow.cpp:282 mainwindow.cpp:283 mainwindow.cpp:285 mainwindow.cpp:286 #, kde-format msgid "" "\n" @@ -725,34 +725,34 @@ msgstr "" "\n" "%1: %2" -#: mainwindow.cpp:288 +#: mainwindow.cpp:289 #, kde-format msgid "Game over" msgstr "Крај игре" -#: mainwindow.cpp:355 +#: mainwindow.cpp:356 #, kde-format msgid "GAME OVER" msgstr "КРАЈ ИГРЕ" # >> @info:status -#: mainwindow.cpp:360 mainwindow.cpp:361 mainwindow.cpp:367 mainwindow.cpp:368 +#: mainwindow.cpp:361 mainwindow.cpp:362 mainwindow.cpp:368 mainwindow.cpp:369 #, kde-format msgid "%1: %2" msgstr "%1: %2" -#: mainwindow.cpp:364 +#: mainwindow.cpp:365 #, kde-format msgid "%1 turn" msgstr "%1 на потезу" -#: mainwindow.cpp:371 +#: mainwindow.cpp:372 #, kde-format msgid "%1's turn" msgstr "%1 на потезу" # >> @item -#: mainwindow.cpp:381 startgamedialog.cpp:173 startgamedialog.cpp:183 +#: mainwindow.cpp:382 startgamedialog.cpp:173 startgamedialog.cpp:183 #, kde-format msgid "Computer" msgstr "рачунар"
  73. Download patch po/lt/kreversi.po
  74. Download patch kexthighscore_item.h

    --- 4:18.04.1-1/kexthighscore_item.h 2018-03-13 02:23:13.000000000 +0000 +++ 4:19.12.3-0ubuntu1/kexthighscore_item.h 2020-03-01 14:10:24.000000000 +0000 @@ -36,7 +36,7 @@ namespace KExtHighscore * a highscore element (such as the score, the date, ...) or a player * info (such as the player name, the best score, ...). */ -class KDEGAMES_EXPORT Item +class Item { public: /** @@ -168,14 +168,14 @@ class KDEGAMES_EXPORT Item enum ScoreType { Won = 0, Lost = -1, Draw = -2 }; class Score; -KDEGAMES_EXPORT QDataStream &operator <<(QDataStream &stream, const Score &score); -KDEGAMES_EXPORT QDataStream &operator >>(QDataStream &stream, Score &score); + QDataStream &operator <<(QDataStream &stream, const Score &score); + QDataStream &operator >>(QDataStream &stream, Score &score); /** * This class contains data for a score. You should not inherit from * this class but reimplement the methods in Highscores. */ -class KDEGAMES_EXPORT Score +class Score { public: Score(ScoreType type = Won); @@ -240,13 +240,13 @@ class KDEGAMES_EXPORT Score friend class MultiplayerScores; - friend KDEGAMES_EXPORT QDataStream &operator <<(QDataStream &stream, const Score &score); - friend KDEGAMES_EXPORT QDataStream &operator >>(QDataStream &stream, Score &score); + friend QDataStream &operator <<(QDataStream &stream, const Score &score); + friend QDataStream &operator >>(QDataStream &stream, Score &score); }; class MultiplayerScores; -KDEGAMES_EXPORT QDataStream &operator <<(QDataStream &stream, const MultiplayerScores &score); -KDEGAMES_EXPORT QDataStream &operator >>(QDataStream &stream, MultiplayerScores &score); + QDataStream &operator <<(QDataStream &stream, const MultiplayerScores &score); + QDataStream &operator >>(QDataStream &stream, MultiplayerScores &score); /** * This class is used to store and show scores for multiplayer games. @@ -268,7 +268,7 @@ KDEGAMES_EXPORT QDataStream &operator >> * ms.addScore(1, score); * </pre> */ -class KDEGAMES_EXPORT MultiplayerScores +class MultiplayerScores { public: MultiplayerScores(); @@ -307,9 +307,9 @@ class KDEGAMES_EXPORT MultiplayerScores class MultiplayerScoresPrivate; MultiplayerScoresPrivate *d; - friend KDEGAMES_EXPORT QDataStream &operator <<(QDataStream &stream, + friend QDataStream &operator <<(QDataStream &stream, const MultiplayerScores &score); - friend KDEGAMES_EXPORT QDataStream &operator >>(QDataStream &stream, + friend QDataStream &operator >>(QDataStream &stream, MultiplayerScores &score); };
  75. Download patch po/pt/kreversi.po
  76. Download patch po/es/kreversi.po
  77. Download patch kexthighscore_item.cpp

    --- 4:18.04.1-1/kexthighscore_item.cpp 2018-03-13 02:23:13.000000000 +0000 +++ 4:19.12.3-0ubuntu1/kexthighscore_item.cpp 2020-03-01 14:10:24.000000000 +0000 @@ -21,7 +21,6 @@ #include <QApplication> #include <QHBoxLayout> -#include <QLayout> #include <QLabel> #include <QLocale> #include <QWidget>
  78. Download patch po/nl/docs/kreversi/index.docbook

    --- 4:18.04.1-1/po/nl/docs/kreversi/index.docbook 2018-05-08 00:16:11.000000000 +0000 +++ 4:19.12.3-0ubuntu1/po/nl/docs/kreversi/index.docbook 2020-03-03 00:21:42.000000000 +0000 @@ -663,8 +663,7 @@ <para >Documentatie herschreven en bijgewerkt voor 2.0 door &Clay.Pradarits; &Clay.Pradarits.mail;</para> -&meld.fouten;&vertaling.niels;&vertaling.rinse;&vertaling.sander; -&underFDL; &underGPL; </chapter> +&meld.fouten;&vertaling.niels;&vertaling.rinse;&vertaling.sander; &underFDL; &underGPL; </chapter> &documentation.index;
  79. Download patch po/is/kreversi.po
  80. Download patch kreversiview.cpp

    --- 4:18.04.1-1/kreversiview.cpp 2018-03-13 02:23:13.000000000 +0000 +++ 4:19.12.3-0ubuntu1/kreversiview.cpp 2020-03-01 14:10:24.000000000 +0000 @@ -28,7 +28,7 @@ KReversiView::KReversiView(KReversiGame* : KgDeclarativeView(parent), m_provider(provider), m_delay(ANIMATION_SPEED_NORMAL), - m_game(0), + m_game(nullptr), m_showLastMove(false), m_showLegalMoves(false), m_showLabels(false) @@ -118,7 +118,7 @@ void KReversiView::setAnimationSpeed(int KReversiView::~KReversiView() { - setGame(0); + setGame(nullptr); } void KReversiView::updateBoard() @@ -184,7 +184,7 @@ void KReversiView::updateBoard() QMetaObject::invokeMethod(m_qml_root, "setChipState", Q_ARG(QVariant, m_hint.row), Q_ARG(QVariant, m_hint.col), - Q_ARG(QVariant, QLatin1Literal("Black"))); + Q_ARG(QVariant, QLatin1String("Black"))); QMetaObject::invokeMethod(m_qml_root, "setHint", Q_ARG(QVariant, m_hint.row), Q_ARG(QVariant, m_hint.col),
  81. Download patch kreversiplayer.h

    --- 4:18.04.1-1/kreversiplayer.h 2018-03-13 02:23:13.000000000 +0000 +++ 4:19.12.3-0ubuntu1/kreversiplayer.h 2020-03-01 14:10:24.000000000 +0000 @@ -52,7 +52,7 @@ public: * @param hintAllowed determines whether hints are allowed for player * @param undoAllowed determines whether undos are allowed for player */ - explicit KReversiPlayer(ChipColor color, QString name, + explicit KReversiPlayer(ChipColor color, const QString &name, bool hintAllowed, bool undoAllowed); /**
  82. Download patch sounds/kreversi.notifyrc
  83. Download patch po/fr/kreversi.po
  84. Download patch po/da/kreversi.po
  85. Download patch kreversihumanplayer.cpp

    --- 4:18.04.1-1/kreversihumanplayer.cpp 2018-03-13 02:23:13.000000000 +0000 +++ 4:19.12.3-0ubuntu1/kreversihumanplayer.cpp 2020-03-01 14:10:24.000000000 +0000 @@ -23,7 +23,7 @@ #include "kreversihumanplayer.h" -KReversiHumanPlayer::KReversiHumanPlayer(ChipColor color, QString name): +KReversiHumanPlayer::KReversiHumanPlayer(ChipColor color, const QString &name): KReversiPlayer(color, name, true, true) { }
  86. Download patch kreversiplayer.cpp

    --- 4:18.04.1-1/kreversiplayer.cpp 2018-03-13 02:23:13.000000000 +0000 +++ 4:19.12.3-0ubuntu1/kreversiplayer.cpp 2020-03-01 14:10:24.000000000 +0000 @@ -23,7 +23,7 @@ #include "kreversiplayer.h" -KReversiPlayer::KReversiPlayer(ChipColor color, QString name, +KReversiPlayer::KReversiPlayer(ChipColor color, const QString &name, bool hintAllowed, bool undoAllowed): m_state(UNKNOWN), m_color(color), m_name(name), m_hintAllowed(hintAllowed), m_hintCount(0), m_undoAllowed(undoAllowed),
  87. Download patch po/sv/docs/kreversi/index.docbook

    --- 4:18.04.1-1/po/sv/docs/kreversi/index.docbook 2018-05-08 00:16:11.000000000 +0000 +++ 4:19.12.3-0ubuntu1/po/sv/docs/kreversi/index.docbook 2020-03-03 00:21:43.000000000 +0000 @@ -679,8 +679,7 @@ >Översättning Stefan Asserhäll <email >stefan.asserhall@bredband.net</email ></para -> -&underFDL; &underGPL; </chapter> +> &underFDL; &underGPL; </chapter> &documentation.index;
  88. Download patch po/pt_BR/kreversi.po
  89. Download patch po/km/kreversi.po
  90. Download patch main.cpp

    --- 4:18.04.1-1/main.cpp 2018-03-13 02:23:13.000000000 +0000 +++ 4:19.12.3-0ubuntu1/main.cpp 2020-03-01 14:10:24.000000000 +0000 @@ -72,7 +72,7 @@ int main(int argc, char **argv) KDBusService service; if (application.isSessionRestored()) { - RESTORE(KReversiMainWindow) + kRestoreMainWindows<KReversiMainWindow>(); } else { KReversiMainWindow *mainWin = new KReversiMainWindow(0, parser.isSet(QStringLiteral("demo"))); mainWin->show();
  91. Download patch po/tr/kreversi.po
  1. kreversi