mirror of
https://invent.kde.org/graphics/okular
synced 2024-06-30 22:54:24 +00:00
slots -> Q_SLOTS
A future ECM update is going to force that on us, so do it now anyway
This commit is contained in:
parent
ba35bbd9e6
commit
a2e1043149
|
@ -17,7 +17,7 @@ class AddRemoveAnnotationTest : public QObject
|
|||
{
|
||||
Q_OBJECT
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void initTestCase();
|
||||
void init();
|
||||
void cleanup();
|
||||
|
|
|
@ -19,7 +19,7 @@ class AnnotationTest : public QObject
|
|||
{
|
||||
Q_OBJECT
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void initTestCase();
|
||||
void testDistance();
|
||||
void testDistance_data();
|
||||
|
|
|
@ -54,7 +54,7 @@ public:
|
|||
return s->m_tabWidget;
|
||||
}
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void initTestCase();
|
||||
void init();
|
||||
void cleanup();
|
||||
|
|
|
@ -18,7 +18,7 @@ class CalculateTextTest : public QObject
|
|||
{
|
||||
Q_OBJECT
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void initTestCase();
|
||||
void cleanupTestCase();
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ public:
|
|||
|
||||
~CloseDialogHelper() override;
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void closeDialog();
|
||||
|
||||
private:
|
||||
|
|
|
@ -26,7 +26,7 @@ class DocumentTest : public QObject
|
|||
{
|
||||
Q_OBJECT
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void testCloseDuringRotationJob();
|
||||
void testDocdataMigration();
|
||||
};
|
||||
|
|
|
@ -18,7 +18,7 @@ class EditAnnotationContentsTest : public QObject
|
|||
{
|
||||
Q_OBJECT
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void initTestCase();
|
||||
void cleanupTestCase();
|
||||
void init();
|
||||
|
@ -65,7 +65,7 @@ public:
|
|||
return m_anchorPos;
|
||||
}
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void slotAnnotationContentsChangedByUndoRedo(Okular::Annotation *annotation, const QString &contents, int cursorPos, int anchorPos);
|
||||
|
||||
private:
|
||||
|
|
|
@ -17,7 +17,7 @@ class EditFormsTest : public QObject
|
|||
{
|
||||
Q_OBJECT
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void initTestCase();
|
||||
void cleanupTestCase();
|
||||
void init();
|
||||
|
|
|
@ -21,7 +21,7 @@ class FormatTest : public QObject
|
|||
{
|
||||
Q_OBJECT
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void initTestCase();
|
||||
void cleanupTestCase();
|
||||
void testTimeFormat();
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
class GeneratorsTest : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void testLoadsCorrectly();
|
||||
};
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ class KeystrokeTest : public QObject
|
|||
{
|
||||
Q_OBJECT
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void initTestCase();
|
||||
void cleanupTestCase();
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ public:
|
|||
QVERIFY(m_clicked);
|
||||
}
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void closeMessageBox()
|
||||
{
|
||||
const QWidgetList allToplevelWidgets = QApplication::topLevelWidgets();
|
||||
|
@ -80,7 +80,7 @@ class KJSFunctionsTest : public QObject
|
|||
{
|
||||
Q_OBJECT
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void initTestCase();
|
||||
void testNthFieldName();
|
||||
void testDisplay();
|
||||
|
|
|
@ -66,7 +66,7 @@ public:
|
|||
}
|
||||
bool foundDialog;
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void closePrintDialog();
|
||||
|
||||
private:
|
||||
|
@ -83,7 +83,7 @@ public:
|
|||
return s->m_tabWidget;
|
||||
}
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void initTestCase();
|
||||
void cleanupTestCase();
|
||||
void init();
|
||||
|
|
|
@ -17,7 +17,7 @@ class MarkdownTest : public QObject
|
|||
{
|
||||
Q_OBJECT
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void initTestCase();
|
||||
|
||||
void testFancyPantsEnabled();
|
||||
|
|
|
@ -18,7 +18,7 @@ class ModifyAnnotationPropertiesTest : public QObject
|
|||
{
|
||||
Q_OBJECT
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void initTestCase();
|
||||
void cleanupTestCase();
|
||||
void init();
|
||||
|
|
|
@ -55,7 +55,7 @@ class PartTest : public QObject
|
|||
signals:
|
||||
void urlHandler(const QUrl &url); // NOLINT(readability-inconsistent-declaration-parameter-name)
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void init();
|
||||
|
||||
void testZoomWithCrop();
|
||||
|
|
|
@ -21,7 +21,7 @@ class SearchFinishedReceiver : public QObject
|
|||
{
|
||||
Q_OBJECT
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void searchFinished(int id, Okular::Document::SearchStatus status)
|
||||
{
|
||||
m_id = id;
|
||||
|
@ -37,7 +37,7 @@ class SearchTest : public QObject
|
|||
{
|
||||
Q_OBJECT
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void initTestCase();
|
||||
void testNextAndPrevious();
|
||||
void test311232();
|
||||
|
|
|
@ -35,7 +35,7 @@ class ShellTest : public QObject
|
|||
{
|
||||
Q_OBJECT
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void initTestCase();
|
||||
void testUrlArgs_data();
|
||||
void testUrlArgs();
|
||||
|
|
|
@ -18,7 +18,7 @@ class SignatureFormTest : public QObject
|
|||
{
|
||||
Q_OBJECT
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void initTestCase();
|
||||
void cleanupTestCase();
|
||||
void testSignatureForm();
|
||||
|
|
|
@ -46,7 +46,7 @@ class SignUnsignedFieldTest : public QObject
|
|||
{
|
||||
Q_OBJECT
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void initTestCase();
|
||||
void init();
|
||||
void cleanup();
|
||||
|
|
|
@ -31,7 +31,7 @@ class TranslateAnnotationTest : public QObject
|
|||
{
|
||||
Q_OBJECT
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void initTestCase();
|
||||
void cleanupTestCase();
|
||||
void init();
|
||||
|
|
|
@ -20,7 +20,7 @@ class VisibilityTest : public QObject
|
|||
{
|
||||
Q_OBJECT
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void initTestCase();
|
||||
void cleanupTestCase();
|
||||
|
||||
|
|
|
@ -147,7 +147,7 @@ public:
|
|||
void abortExtraction();
|
||||
bool shouldAbortExtraction() const;
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void startGeneration();
|
||||
|
||||
protected:
|
||||
|
|
|
@ -16,7 +16,7 @@ class ChmGeneratorTest : public QObject
|
|||
{
|
||||
Q_OBJECT
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void initTestCase();
|
||||
void testDocumentStructure();
|
||||
void testDocumentContent();
|
||||
|
|
|
@ -57,10 +57,10 @@ public:
|
|||
signals:
|
||||
void progressStep(int value, const QString &stepName);
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void cancelIndexGeneration();
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void updateProgress(int value, const QString &stepName);
|
||||
void processEvents();
|
||||
|
||||
|
|
|
@ -81,7 +81,7 @@ public:
|
|||
signals:
|
||||
void indexingProgress(int, const QString &);
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void setLastWinClosed();
|
||||
|
||||
private:
|
||||
|
|
|
@ -19,7 +19,7 @@ class ComicBookGeneratorTest : public QObject
|
|||
{
|
||||
Q_OBJECT
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void initTestCase();
|
||||
void testRotatedImage();
|
||||
void cleanupTestCase();
|
||||
|
|
|
@ -16,7 +16,7 @@ class EpubGeneratorTest : public QObject
|
|||
{
|
||||
Q_OBJECT
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void initTestCase();
|
||||
void testDocumentStructure();
|
||||
void testDocumentContent();
|
||||
|
|
|
@ -24,7 +24,7 @@ class KIMGIOTest : public QObject
|
|||
{
|
||||
Q_OBJECT
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void initTestCase();
|
||||
void testExifOrientation_data();
|
||||
void testExifOrientation();
|
||||
|
|
|
@ -27,7 +27,7 @@ public:
|
|||
explicit ActionBarWidget(QToolBar *parent);
|
||||
void recreateButtons(const QList<QAction *> &actions);
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void onOrientationChanged(Qt::Orientation orientation);
|
||||
};
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@ public:
|
|||
signals:
|
||||
void ephemeralStampWarning();
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void slotAnnotationToolBarVisibilityChanged(bool visible);
|
||||
|
||||
private:
|
||||
|
|
|
@ -21,7 +21,7 @@ public:
|
|||
void stopAllSpeechs();
|
||||
void pauseResumeSpeech();
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void slotSpeechStateChanged(QTextToSpeech::State state);
|
||||
void slotConfigChanged();
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user