Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Graphics
Kipi Plugins
Commits
ee53cdef
Commit
ee53cdef
authored
Jul 31, 2011
by
Laurent Montel
Browse files
normalize signals/slots
parent
ad02314b
Changes
106
Hide whitespace changes
Inline
Side-by-side
acquireimages/scandialog.cpp
View file @
ee53cdef
...
...
@@ -115,11 +115,11 @@ ScanDialog::ScanDialog(KIPI::Interface* kinterface, KSaneIface::KSaneWidget* san
// ------------------------------------------------------------------------
connect
(
d
->
saneWidget
,
SIGNAL
(
imageReady
(
QByteArray
&
,
int
,
int
,
int
,
int
)),
this
,
SLOT
(
slotSaveImage
(
QByteArray
&
,
int
,
int
,
int
,
int
)));
connect
(
d
->
saneWidget
,
SIGNAL
(
imageReady
(
QByteArray
&
,
int
,
int
,
int
,
int
)),
this
,
SLOT
(
slotSaveImage
(
QByteArray
&
,
int
,
int
,
int
,
int
)));
connect
(
d
->
saveThread
,
SIGNAL
(
signalComplete
(
const
KUrl
&
,
bool
)),
this
,
SLOT
(
slotThreadDone
(
const
KUrl
&
,
bool
)));
connect
(
d
->
saveThread
,
SIGNAL
(
signalComplete
(
KUrl
,
bool
)),
this
,
SLOT
(
slotThreadDone
(
KUrl
,
bool
)));
}
ScanDialog
::~
ScanDialog
()
...
...
advancedslideshow/dialogs/captiondialog.cpp
View file @
ee53cdef
...
...
@@ -47,10 +47,10 @@ CaptionDialog::~CaptionDialog()
void
CaptionDialog
::
readSettings
()
{
connect
(
m_commentsFontColor
,
SIGNAL
(
changed
(
const
QColor
&
)),
connect
(
m_commentsFontColor
,
SIGNAL
(
changed
(
QColor
)),
this
,
SLOT
(
slotCommentsFontColorChanged
()));
connect
(
m_commentsBgColor
,
SIGNAL
(
changed
(
const
QColor
&
)),
connect
(
m_commentsBgColor
,
SIGNAL
(
changed
(
QColor
)),
this
,
SLOT
(
slotCommentsBgColorChanged
()));
m_commentsLinesLengthSpinBox
->
setValue
(
m_sharedData
->
commentsLinesLength
);
...
...
advancedslideshow/dialogs/maindialog.cpp
View file @
ee53cdef
...
...
@@ -350,8 +350,8 @@ void MainDialog::slotImagesFilesSelected(QTreeWidgetItem* item)
KUrl
url
;
url
.
setPath
(
pitem
->
url
().
path
());
connect
(
m_sharedData
->
iface
(),
SIGNAL
(
gotThumbnail
(
const
KUrl
&
,
const
QPixmap
&
)),
this
,
SLOT
(
slotThumbnail
(
const
KUrl
&
,
const
QPixmap
&
)));
connect
(
m_sharedData
->
iface
(),
SIGNAL
(
gotThumbnail
(
KUrl
,
QPixmap
)),
this
,
SLOT
(
slotThumbnail
(
KUrl
,
QPixmap
)));
m_sharedData
->
iface
()
->
thumbnail
(
url
,
ICONSIZE
);
...
...
@@ -517,11 +517,11 @@ void MainDialog::setupConnections()
connect
(
m_effectsComboBox
,
SIGNAL
(
activated
(
int
)),
this
,
SLOT
(
slotEffectChanged
()));
connect
(
m_ImagesFilesListBox
,
SIGNAL
(
signalImageListChanged
()
),
this
,
SLOT
(
slotImageListChanged
()
));
connect
(
m_ImagesFilesListBox
,
SIGNAL
(
signalImageListChanged
()),
this
,
SLOT
(
slotImageListChanged
()));
connect
(
m_ImagesFilesListBox
,
SIGNAL
(
signalItemClicked
(
QTreeWidgetItem
*
)
),
this
,
SLOT
(
slotImagesFilesSelected
(
QTreeWidgetItem
*
)
));
connect
(
m_ImagesFilesListBox
,
SIGNAL
(
signalItemClicked
(
QTreeWidgetItem
*
)),
this
,
SLOT
(
slotImagesFilesSelected
(
QTreeWidgetItem
*
)));
if
(
m_sharedData
->
showSelectedFilesOnly
)
{
...
...
advancedslideshow/dialogs/soundtrackdialog.cpp
View file @
ee53cdef
...
...
@@ -118,38 +118,38 @@ SoundtrackDialog::SoundtrackDialog(QWidget* parent, SharedContainer* sharedData)
// --------------------------------------------------------
connect
(
m_SoundFilesListBox
,
SIGNAL
(
currentRowChanged
(
int
)
),
this
,
SLOT
(
slotSoundFilesSelected
(
int
)
)
);
connect
(
m_SoundFilesListBox
,
SIGNAL
(
currentRowChanged
(
int
)
),
this
,
SLOT
(
slotSoundFilesSelected
(
int
)
)
);
connect
(
m_SoundFilesListBox
,
SIGNAL
(
signalAddedDropItems
(
const
KUrl
::
List
&
)
),
this
,
SLOT
(
slotAddDropItems
(
const
KUrl
::
List
&
)));
connect
(
m_SoundFilesListBox
,
SIGNAL
(
signalAddedDropItems
(
KUrl
::
List
)
),
this
,
SLOT
(
slotAddDropItems
(
KUrl
::
List
)));
connect
(
m_SoundFilesButtonAdd
,
SIGNAL
(
clicked
()
),
this
,
SLOT
(
slotSoundFilesButtonAdd
()
)
);
connect
(
m_SoundFilesButtonAdd
,
SIGNAL
(
clicked
()),
this
,
SLOT
(
slotSoundFilesButtonAdd
())
);
connect
(
m_SoundFilesButtonDelete
,
SIGNAL
(
clicked
()
),
this
,
SLOT
(
slotSoundFilesButtonDelete
()
)
);
connect
(
m_SoundFilesButtonDelete
,
SIGNAL
(
clicked
()),
this
,
SLOT
(
slotSoundFilesButtonDelete
())
);
connect
(
m_SoundFilesButtonUp
,
SIGNAL
(
clicked
()
),
this
,
SLOT
(
slotSoundFilesButtonUp
()
)
);
connect
(
m_SoundFilesButtonUp
,
SIGNAL
(
clicked
()),
this
,
SLOT
(
slotSoundFilesButtonUp
())
);
connect
(
m_SoundFilesButtonDown
,
SIGNAL
(
clicked
()
),
this
,
SLOT
(
slotSoundFilesButtonDown
()
)
);
connect
(
m_SoundFilesButtonDown
,
SIGNAL
(
clicked
()),
this
,
SLOT
(
slotSoundFilesButtonDown
())
);
connect
(
m_SoundFilesButtonLoad
,
SIGNAL
(
clicked
()
),
this
,
SLOT
(
slotSoundFilesButtonLoad
()
)
);
connect
(
m_SoundFilesButtonLoad
,
SIGNAL
(
clicked
()),
this
,
SLOT
(
slotSoundFilesButtonLoad
())
);
connect
(
m_SoundFilesButtonSave
,
SIGNAL
(
clicked
()
),
this
,
SLOT
(
slotSoundFilesButtonSave
()
)
);
connect
(
m_SoundFilesButtonSave
,
SIGNAL
(
clicked
()),
this
,
SLOT
(
slotSoundFilesButtonSave
())
);
connect
(
m_SoundFilesButtonReset
,
SIGNAL
(
clicked
()
),
this
,
SLOT
(
slotSoundFilesButtonReset
()
)
);
connect
(
m_SoundFilesButtonReset
,
SIGNAL
(
clicked
()),
this
,
SLOT
(
slotSoundFilesButtonReset
())
);
connect
(
m_previewButton
,
SIGNAL
(
clicked
()
),
this
,
SLOT
(
slotPreviewButtonClicked
()
));
connect
(
m_previewButton
,
SIGNAL
(
clicked
()),
this
,
SLOT
(
slotPreviewButtonClicked
()));
connect
(
m_sharedData
->
mainPage
,
SIGNAL
(
signalTotalTimeChanged
(
const
QTime
&
)),
this
,
SLOT
(
slotImageTotalTimeChanged
(
const
QTime
&
)));
connect
(
m_sharedData
->
mainPage
,
SIGNAL
(
signalTotalTimeChanged
(
QTime
)),
this
,
SLOT
(
slotImageTotalTimeChanged
(
QTime
)));
}
SoundtrackDialog
::~
SoundtrackDialog
()
...
...
@@ -165,8 +165,8 @@ void SoundtrackDialog::readSettings()
m_rememberSoundtrack
->
setChecked
(
m_sharedData
->
soundtrackRememberPlaylist
);
m_loopCheckBox
->
setChecked
(
m_sharedData
->
soundtrackLoop
);
connect
(
m_sharedData
->
mainPage
,
SIGNAL
(
signalTotalTimeChanged
(
const
QTime
&
)),
this
,
SLOT
(
slotImageTotalTimeChanged
(
const
QTime
&
)
)
);
connect
(
m_sharedData
->
mainPage
,
SIGNAL
(
signalTotalTimeChanged
(
QTime
)),
this
,
SLOT
(
slotImageTotalTimeChanged
(
QTime
)
)
);
// if tracks are already set in m_sharedData, add them now
if
(
!
m_sharedData
->
soundtrackUrls
.
isEmpty
())
...
...
@@ -201,8 +201,8 @@ void SoundtrackDialog::addItems(const KUrl::List& fileList)
m_soundItems
->
insert
(
path
,
item
);
connect
(
m_soundItems
->
value
(
path
),
SIGNAL
(
signalTotalTimeReady
(
const
KUrl
&
,
const
QTime
&
)),
this
,
SLOT
(
slotAddNewTime
(
const
KUrl
&
,
const
QTime
&
)));
connect
(
m_soundItems
->
value
(
path
),
SIGNAL
(
signalTotalTimeReady
(
KUrl
,
QTime
)),
this
,
SLOT
(
slotAddNewTime
(
KUrl
,
QTime
)));
m_urlList
.
append
(
path
);
}
...
...
advancedslideshow/plugin/plugin_advancedslideshow.cpp
View file @
ee53cdef
...
...
@@ -104,8 +104,8 @@ void Plugin_AdvancedSlideshow::setup(QWidget* widget)
m_urlList
=
KUrl
::
List
();
connect
(
m_interface
,
SIGNAL
(
currentAlbumChanged
(
bool
)),
this
,
SLOT
(
slotAlbumChanged
(
bool
)));
connect
(
m_interface
,
SIGNAL
(
currentAlbumChanged
(
bool
)),
this
,
SLOT
(
slotAlbumChanged
(
bool
)));
if
(
m_interface
->
currentAlbum
().
isValid
())
{
...
...
advancedslideshow/widgets/listsounditems.cpp
View file @
ee53cdef
...
...
@@ -54,8 +54,8 @@ SoundItem::SoundItem(QListWidget* parent, const KUrl& url)
m_mediaObject
=
new
Phonon
::
MediaObject
();
m_mediaObject
->
setCurrentSource
(
url
);
connect
(
m_mediaObject
,
SIGNAL
(
stateChanged
(
Phonon
::
State
,
Phonon
::
State
)),
this
,
SLOT
(
slotMediaStateChanged
(
Phonon
::
State
,
Phonon
::
State
)));
connect
(
m_mediaObject
,
SIGNAL
(
stateChanged
(
Phonon
::
State
,
Phonon
::
State
)),
this
,
SLOT
(
slotMediaStateChanged
(
Phonon
::
State
,
Phonon
::
State
)));
}
SoundItem
::~
SoundItem
()
...
...
advancedslideshow/widgets/playbackwidget.cpp
View file @
ee53cdef
...
...
@@ -93,8 +93,8 @@ PlaybackWidget::PlaybackWidget(QWidget* parent, KUrl::List &urls, SharedContaine
m_mediaObject
->
setTickInterval
(
500
);
connect
(
m_mediaObject
,
SIGNAL
(
stateChanged
(
Phonon
::
State
,
Phonon
::
State
)),
this
,
SLOT
(
slotMediaStateChanged
(
Phonon
::
State
,
Phonon
::
State
)));
connect
(
m_mediaObject
,
SIGNAL
(
stateChanged
(
Phonon
::
State
,
Phonon
::
State
)),
this
,
SLOT
(
slotMediaStateChanged
(
Phonon
::
State
,
Phonon
::
State
)));
connect
(
m_mediaObject
,
SIGNAL
(
finished
()),
this
,
SLOT
(
slotSongFinished
()));
...
...
advancedslideshow/widgets/slideshow.cpp
View file @
ee53cdef
...
...
@@ -97,20 +97,20 @@ SlideShow::SlideShow(const FileList& fileList, const QStringList& commentsList,
m_playbackWidget
->
hide
();
m_playbackWidget
->
move
(
m_deskX
,
m_deskY
);
connect
(
m_slidePlaybackWidget
,
SIGNAL
(
signalPause
()
),
this
,
SLOT
(
slotPause
()
));
connect
(
m_slidePlaybackWidget
,
SIGNAL
(
signalPause
()),
this
,
SLOT
(
slotPause
()));
connect
(
m_slidePlaybackWidget
,
SIGNAL
(
signalPlay
()
),
this
,
SLOT
(
slotPlay
()
));
connect
(
m_slidePlaybackWidget
,
SIGNAL
(
signalPlay
()),
this
,
SLOT
(
slotPlay
()));
connect
(
m_slidePlaybackWidget
,
SIGNAL
(
signalNext
()
),
this
,
SLOT
(
slotNext
()
));
connect
(
m_slidePlaybackWidget
,
SIGNAL
(
signalNext
()),
this
,
SLOT
(
slotNext
()));
connect
(
m_slidePlaybackWidget
,
SIGNAL
(
signalPrev
()
),
this
,
SLOT
(
slotPrev
()
));
connect
(
m_slidePlaybackWidget
,
SIGNAL
(
signalPrev
()),
this
,
SLOT
(
slotPrev
()));
connect
(
m_slidePlaybackWidget
,
SIGNAL
(
signalClose
()
),
this
,
SLOT
(
slotClose
()
));
connect
(
m_slidePlaybackWidget
,
SIGNAL
(
signalClose
()),
this
,
SLOT
(
slotClose
()));
// ---------------------------------------------------------------
...
...
@@ -164,8 +164,8 @@ SlideShow::SlideShow(const FileList& fileList, const QStringList& commentsList,
// -- hide cursor when not moved --------------------
m_mouseMoveTimer
=
new
QTimer
;
connect
(
m_mouseMoveTimer
,
SIGNAL
(
timeout
()
),
SLOT
(
slotMouseMoveTimeOut
()
)
);
connect
(
m_mouseMoveTimer
,
SIGNAL
(
timeout
()),
SLOT
(
slotMouseMoveTimeOut
())
);
setMouseTracking
(
true
);
slotMouseMoveTimeOut
();
...
...
batchprocessimages/common/batchprocessimagesdialog.cpp
View file @
ee53cdef
...
...
@@ -183,8 +183,8 @@ void BatchProcessImagesDialog::setupUi()
m_optionsButton
=
m_ui
->
m_optionsButton
;
m_listFiles
=
m_ui
->
m_listView
;
connect
(
m_listFiles
,
SIGNAL
(
itemDoubleClicked
(
QTreeWidgetItem
*
,
int
)),
this
,
SLOT
(
slotListDoubleClicked
(
QTreeWidgetItem
*
)));
connect
(
m_listFiles
,
SIGNAL
(
itemDoubleClicked
(
QTreeWidgetItem
*
,
int
)),
this
,
SLOT
(
slotListDoubleClicked
(
QTreeWidgetItem
*
)));
connect
(
this
,
SIGNAL
(
user1Clicked
()),
this
,
SLOT
(
slotProcessStart
()));
...
...
@@ -201,8 +201,8 @@ void BatchProcessImagesDialog::setupUi()
connect
(
m_listFiles
,
SIGNAL
(
addedDropItems
(
QStringList
)),
this
,
SLOT
(
slotAddDropItems
(
QStringList
)));
connect
(
m_listFiles
,
SIGNAL
(
currentItemChanged
(
QTreeWidgetItem
*
,
QTreeWidgetItem
*
)),
this
,
SLOT
(
slotImageSelected
(
QTreeWidgetItem
*
)));
connect
(
m_listFiles
,
SIGNAL
(
currentItemChanged
(
QTreeWidgetItem
*
,
QTreeWidgetItem
*
)),
this
,
SLOT
(
slotImageSelected
(
QTreeWidgetItem
*
)));
connect
(
m_ui
->
m_addImagesButton
,
SIGNAL
(
clicked
()),
this
,
SLOT
(
slotImagesFilesButtonAdd
()));
...
...
@@ -264,8 +264,8 @@ void BatchProcessImagesDialog::slotImageSelected(QTreeWidgetItem * item)
KIO
::
PreviewJob
*
m_thumbJob
=
KIO
::
filePreview
(
url
,
m_ui
->
m_imageLabel
->
height
());
connect
(
m_thumbJob
,
SIGNAL
(
gotPreview
(
const
KFileItem
&
,
const
QPixmap
&
)),
this
,
SLOT
(
slotGotPreview
(
const
KFileItem
&
,
const
QPixmap
&
)));
connect
(
m_thumbJob
,
SIGNAL
(
gotPreview
(
KFileItem
,
QPixmap
)),
this
,
SLOT
(
slotGotPreview
(
KFileItem
,
QPixmap
)));
}
void
BatchProcessImagesDialog
::
slotGotPreview
(
const
KFileItem
&
item
,
const
QPixmap
&
pixmap
)
...
...
@@ -511,7 +511,7 @@ bool BatchProcessImagesDialog::startProcess()
item
->
changeOutputMess
(
m_commandLine
+
"
\n\n
"
);
connect
(
m_ProcessusProc
,
SIGNAL
(
finished
(
int
,
QProcess
::
ExitStatus
)),
connect
(
m_ProcessusProc
,
SIGNAL
(
finished
(
int
,
QProcess
::
ExitStatus
)),
this
,
SLOT
(
slotFinished
()));
connect
(
m_ProcessusProc
,
SIGNAL
(
readyRead
()),
...
...
@@ -717,7 +717,7 @@ void BatchProcessImagesDialog::slotPreview(void)
*
m_PreviewProc
<<
m_tmpFolder
+
'/'
+
QString
::
number
(
getpid
())
+
"preview.PNG"
;
m_previewOutput
.
append
(
' '
+
m_tmpFolder
+
'/'
+
QString
::
number
(
getpid
())
+
"preview.PNG
\n\n
"
);
connect
(
m_PreviewProc
,
SIGNAL
(
finished
(
int
,
QProcess
::
ExitStatus
)),
connect
(
m_PreviewProc
,
SIGNAL
(
finished
(
int
,
QProcess
::
ExitStatus
)),
this
,
SLOT
(
slotPreviewFinished
()));
connect
(
m_PreviewProc
,
SIGNAL
(
readyRead
()),
...
...
batchprocessimages/common/pixmapview.cpp
View file @
ee53cdef
...
...
@@ -135,7 +135,7 @@ void PixmapView::PreviewCal(const QString& ImagePath, const QString& /*tmpPath*/
*
m_PreviewProc
<<
m_previewFileName
;
m_previewOutput
.
append
(
" -verbose "
+
ImagePath
+
' '
+
m_previewFileName
+
"
\n\n
"
);
connect
(
m_PreviewProc
,
SIGNAL
(
finished
(
int
,
QProcess
::
ExitStatus
)),
connect
(
m_PreviewProc
,
SIGNAL
(
finished
(
int
,
QProcess
::
ExitStatus
)),
this
,
SLOT
(
slotPreviewProcessFinished
()));
connect
(
m_PreviewProc
,
SIGNAL
(
readyRead
()),
...
...
batchprocessimages/tools/renameimageswidget.cpp
View file @
ee53cdef
...
...
@@ -105,13 +105,13 @@ RenameImagesWidget::RenameImagesWidget(QWidget *parent, KIPI::Interface* interfa
"[B:4..-2] - base name (big one - all before last ',', from 4-th to one before last characters)
\n
"
"[b-:-3..] - base name (small one - all before first '.', last 3 characters)"
);
connect
(
ui
->
m_listView
,
SIGNAL
(
itemDoubleClicked
(
QTreeWidgetItem
*
,
int
)),
connect
(
ui
->
m_listView
,
SIGNAL
(
itemDoubleClicked
(
QTreeWidgetItem
*
,
int
)),
this
,
SLOT
(
slotListViewDoubleClicked
(
QTreeWidgetItem
*
)));
connect
(
ui
->
m_listView
,
SIGNAL
(
currentItemChanged
(
QTreeWidgetItem
*
,
QTreeWidgetItem
*
)),
connect
(
ui
->
m_listView
,
SIGNAL
(
currentItemChanged
(
QTreeWidgetItem
*
,
QTreeWidgetItem
*
)),
this
,
SLOT
(
slotImageSelected
(
QTreeWidgetItem
*
)));
connect
(
ui
->
m_prefixEdit
,
SIGNAL
(
textChanged
(
const
QString
&
)),
connect
(
ui
->
m_prefixEdit
,
SIGNAL
(
textChanged
(
QString
)),
this
,
SLOT
(
slotOptionsChanged
()));
connect
(
ui
->
m_seqSpin
,
SIGNAL
(
valueChanged
(
int
)),
...
...
@@ -129,7 +129,7 @@ RenameImagesWidget::RenameImagesWidget(QWidget *parent, KIPI::Interface* interfa
connect
(
ui
->
m_formatDateCheck
,
SIGNAL
(
toggled
(
bool
)),
this
,
SLOT
(
slotOptionsChanged
()));
connect
(
ui
->
m_formatDateEdit
,
SIGNAL
(
textChanged
(
const
QString
&
)),
connect
(
ui
->
m_formatDateEdit
,
SIGNAL
(
textChanged
(
QString
)),
this
,
SLOT
(
slotOptionsChanged
()));
connect
(
ui
->
m_addButton
,
SIGNAL
(
clicked
()),
...
...
@@ -155,8 +155,8 @@ RenameImagesWidget::RenameImagesWidget(QWidget *parent, KIPI::Interface* interfa
connect
(
m_timer
,
SIGNAL
(
timeout
()),
this
,
SLOT
(
slotNext
()));
connect
(
m_interface
,
SIGNAL
(
gotThumbnail
(
const
KUrl
&
,
const
QPixmap
&
)),
this
,
SLOT
(
slotGotPreview
(
const
KUrl
&
,
const
QPixmap
&
)));
connect
(
m_interface
,
SIGNAL
(
gotThumbnail
(
KUrl
,
QPixmap
)),
this
,
SLOT
(
slotGotPreview
(
KUrl
,
QPixmap
)));
kDebug
()
<<
m_urlList
;
for
(
KUrl
::
List
::
iterator
it
=
m_urlList
.
begin
();
...
...
calendar/wizard/caltemplate.cpp
View file @
ee53cdef
...
...
@@ -46,8 +46,8 @@ CalTemplate::CalTemplate(QWidget* parent)
ui
.
calendarWidget
->
recreate
();
connect
(
ui
.
paperSizeCombo
,
SIGNAL
(
currentIndexChanged
(
const
QString
&
)),
settings
,
SLOT
(
setPaperSize
(
const
QString
&
)));
connect
(
ui
.
paperSizeCombo
,
SIGNAL
(
currentIndexChanged
(
QString
)),
settings
,
SLOT
(
setPaperSize
(
QString
)));
connect
(
ui
.
imagePosButtonGroup
,
SIGNAL
(
changed
(
int
)),
settings
,
SLOT
(
setImagePos
(
int
)));
...
...
@@ -58,8 +58,8 @@ CalTemplate::CalTemplate(QWidget* parent)
connect
(
ui
.
ratioSlider
,
SIGNAL
(
valueChanged
(
int
)),
settings
,
SLOT
(
setRatio
(
int
)));
connect
(
ui
.
fontCombo
,
SIGNAL
(
currentIndexChanged
(
const
QString
&
)),
settings
,
SLOT
(
setFont
(
const
QString
&
)));
connect
(
ui
.
fontCombo
,
SIGNAL
(
currentIndexChanged
(
QString
)),
settings
,
SLOT
(
setFont
(
QString
)));
connect
(
settings
,
SIGNAL
(
settingsChanged
()),
ui
.
calendarWidget
,
SLOT
(
recreate
()));
...
...
calendar/wizard/calwizard.cpp
View file @
ee53cdef
...
...
@@ -131,8 +131,8 @@ CalWizard::CalWizard( KIPI::Interface* interface, QWidget* parent )
printThread_
=
0
;
printer_
=
0
;
connect
(
this
,
SIGNAL
(
currentPageChanged
(
KPageWidgetItem
*
,
KPageWidgetItem
*
)),
this
,
SLOT
(
slotPageSelected
(
KPageWidgetItem
*
,
KPageWidgetItem
*
)));
connect
(
this
,
SIGNAL
(
currentPageChanged
(
KPageWidgetItem
*
,
KPageWidgetItem
*
)),
this
,
SLOT
(
slotPageSelected
(
KPageWidgetItem
*
,
KPageWidgetItem
*
)));
setCaption
(
i18n
(
"Create Calendar"
));
}
...
...
calendar/wizard/monthwidget.cpp
View file @
ee53cdef
...
...
@@ -72,8 +72,8 @@ MonthWidget::MonthWidget( KIPI::Interface* interface, QWidget* parent, int month
KIconLoader
::
SizeMedium
,
KIconLoader
::
DisabledState
)));
connect
(
interface_
,
SIGNAL
(
gotThumbnail
(
const
KUrl
&
,
const
QPixmap
&
)),
this
,
SLOT
(
gotThumbnail
(
const
KUrl
&
,
const
QPixmap
&
)));
connect
(
interface_
,
SIGNAL
(
gotThumbnail
(
KUrl
,
QPixmap
)),
this
,
SLOT
(
gotThumbnail
(
KUrl
,
QPixmap
)));
}
MonthWidget
::~
MonthWidget
()
...
...
common/libkipiplugins/dialogs/imagedialog.cpp
View file @
ee53cdef
...
...
@@ -103,14 +103,14 @@ ImageDialogPreview::ImageDialogPreview(KIPI::Interface* iface, QWidget* parent)
if
(
d
->
iface
)
{
connect
(
d
->
iface
,
SIGNAL
(
gotThumbnail
(
const
KUrl
&
,
const
QPixmap
&
)),
this
,
SLOT
(
slotThumbnail
(
const
KUrl
&
,
const
QPixmap
&
)));
connect
(
d
->
iface
,
SIGNAL
(
gotThumbnail
(
KUrl
,
QPixmap
)),
this
,
SLOT
(
slotThumbnail
(
KUrl
,
QPixmap
)));
}
d
->
loadRawThumb
=
new
LoadRawThumbThread
(
this
);
connect
(
d
->
loadRawThumb
,
SIGNAL
(
signalRawThumb
(
const
KUrl
&
,
const
QImage
&
)),
this
,
SLOT
(
slotRawThumb
(
const
KUrl
&
,
const
QImage
&
)));
connect
(
d
->
loadRawThumb
,
SIGNAL
(
signalRawThumb
(
KUrl
,
QImage
)),
this
,
SLOT
(
slotRawThumb
(
KUrl
,
QImage
)));
}
ImageDialogPreview
::~
ImageDialogPreview
()
...
...
@@ -158,11 +158,11 @@ void ImageDialogPreview::showPreview(const KUrl& url)
{
KIO
::
PreviewJob
*
job
=
KIO
::
filePreview
(
d
->
currentUrl
,
256
);
connect
(
job
,
SIGNAL
(
gotPreview
(
const
KFileItem
&
,
const
QPixmap
&
)),
this
,
SLOT
(
slotKDEPreview
(
const
KFileItem
&
,
const
QPixmap
&
)));
connect
(
job
,
SIGNAL
(
gotPreview
(
KFileItem
,
QPixmap
)),
this
,
SLOT
(
slotKDEPreview
(
KFileItem
,
QPixmap
)));
connect
(
job
,
SIGNAL
(
failed
(
const
KFileItem
&
)),
this
,
SLOT
(
slotKDEPreviewFailed
(
const
KFileItem
&
)));
connect
(
job
,
SIGNAL
(
failed
(
KFileItem
)),
this
,
SLOT
(
slotKDEPreviewFailed
(
KFileItem
)));
}
// Try to use libkexiv2 to identify image.
...
...
common/libkipiplugins/widgets/imageslist.cpp
View file @
ee53cdef
...
...
@@ -299,8 +299,8 @@ void ImagesListView::setup(int iconSize)
header
()
->
setResizeMode
(
User5
,
QHeaderView
::
Stretch
);
header
()
->
setResizeMode
(
User6
,
QHeaderView
::
Stretch
);
connect
(
this
,
SIGNAL
(
itemClicked
(
QTreeWidgetItem
*
,
int
)),
this
,
SLOT
(
slotItemClicked
(
QTreeWidgetItem
*
,
int
)));
connect
(
this
,
SIGNAL
(
itemClicked
(
QTreeWidgetItem
*
,
int
)),
this
,
SLOT
(
slotItemClicked
(
QTreeWidgetItem
*
,
int
)));
}
void
ImagesListView
::
enableDragAndDrop
(
const
bool
enable
)
...
...
@@ -512,19 +512,19 @@ ImagesList::ImagesList(Interface* iface, QWidget* parent, int iconSize)
// --------------------------------------------------------
connect
(
d
->
listView
,
SIGNAL
(
addedDropedItems
(
const
KUrl
::
List
&
)),
this
,
SLOT
(
slotAddImages
(
const
KUrl
::
List
&
)));
connect
(
d
->
listView
,
SIGNAL
(
addedDropedItems
(
KUrl
::
List
)),
this
,
SLOT
(
slotAddImages
(
KUrl
::
List
)));
if
(
d
->
iface
)
{
connect
(
d
->
iface
,
SIGNAL
(
gotThumbnail
(
const
KUrl
&
,
const
QPixmap
&
)),
this
,
SLOT
(
slotThumbnail
(
const
KUrl
&
,
const
QPixmap
&
)));
connect
(
d
->
iface
,
SIGNAL
(
gotThumbnail
(
KUrl
,
QPixmap
)),
this
,
SLOT
(
slotThumbnail
(
KUrl
,
QPixmap
)));
}
d
->
loadRawThumb
=
new
LoadRawThumbThread
(
this
);
connect
(
d
->
loadRawThumb
,
SIGNAL
(
signalRawThumb
(
const
KUrl
&
,
const
QImage
&
)),
this
,
SLOT
(
slotRawThumb
(
const
KUrl
&
,
const
QImage
&
)));
connect
(
d
->
loadRawThumb
,
SIGNAL
(
signalRawThumb
(
KUrl
,
QImage
)),
this
,
SLOT
(
slotRawThumb
(
KUrl
,
QImage
)));
connect
(
d
->
listView
,
SIGNAL
(
signalItemClicked
(
QTreeWidgetItem
*
)),
this
,
SIGNAL
(
signalItemClicked
(
QTreeWidgetItem
*
)));
...
...
@@ -958,11 +958,11 @@ void ImagesList::updateThumbnail(const KUrl& url)
{
KIO
::
PreviewJob
*
job
=
KIO
::
filePreview
(
KUrl
::
List
()
<<
url
.
toLocalFile
(),
DEFAULTSIZE
);
connect
(
job
,
SIGNAL
(
gotPreview
(
const
KFileItem
&
,
const
QPixmap
&
)),
this
,
SLOT
(
slotKDEPreview
(
const
KFileItem
&
,
const
QPixmap
&
)));
connect
(
job
,
SIGNAL
(
gotPreview
(
KFileItem
,
QPixmap
)),
this
,
SLOT
(
slotKDEPreview
(
KFileItem
,
QPixmap
)));
connect
(
job
,
SIGNAL
(
failed
(
const
KFileItem
&
)),
this
,
SLOT
(
slotKDEPreviewFailed
(
const
KFileItem
&
)));
connect
(
job
,
SIGNAL
(
failed
(
KFileItem
)),
this
,
SLOT
(
slotKDEPreviewFailed
(
KFileItem
)));
}
}
...
...
debianscreenshots/dsjob.cpp
View file @
ee53cdef
...
...
@@ -36,14 +36,14 @@ DebianScreenshotsJob::DebianScreenshotsJob(const QString& packageName, const KUr
{
setObjectName
(
"DebianScreenshotsJob"
);
/*
connect(&talk, SIGNAL(signalLoginDone(int,
QString)),
this, SLOT(loginDone(int,
QString)));
connect(&talk, SIGNAL(signalLoginDone(int,QString)),
this, SLOT(loginDone(int,QString)));
connect(&talk, SIGNAL(signalListAlbumsDone(int,
QString,
QList<FbAlbum>)),
this, SLOT(albumList(int,
QString,
QList<FbAlbum>)));
connect(&talk, SIGNAL(signalListAlbumsDone(int,QString,QList<FbAlbum>)),
this, SLOT(albumList(int,QString,QList<FbAlbum>)));
connect(&talk, SIGNAL(signalCreateAlbumDone(int,QString,
QString)),
this, SLOT(albumCreated(int,
QString,
QString)));
connect(&talk, SIGNAL(signalCreateAlbumDone(int,QString,QString)),
this, SLOT(albumCreated(int,QString,QString)));
connect(&talk, SIGNAL(signalAddPhotoDone(int,QString)),
this, SLOT(addPhoto(int,QString)));*/
...
...
debianscreenshots/dstalker.cpp
View file @
ee53cdef
...
...
@@ -94,11 +94,11 @@ bool DsTalker::addScreenshot(const QString& imgPath, const QString& packageName,
job
->
addMetaData
(
"UserAgent"
,
m_userAgent
);
job
->
addMetaData
(
"content-type"
,
form
.
contentType
());
connect
(
job
,
SIGNAL
(
data
(
KIO
::
Job
*
,
const
QByteArray
&
)),
this
,
SLOT
(
data
(
KIO
::
Job
*
,
const
QByteArray
&
)));
connect
(
job
,
SIGNAL
(
data
(
KIO
::
Job
*
,
QByteArray
)),
this
,
SLOT
(
data
(
KIO
::
Job
*
,
QByteArray
)));
connect
(
job
,
SIGNAL
(
result
(
KJob
*
)),
this
,
SLOT
(
slotResult
(
KJob
*
)));
connect
(
job
,
SIGNAL
(
result
(
KJob
*
)),
this
,
SLOT
(
slotResult
(
KJob
*
)));
m_job
=
job
;
m_buffer
.
resize
(
0
);
...
...
debianscreenshots/dswindow.cpp
View file @
ee53cdef
...
...
@@ -92,14 +92,14 @@ DsWindow::DsWindow(KIPI::Interface* interface, const QString &tmpFolder, QWidget
// ------------------------------------------------------------------------
connect
(
m_widget
->
m_imgList
,
SIGNAL
(
signalImageListChanged
()),
this
,
SLOT
(
slotMaybeEnableUser1
())
);
connect
(
m_widget
->
m_imgList
,
SIGNAL
(
signalImageListChanged
()),
this
,
SLOT
(
slotMaybeEnableUser1
())
);
connect
(
m_widget
,
SIGNAL
(
requiredPackageInfoAvailable
(
bool
)),
this
,
SLOT
(
slotRequiredPackageInfoAvailableReceived
(
bool
)));
connect
(
this
,
SIGNAL
(
user1Clicked
()
),
this
,
SLOT
(
slotStartTransfer
())
);
connect
(
this
,
SIGNAL
(
user1Clicked
()),
this
,
SLOT
(
slotStartTransfer
())
);
// ------------------------------------------------------------------------
...
...
@@ -112,8 +112,8 @@ DsWindow::DsWindow(KIPI::Interface* interface, const QString &tmpFolder, QWidget
m_about
->
addAuthor
(
ki18n
(
"Pau Garcia i Quiles"
),
ki18n
(
"Author and maintainer"
),
"pgquiles at elpauer dot org"
);
disconnect
(
this
,
SIGNAL
(
helpClicked
()
),
this
,
SLOT
(
slotHelp
())
);
disconnect
(
this
,
SIGNAL
(
helpClicked
()),
this
,
SLOT
(
slotHelp
())
);
KHelpMenu
*
helpMenu
=
new
KHelpMenu
(
this
,
m_about
,
false
);
helpMenu
->
menu
()
->
removeAction
(
helpMenu
->
menu
()
->
actions
().
first
());
...
...
debianscreenshots/plugin_debianscreenshots.cpp
View file @
ee53cdef
...
...
@@ -75,8 +75,8 @@ void Plugin_DebianScreenshots::setup(QWidget* widget)
m_actionExport
->
setIcon
(
KIcon
(
"debianscreenshots"
));
m_actionExport
->
setShortcut
(
KShortcut
(
Qt
::
ALT
+
Qt
::
SHIFT
+
Qt
::
Key_D
));
connect
(
m_actionExport
,
SIGNAL
(
triggered
(
bool
)
),
this
,
SLOT
(
slotExport
())
);
connect
(
m_actionExport
,
SIGNAL
(
triggered
(
bool
)),
this
,
SLOT
(
slotExport
())
);
addAction
(
m_actionExport
);
...
...
Prev
1
2
3
4
5
6
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment