From bda52bd053029243d499bbaf14d35beb8b6e43e1 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 3 Feb 2024 16:26:56 +0900 Subject: Replace Q_SIGNALS and Q_SLOTS Signed-off-by: Michele Calgaro --- kdvi/optionDialogFontsWidget_base.ui | 4 ++-- kghostview/gssettingswidget.ui | 8 ++++---- kolourpaint/patches/doc_resize_no_flicker.diff | 2 +- kpdf/conf/dlgperformance.ui | 4 ++-- kpovmodeler/StyleConvention | 8 ++++---- ksnapshot/ksnapshotwidget.ui | 8 ++++---- kview/modules/presenter/imagelistdialog.ui | 4 ++-- 7 files changed, 19 insertions(+), 19 deletions(-) diff --git a/kdvi/optionDialogFontsWidget_base.ui b/kdvi/optionDialogFontsWidget_base.ui index bb7e18f4..2a36bb98 100644 --- a/kdvi/optionDialogFontsWidget_base.ui +++ b/kdvi/optionDialogFontsWidget_base.ui @@ -56,9 +56,9 @@ kdialog.h - + buttonGroup1_clicked(int) - + diff --git a/kghostview/gssettingswidget.ui b/kghostview/gssettingswidget.ui index c2c18d05..f8ddc0ad 100644 --- a/kghostview/gssettingswidget.ui +++ b/kghostview/gssettingswidget.ui @@ -142,12 +142,12 @@ kpushbutton.h kurlrequester.h - + configClicked() - - + + setDetectedVersion( TQString v ) - + diff --git a/kolourpaint/patches/doc_resize_no_flicker.diff b/kolourpaint/patches/doc_resize_no_flicker.diff index 112b48d1..a3593b95 100644 --- a/kolourpaint/patches/doc_resize_no_flicker.diff +++ b/kolourpaint/patches/doc_resize_no_flicker.diff @@ -519,7 +519,7 @@ diff -u -p -r1.3 kpviewscrollablecontainer.h virtual void viewportPaintEvent (QPaintEvent *e); virtual void paintEvent (QPaintEvent *e); -+protected Q_SLOTS: ++protected slots: + void windowActivationChanged (); +protected: + virtual void windowActivationChange (bool wasActive); diff --git a/kpdf/conf/dlgperformance.ui b/kpdf/conf/dlgperformance.ui index 3676c3ba..d0730717 100644 --- a/kpdf/conf/dlgperformance.ui +++ b/kpdf/conf/dlgperformance.ui @@ -265,11 +265,11 @@ kiconloader.h dlgperformance.ui.h - + lowRadio_toggled( bool on ) normalRadio_toggled( bool on ) aggressiveRadio_toggled( bool on ) - + init() diff --git a/kpovmodeler/StyleConvention b/kpovmodeler/StyleConvention index 5418fb0c..8199c913 100644 --- a/kpovmodeler/StyleConvention +++ b/kpovmodeler/StyleConvention @@ -201,11 +201,11 @@ things are set multiple times. But it works :-) (load-library "vc") ;;for QT - (set c-C++-access-key "\\<\\(Q_SIGNALS\\|public\\|protected\\|private - \\|public Q_SLOTS\\|protected Q_SLOTS\\|private Q_SLOTS\\)\\>[ \t]*:") - ;; modify the colour of Q_SLOTS to match public, private, etc ... + (set c-C++-access-key "\\<\\(signals\\|public\\|protected\\|private + \\|public slots\\|protected slots\\|private slots\\)\\>[ \t]*:") + ;; modify the colour of slots to match public, private, etc ... (font-lock-add-keywords 'c++-mode - '(("\\<\\(Q_SLOTS\\|Q_SIGNALS\\)\\>" . font-lock-type-face))) + '(("\\<\\(slots\\|signals\\)\\>" . font-lock-type-face))) ;; make new font for rest of qt keywords (make-face 'qt-keywords-face) (set-face-foreground 'qt-keywords-face "green") diff --git a/ksnapshot/ksnapshotwidget.ui b/ksnapshot/ksnapshotwidget.ui index d0f815c3..71385f90 100644 --- a/ksnapshot/ksnapshotwidget.ui +++ b/ksnapshot/ksnapshotwidget.ui @@ -357,15 +357,15 @@ If <i>no delay</i> is set, the program will wait for a mouse click b tdeglobalsettings.h ksnapshotwidget.ui.h - + newClicked() saveClicked() copyClicked() printClicked() openWithKPClicked() startImageDrag() - - + + slotModeChanged( int mode ) slotNewClicked() slotSaveClicked() @@ -375,7 +375,7 @@ If <i>no delay</i> is set, the program will wait for a mouse click b slotOpenWithKPClicked() previewWidth() previewHeight() - + setPreview( const TQPixmap & pm ) setDelay( int i ) diff --git a/kview/modules/presenter/imagelistdialog.ui b/kview/modules/presenter/imagelistdialog.ui index 26e03b01..1f7a2435 100644 --- a/kview/modules/presenter/imagelistdialog.ui +++ b/kview/modules/presenter/imagelistdialog.ui @@ -270,10 +270,10 @@ class KURL - + init() noSort() - + -- cgit v1.2.1