Hello community,

here is the log from the commit of package ksquares for openSUSE:Factory 
checked in at 2016-01-10 13:06:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ksquares (Old)
 and      /work/SRC/openSUSE:Factory/.ksquares.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ksquares"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ksquares/ksquares.changes        2015-11-15 
12:39:58.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.ksquares.new/ksquares.changes   2016-01-10 
13:06:14.000000000 +0100
@@ -1,0 +2,9 @@
+Sun Dec 13 13:26:52 UTC 2015 - [email protected]
+
+- 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:
----
  ksquares-15.08.3.tar.xz

New:
----
  ksquares-15.12.0.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ksquares.spec ++++++
--- /var/tmp/diff_new_pack.rAoZol/_old  2016-01-10 13:06:16.000000000 +0100
+++ /var/tmp/diff_new_pack.rAoZol/_new  2016-01-10 13:06:16.000000000 +0100
@@ -43,7 +43,7 @@
 License:        GPL-2.0+
 Group:          Amusements/Games/Action/Arcade
 Url:            http://www.kde.org
-Version:        15.08.3
+Version:        15.12.0
 Release:        0
 Source0:        ksquares-%{version}.tar.xz
 Obsoletes:      %{name}5 < %{version}

++++++ ksquares-15.08.3.tar.xz -> ksquares-15.12.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ksquares-15.08.3/src/ksquaresdemowindow.cpp 
new/ksquares-15.12.0/src/ksquaresdemowindow.cpp
--- old/ksquares-15.08.3/src/ksquaresdemowindow.cpp     2015-07-25 
19:37:07.000000000 +0200
+++ new/ksquares-15.12.0/src/ksquaresdemowindow.cpp     2015-11-11 
11:59:11.000000000 +0100
@@ -90,7 +90,7 @@
 void KSquaresDemoWindow::playerTakeTurn(KSquaresPlayer *currentPlayer)
 {
     //QT5 statusBar()->changeItem(currentPlayer->name(), 0);
-    QTimer::singleShot(200, this, SLOT(aiChooseLine()));
+    QTimer::singleShot(200, this, &KSquaresDemoWindow::aiChooseLine);
 }
 
 void KSquaresDemoWindow::aiChooseLine()
