Hello community,
here is the log from the commit of package knetwalk for openSUSE:Factory checked in at 2016-01-10 13:05:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/knetwalk (Old)
and /work/SRC/openSUSE:Factory/.knetwalk.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "knetwalk"
Changes:
--------
--- /work/SRC/openSUSE:Factory/knetwalk/knetwalk.changes 2015-11-15 12:37:58.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.knetwalk.new/knetwalk.changes 2016-01-10 13:05:49.000000000 +0100
@@ -1,0 +2,9 @@
+Sun Dec 13 13:23:16 UTC 2015 - tittiatcoke@gmail.com
+
+- Update to KDE Applications 15.12.0
+ * KDE Applications 15.12.0
+ * https://www.kde.org/announcements/announce-applications-15.12.0.php
+ * boo#958887
+
+
+-------------------------------------------------------------------
Old:
----
knetwalk-15.08.3.tar.xz
New:
----
knetwalk-15.12.0.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ knetwalk.spec ++++++
--- /var/tmp/diff_new_pack.NgIktC/_old 2016-01-10 13:05:50.000000000 +0100
+++ /var/tmp/diff_new_pack.NgIktC/_new 2016-01-10 13:05:50.000000000 +0100
@@ -58,7 +58,7 @@
License: GPL-2.0+
Group: Amusements/Games/Board/Puzzle
Url: http://www.kde.org
-Version: 15.08.3
+Version: 15.12.0
Release: 0
Source0: knetwalk-%{version}.tar.xz
Obsoletes: %{name}5 < %{version}
++++++ knetwalk-15.08.3.tar.xz -> knetwalk-15.12.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/knetwalk-15.08.3/CMakeLists.txt new/knetwalk-15.12.0/CMakeLists.txt
--- old/knetwalk-15.08.3/CMakeLists.txt 2015-05-02 13:43:02.000000000 +0200
+++ new/knetwalk-15.12.0/CMakeLists.txt 2015-10-28 21:28:32.000000000 +0100
@@ -18,6 +18,8 @@
XmlGui
KIO
NotifyConfig
+ DocTools
+ TextWidgets
)
find_package(KF5KDEGames 4.9.0 REQUIRED)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/knetwalk-15.08.3/src/gameview.cpp new/knetwalk-15.12.0/src/gameview.cpp
--- old/knetwalk-15.08.3/src/gameview.cpp 2015-05-02 13:43:02.000000000 +0200
+++ new/knetwalk-15.12.0/src/gameview.cpp 2015-10-28 21:28:32.000000000 +0100
@@ -32,12 +32,12 @@
grid(new AbstractGrid),
m_provider(new KgThemeProvider)
{
- m_provider->discoverThemes("appdata", QLatin1String("themes"));
- m_provider->setDeclarativeEngine(QLatin1Literal("themeProvider"), engine());
- m_soundTurn = new KgSound(QStandardPaths::locate(QStandardPaths::DataLocation, QLatin1Literal("sounds/turn.wav")), this);
- m_soundClick = new KgSound(QStandardPaths::locate(QStandardPaths::DataLocation, QLatin1Literal("sounds/click.wav")), this);
- m_soundConnect = new KgSound(QStandardPaths::locate(QStandardPaths::DataLocation, QLatin1Literal("sounds/connect.wav")), this);
- QString path = QStandardPaths::locate(QStandardPaths::DataLocation, QLatin1Literal("qml/main.qml"));
+ m_provider->discoverThemes("appdata", QStringLiteral("themes"));
+ m_provider->setDeclarativeEngine(QStringLiteral("themeProvider"), engine());
+ m_soundTurn = new KgSound(QStandardPaths::locate(QStandardPaths::DataLocation, QStringLiteral("sounds/turn.wav")), this);
+ m_soundClick = new KgSound(QStandardPaths::locate(QStandardPaths::DataLocation, QStringLiteral("sounds/click.wav")), this);
+ m_soundConnect = new KgSound(QStandardPaths::locate(QStandardPaths::DataLocation, QStringLiteral("sounds/connect.wav")), this);
+ QString path = QStandardPaths::locate(QStandardPaths::DataLocation, QStringLiteral("qml/main.qml"));
setSource(QUrl::fromLocalFile(path));
setRotateDuration();
@@ -68,15 +68,15 @@
for(int i = 0; i < grid->cellCount(); i++)
{
QString code = getCableCode(grid->cellAt(i)->cables());
- QString type = QLatin1Literal("none");
+ QString type = QStringLiteral("none");
if(grid->cellAt(i)->isConnected()){
code = QLatin1String("con") + code;
}
if(grid->cellAt(i)->isServer()){
- type = QLatin1Literal("server");
+ type = QStringLiteral("server");
}
else if(grid->cellAt(i)->isTerminal()) {
- type = (grid->cellAt(i)->isConnected())? QLatin1Literal("computer2"): QLatin1Literal("computer1");
+ type = (grid->cellAt(i)->isConnected())? QStringLiteral("computer2"): QStringLiteral("computer1");
}
newCell(code, type);
}
@@ -136,9 +136,9 @@
void GameView::updateSprite(int index)
{
- QString type = QLatin1Literal("none");
+ QString type = QStringLiteral("none");
if(grid->cellAt(index)->isTerminal()){
- type = (grid->cellAt(index)->isConnected())? QLatin1Literal("computer2"): QLatin1Literal("computer1");
+ type = (grid->cellAt(index)->isConnected())? QStringLiteral("computer2"): QStringLiteral("computer1");
}
QString code = getCableCode(grid->cellAt(index)->cables());
@@ -163,7 +163,7 @@
"<strong>and all <em>cables</em></strong> "
"need to be connected to the server!"),
i18n("The game is not won yet!"),
- QLatin1String( "dontShowGameNotWonYet" ));
+ QStringLiteral( "dontShowGameNotWonYet" ));
return;
}
}
@@ -196,19 +196,19 @@
QString GameView::getCableCode(int cables)
{
QHash directionNames;
- directionNames[Left] = QLatin1Literal("0001");
- directionNames[Down] = QLatin1Literal("0010");
- directionNames[Down|Left] = QLatin1Literal("0011");
- directionNames[Right] = QLatin1Literal("0100");
- directionNames[Right|Left] = QLatin1Literal("0101");
- directionNames[Right|Down] = QLatin1Literal("0110");
- directionNames[Right|Down|Left] = QLatin1Literal("0111");
- directionNames[Up] = QLatin1Literal("1000");
- directionNames[Up|Left] = QLatin1Literal("1001");
- directionNames[Up|Down] = QLatin1Literal("1010");
- directionNames[Up|Down|Left] = QLatin1Literal("1011");
- directionNames[Up|Right] = QLatin1Literal("1100");
- directionNames[Up|Right|Left] = QLatin1Literal("1101");
- directionNames[Up|Right|Down] = QLatin1Literal("1110");
+ directionNames[Left] = QStringLiteral("0001");
+ directionNames[Down] = QStringLiteral("0010");
+ directionNames[Down|Left] = QStringLiteral("0011");
+ directionNames[Right] = QStringLiteral("0100");
+ directionNames[Right|Left] = QStringLiteral("0101");
+ directionNames[Right|Down] = QStringLiteral("0110");
+ directionNames[Right|Down|Left] = QStringLiteral("0111");
+ directionNames[Up] = QStringLiteral("1000");
+ directionNames[Up|Left] = QStringLiteral("1001");
+ directionNames[Up|Down] = QStringLiteral("1010");
+ directionNames[Up|Down|Left] = QStringLiteral("1011");
+ directionNames[Up|Right] = QStringLiteral("1100");
+ directionNames[Up|Right|Left] = QStringLiteral("1101");
+ directionNames[Up|Right|Down] = QStringLiteral("1110");
return directionNames[cables];
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/knetwalk-15.08.3/src/main.cpp new/knetwalk-15.12.0/src/main.cpp
--- old/knetwalk-15.08.3/src/main.cpp 2015-05-02 13:43:02.000000000 +0200
+++ new/knetwalk-15.12.0/src/main.cpp 2015-10-28 21:28:32.000000000 +0100
@@ -49,23 +49,23 @@
about.addAuthor(i18n("Andi Peredri"),
i18n("original author"),
- QLatin1Literal("andi@ukr.net"));
+ QStringLiteral("andi@ukr.net"));
about.addAuthor(i18n("Thomas Nagy"),
i18n("KDE port"),
- QLatin1Literal("tnagy2^8@yahoo.fr"));
+ QStringLiteral("tnagy2^8@yahoo.fr"));
about.addAuthor(i18n("Ashwin Rajeev"),
i18n("Port to QtQuick"),
- QLatin1Literal("ashwin_rajeev@hotmail.com"));
+ QStringLiteral("ashwin_rajeev@hotmail.com"));
about.addCredit(i18n("Eugene Trounev"),
i18n("icon design"),
- QLatin1Literal("eugene.trounev@gmail.com"));
+ QStringLiteral("eugene.trounev@gmail.com"));
about.addCredit(i18n("Brian Croom"),
i18n("Port to use the QGraphicsView framework"),
- QLatin1Literal("brian.s.croom@gmail.com"));
+ QStringLiteral("brian.s.croom@gmail.com"));
about.setOrganizationDomain(QByteArray("kde.org"));
@@ -77,7 +77,7 @@
app.setApplicationDisplayName(about.displayName());
app.setOrganizationDomain(about.organizationDomain());
app.setApplicationVersion(about.version());
- app.setWindowIcon(QIcon::fromTheme(QLatin1Literal("knetwalk")));
+ app.setWindowIcon(QIcon::fromTheme(QStringLiteral("knetwalk")));
MainWindow* window = new MainWindow;
window->show();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/knetwalk-15.08.3/src/mainwindow.cpp new/knetwalk-15.12.0/src/mainwindow.cpp
--- old/knetwalk-15.08.3/src/mainwindow.cpp 2015-05-02 13:43:02.000000000 +0200
+++ new/knetwalk-15.12.0/src/mainwindow.cpp 2015-10-28 21:28:32.000000000 +0100
@@ -96,7 +96,7 @@
new KgDifficultyLevel(100, QByteArray("Custom"), i18n("Custom"))
);
KgDifficultyGUI::init(this);
- connect(Kg::difficulty(), SIGNAL(currentLevelChanged(const KgDifficultyLevel*)), SLOT(startNewGame()));
+ connect(Kg::difficulty(), &KgDifficulty::currentLevelChanged, this, &MainWindow::startNewGame);
setCentralWidget(m_view);
@@ -112,8 +112,8 @@
m_gameClock = new KGameClock(this, KGameClock::MinSecOnly);
connect(m_gameClock, &KGameClock::timeChanged, this, &MainWindow::updateStatusBar);
- m_soundStart = new KgSound(QStandardPaths::locate(QStandardPaths::DataLocation, QLatin1Literal("sounds/start.wav")), this);
- m_soundWin = new KgSound(QStandardPaths::locate(QStandardPaths::DataLocation, QLatin1Literal("sounds/win.wav")), this);
+ m_soundStart = new KgSound(QStandardPaths::locate(QStandardPaths::DataLocation, QStringLiteral("sounds/start.wav")), this);
+ m_soundWin = new KgSound(QStandardPaths::locate(QStandardPaths::DataLocation, QStringLiteral("sounds/win.wav")), this);
startNewGame();
@@ -127,11 +127,11 @@
m_pauseAction = KStandardGameAction::pause(this, SLOT(pauseGame(bool)),
actionCollection());
- connect(Kg::difficulty(), SIGNAL(gameRunningChanged(bool)), m_pauseAction,
- SLOT(setEnabled(bool)));
+ connect(Kg::difficulty(), &KgDifficulty::gameRunningChanged, m_pauseAction,
+ &QAction::setEnabled);
QAction *action = KStandardGameAction::solve(m_view, SLOT(solve()), actionCollection());
- connect(Kg::difficulty(), SIGNAL(gameRunningChanged(bool)), action, SLOT(setEnabled(bool)));
+ connect(Kg::difficulty(), &KgDifficulty::gameRunningChanged, action, &QAction::setEnabled);
KStandardGameAction::highscores(this, SLOT(showHighscores()),
actionCollection());
@@ -143,53 +143,53 @@
action = new QAction(i18n("&Unlock All"), this);
connect(action, SIGNAL(triggered()), m_view->rootObject(), SLOT(unlockAll()));
- connect(Kg::difficulty(), SIGNAL(gameRunningChanged(bool)), action, SLOT(setEnabled(bool)));
- actionCollection()->addAction( QLatin1String( "unlock_all" ), action);
+ connect(Kg::difficulty(), &KgDifficulty::gameRunningChanged, action, &QAction::setEnabled);
+ actionCollection()->addAction( QStringLiteral( "unlock_all" ), action);
action = new QAction(i18n("Keyboard: Field right"), this);
actionCollection()->setDefaultShortcut(action, Qt::Key_Right);
connect(action, SIGNAL(triggered()), m_view->rootObject(), SLOT(kbGoRight()));
- actionCollection()->addAction( QLatin1String( "kb_go_right" ), action);
+ actionCollection()->addAction( QStringLiteral( "kb_go_right" ), action);
action = new QAction(i18n("Keyboard: Field left"),this);
actionCollection()->setDefaultShortcut(action, Qt::Key_Left);
connect(action, SIGNAL(triggered()), m_view->rootObject(), SLOT(kbGoLeft()));
- actionCollection()->addAction( QLatin1String( "kb_go_left" ), action);
+ actionCollection()->addAction( QStringLiteral( "kb_go_left" ), action);
action = new QAction(i18n("Keyboard: Field up"),this);
actionCollection()->setDefaultShortcut(action, Qt::Key_Up);
connect(action, SIGNAL(triggered()), m_view->rootObject(), SLOT(kbGoUp()));
- actionCollection()->addAction( QLatin1String( "kb_go_up" ), action);
+ actionCollection()->addAction( QStringLiteral( "kb_go_up" ), action);
action = new QAction(i18n("Keyboard: Field down"),this);
actionCollection()->setDefaultShortcut(action, Qt::Key_Down);
connect(action, SIGNAL(triggered()), m_view->rootObject(), SLOT(kbGoDown()));
- actionCollection()->addAction( QLatin1String( "kb_go_down" ), action);
+ actionCollection()->addAction( QStringLiteral( "kb_go_down" ), action);
action = new QAction(i18n("Keyboard: Turn clockwise"),this);
actionCollection()->setDefaultShortcut(action, Qt::Key_Return);
connect(action, SIGNAL(triggered()), m_view->rootObject(), SLOT(rotateClockwise()));
- actionCollection()->addAction( QLatin1String( "kb_turn_clockwise" ), action);
+ actionCollection()->addAction( QStringLiteral( "kb_turn_clockwise" ), action);
action = new QAction(i18n("Keyboard: Turn counterclockwise"),this);
actionCollection()->setDefaultShortcut(action, Qt::CTRL + Qt::Key_Return);
connect(action, SIGNAL(triggered()), m_view->rootObject(), SLOT(rotateCounterclockwise()));
- actionCollection()->addAction( QLatin1String( "kb_turn_counterclockwise" ), action);
+ actionCollection()->addAction( QStringLiteral( "kb_turn_counterclockwise" ), action);
action = new QAction(i18n("Keyboard: Toggle lock"),this);
actionCollection()->setDefaultShortcut(action, Qt::Key_Space);
connect(action, SIGNAL(triggered()), m_view->rootObject(), SLOT(toggleLock()));
- actionCollection()->addAction( QLatin1String( "kb_lock" ), action);
+ actionCollection()->addAction( QStringLiteral( "kb_lock" ), action);
}
void MainWindow::configureSettings()
{
- if (KConfigDialog::showDialog(QLatin1String("settings")))
+ if (KConfigDialog::showDialog(QStringLiteral("settings")))
return;
- KConfigDialog *dialog = new KConfigDialog(this, QLatin1String("settings"), Settings::self());
- dialog->addPage(new GeneralConfig(dialog), i18n("General"), QLatin1String("games-config-options"));
- dialog->addPage(new KgThemeSelector(m_view->getProvider()), i18n("Theme"), QLatin1String("games-config-theme"));
- dialog->addPage(new CustomGameConfig(dialog), i18n("Custom Game"), QLatin1String("games-config-custom"));
+ KConfigDialog *dialog = new KConfigDialog(this, QStringLiteral("settings"), Settings::self());
+ dialog->addPage(new GeneralConfig(dialog), i18n("General"), QStringLiteral("games-config-options"));
+ dialog->addPage(new KgThemeSelector(m_view->getProvider()), i18n("Theme"), QStringLiteral("games-config-theme"));
+ dialog->addPage(new CustomGameConfig(dialog), i18n("Custom Game"), QStringLiteral("games-config-custom"));
connect(dialog, &KConfigDialog::settingsChanged, m_view, &GameView::setRotateDuration);
// dialog->setHelp(QString(),QLatin1String("knetwalk"));
dialog->show();
@@ -198,7 +198,7 @@
void MainWindow::showHighscores()
{
KScoreDialog scoreDialog(KScoreDialog::Name | KScoreDialog::Time, this);
- scoreDialog.addField(KScoreDialog::Custom1, i18n("Moves Penalty"), QLatin1String( "moves" ));
+ scoreDialog.addField(KScoreDialog::Custom1, i18n("Moves Penalty"), QStringLiteral( "moves" ));
scoreDialog.initFromDifficulty(Kg::difficulty());
scoreDialog.exec();
}
@@ -255,7 +255,7 @@
// show the new dialog and add the new score to it
KScoreDialog scoreDialog(KScoreDialog::Name | KScoreDialog::Time, this);
- scoreDialog.addField(KScoreDialog::Custom1, i18n("Moves Penalty"), QLatin1String( "moves" ));
+ scoreDialog.addField(KScoreDialog::Custom1, i18n("Moves Penalty"), QStringLiteral( "moves" ));
scoreDialog.initFromDifficulty(Kg::difficulty());
bool madeIt = scoreDialog.addScore(scoreInfo);
if (!madeIt) {