@@ -102,6 +102,6 @@
 void KSquaresDemoWindow::gameOver(const QVector<KSquaresPlayer> & 
/*playerList*/)
 {
     //qDebug() << "Game Over";
-    QTimer::singleShot(1000, this, SLOT(gameNew()));
+    QTimer::singleShot(1000, this, &KSquaresDemoWindow::gameNew);
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ksquares-15.08.3/src/ksquareswindow.cpp 
new/ksquares-15.12.0/src/ksquareswindow.cpp
--- old/ksquares-15.08.3/src/ksquareswindow.cpp 2015-07-25 19:37:07.000000000 
+0200
+++ new/ksquares-15.12.0/src/ksquareswindow.cpp 2015-11-11 11:59:11.000000000 
+0100
@@ -39,7 +39,7 @@
 KSquaresWindow::KSquaresWindow() : KXmlGuiWindow(), m_view(new 
GameBoardView(this)), m_scene(0)
 {
     setCentralWidget(m_view);
-    QTimer::singleShot(0, this, SLOT(initObject()));
+    QTimer::singleShot(0, this, &KSquaresWindow::initObject);
 }
 
 KSquaresWindow::~KSquaresWindow()
@@ -257,7 +257,7 @@
 void KSquaresWindow::playerTakeTurn(KSquaresPlayer *currentPlayer)
 {
     ////qDebug() << "void KSquares::playerTakeTurn(KSquaresPlayer* 
currentPlayer)";
-    m_player->setText(QString::fromLatin1("<font color=\"%1\">%2</font>")
+    m_player->setText(QStringLiteral("<font color=\"%1\">%2</font>")
                       .arg(currentPlayer->colour().name())
                       .arg(currentPlayer->name()));
     if (currentPlayer->isHuman()) {
@@ -270,7 +270,7 @@
         setCursor(Qt::WaitCursor);
         m_scene->disableEvents();
 
-        QTimer::singleShot(200, this, SLOT(aiChooseLine()));
+        QTimer::singleShot(200, this, &KSquaresWindow::aiChooseLine);
         setCursor(Qt::ArrowCursor);
     }
 }
@@ -299,15 +299,15 @@
 
 void KSquaresWindow::optionsPreferences()
 {
-    KConfigDialog *dialog = new KConfigDialog(this, 
QLatin1Literal("settings"), Settings::self());
+    KConfigDialog *dialog = new KConfigDialog(this, 
QStringLiteral("settings"), Settings::self());
 
     QWidget *displaySettingsDialog = new QWidget;
     ui_prefs_display.setupUi(displaySettingsDialog);
-    dialog->addPage(displaySettingsDialog, i18n("Display"), 
QLatin1Literal("preferences-desktop-display"));
+    dialog->addPage(displaySettingsDialog, i18n("Display"), 
QStringLiteral("preferences-desktop-display"));
 
     QWidget *aiSettingsDialog = new QWidget;
     ui_prefs_ai.setupUi(aiSettingsDialog);
-    dialog->addPage(aiSettingsDialog, i18n("Computer Player"), 
QLatin1Literal("games-difficult"));
+    dialog->addPage(aiSettingsDialog, i18n("Computer Player"), 
QStringLiteral("games-difficult"));
 
     connect(dialog, &KConfigDialog::settingsChanged, m_view, 
&GameBoardView::setBoardSize);
     dialog->show();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ksquares-15.08.3/src/main.cpp 
new/ksquares-15.12.0/src/main.cpp
--- old/ksquares-15.08.3/src/main.cpp   2015-07-25 19:37:07.000000000 +0200
+++ new/ksquares-15.12.0/src/main.cpp   2015-11-11 11:59:11.000000000 +0100
@@ -30,30 +30,30 @@
 {
     QApplication app(argc, argv);
 
-    Kdelibs4ConfigMigrator migrate(QLatin1String("ksquares"));
-    migrate.setConfigFiles(QStringList() << QLatin1String("ksquaresrc"));
-    migrate.setUiFiles(QStringList() << QLatin1String("ksquaresui.rc"));
+    Kdelibs4ConfigMigrator migrate(QStringLiteral("ksquares"));
+    migrate.setConfigFiles(QStringList() << QStringLiteral("ksquaresrc"));
+    migrate.setUiFiles(QStringList() << QStringLiteral("ksquaresui.rc"));
     migrate.migrate();
     KLocalizedString::setApplicationDomain("ksquares");
-    KAboutData about(QLatin1Literal("ksquares"), i18n("KSquares"), 
QLatin1Literal(version), i18n(description),
-                     KAboutLicense::GPL, i18n("(C) 2006-2007 Matt Williams"),
-                     QLatin1Literal("http://games.kde.org/ksquares";));
-    about.addAuthor(i18n("Matt Williams"), i18n("Original creator and 
maintainer"), QLatin1Literal("[email protected]"), 
QLatin1Literal("http://milliams.com";));
+    KAboutData about(QStringLiteral("ksquares"), i18n("KSquares"), 
QLatin1Literal(version), i18n(description),
+                     KAboutLicense::GPL, i18n("(C) 2006-2007 Matt Williams"));
+    about.addAuthor(i18n("Matt Williams"), i18n("Original creator and 
maintainer"), QStringLiteral("[email protected]"), 
QStringLiteral("http://milliams.com";));
     about.addCredit(i18n("Fela Winkelmolen"), i18n("Many patches and 
bugfixes"));
     about.addCredit(i18n("Tom Vincent Peters"), i18n("Hard AI"));
+    about.setHomepage(QStringLiteral("http://games.kde.org/ksquares";));
 
     QCommandLineParser parser;
     KAboutData::setApplicationData(about);
     parser.addVersionOption();
     parser.addHelpOption();
-    parser.addOption(QCommandLineOption(QStringList() <<  
QLatin1String("demo"), i18n("Run game in demo (autoplay) mode")));
+    parser.addOption(QCommandLineOption(QStringList() <<  
QStringLiteral("demo"), i18n("Run game in demo (autoplay) mode")));
 
     about.setupCommandLine(&parser);
     parser.process(app);
     about.processCommandLine(&parser);
     KDBusService service;
 
-    app.setWindowIcon(QIcon::fromTheme(QLatin1String("ksquares")));
+    app.setWindowIcon(QIcon::fromTheme(QStringLiteral("ksquares")));
 
     // default names for players
     KConfigGroup cg(KSharedConfig::openConfig(), "General");
@@ -67,7 +67,7 @@
         cg.writeEntry("initializeNames", false);
     }
 
-    if (parser.isSet(QLatin1Literal("demo"))) {
+    if (parser.isSet(QStringLiteral("demo"))) {
         KSquaresDemoWindow *demoWindow = new KSquaresDemoWindow;
         demoWindow->show();
         demoWindow->gameNew();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ksquares-15.08.3/src/scoresdialog.cpp 
new/ksquares-15.12.0/src/scoresdialog.cpp
--- old/ksquares-15.08.3/src/scoresdialog.cpp   2015-07-25 19:37:07.000000000 
+0200
+++ new/ksquares-15.12.0/src/scoresdialog.cpp   2015-11-11 11:59:11.000000000 
+0100
@@ -27,8 +27,8 @@
     mainLayout->addWidget(mainWidget);
 
     QDialogButtonBox *buttonBox = new 
QDialogButtonBox(QDialogButtonBox::Close);
-    connect(buttonBox, SIGNAL(accepted()), this, SLOT(accept()));
-    connect(buttonBox, SIGNAL(rejected()), this, SLOT(reject()));
+    connect(buttonBox, &QDialogButtonBox::accepted, this, &QDialog::accept);
+    connect(buttonBox, &QDialogButtonBox::rejected, this, &QDialog::reject);
     mainLayout->addWidget(buttonBox);
 
 }


Reply via email to