From 40c169795fdadb8e948851ad4f25fc34392971b2 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 28 Dec 2023 16:38:33 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro (cherry picked from commit b135a5b3eb5adf5b38ff4ade393bcaa3f6454fde) --- digikam/digikam/albumfolderview.cpp | 72 ++--- digikam/digikam/albumiconview.cpp | 146 ++++----- digikam/digikam/albumiconviewfilter.cpp | 20 +- digikam/digikam/albumlister.cpp | 20 +- digikam/digikam/albummanager.cpp | 28 +- digikam/digikam/albumpropsedit.cpp | 16 +- digikam/digikam/albumthumbnailloader.cpp | 24 +- digikam/digikam/albumwidgetstack.cpp | 32 +- digikam/digikam/datefolderview.cpp | 28 +- digikam/digikam/digikamapp.cpp | 336 ++++++++++----------- digikam/digikam/digikamview.cpp | 268 ++++++++-------- digikam/digikam/dio.cpp | 4 +- digikam/digikam/folderview.cpp | 16 +- digikam/digikam/iconview.cpp | 8 +- digikam/digikam/imagepreviewview.cpp | 52 ++-- digikam/digikam/kdateedit.cpp | 12 +- digikam/digikam/kdatepickerpopup.cpp | 22 +- digikam/digikam/kdatetimeedit.cpp | 8 +- digikam/digikam/kipiinterface.cpp | 8 +- digikam/digikam/mediaplayerview.cpp | 4 +- digikam/digikam/monthwidget.cpp | 8 +- digikam/digikam/pixmapmanager.cpp | 16 +- digikam/digikam/ratingfilter.cpp | 4 +- digikam/digikam/ratingwidget.cpp | 4 +- digikam/digikam/searchadvanceddialog.cpp | 48 +-- digikam/digikam/searchfolderview.cpp | 24 +- digikam/digikam/searchquickdialog.cpp | 12 +- digikam/digikam/searchresultsview.cpp | 16 +- digikam/digikam/searchwidgets.cpp | 48 +-- digikam/digikam/syncjob.cpp | 28 +- digikam/digikam/tageditdlg.cpp | 12 +- digikam/digikam/tagfilterview.cpp | 52 ++-- digikam/digikam/tagfolderview.cpp | 52 ++-- digikam/digikam/tagspopupmenu.cpp | 12 +- digikam/digikam/timelinefolderview.cpp | 24 +- digikam/digikam/timelineview.cpp | 76 ++--- digikam/digikam/timelinewidget.cpp | 4 +- digikam/digikam/welcomepageview.cpp | 4 +- digikam/imageplugins/adjustcurves/adjustcurves.cpp | 36 +-- .../imageplugins/adjustcurves/adjustcurvestool.cpp | 36 +-- .../adjustcurves/imageplugin_adjustcurves.cpp | 2 +- digikam/imageplugins/adjustlevels/adjustlevels.cpp | 100 +++--- .../imageplugins/adjustlevels/adjustlevelstool.cpp | 100 +++--- .../adjustlevels/imageplugin_adjustlevels.cpp | 2 +- .../antivignetting/antivignettingtool.cpp | 24 +- .../antivignetting/imageeffect_antivignetting.cpp | 24 +- .../antivignetting/imageplugin_antivignetting.cpp | 2 +- digikam/imageplugins/blurfx/blurfxtool.cpp | 12 +- digikam/imageplugins/blurfx/imageeffect_blurfx.cpp | 12 +- digikam/imageplugins/blurfx/imageplugin_blurfx.cpp | 2 +- digikam/imageplugins/border/bordertool.cpp | 24 +- digikam/imageplugins/border/imageeffect_border.cpp | 24 +- digikam/imageplugins/border/imageplugin_border.cpp | 2 +- digikam/imageplugins/channelmixer/channelmixer.cpp | 40 +-- .../imageplugins/channelmixer/channelmixertool.cpp | 40 +-- .../channelmixer/imageplugin_channelmixer.cpp | 2 +- digikam/imageplugins/charcoal/charcoaltool.cpp | 8 +- .../imageplugins/charcoal/imageeffect_charcoal.cpp | 8 +- .../imageplugins/charcoal/imageplugin_charcoal.cpp | 2 +- digikam/imageplugins/colorfx/colorfxtool.cpp | 28 +- .../imageplugins/colorfx/imageeffect_colorfx.cpp | 28 +- .../imageplugins/colorfx/imageplugin_colorfx.cpp | 2 +- .../imageplugins/coreplugin/autocorrectiontool.cpp | 20 +- digikam/imageplugins/coreplugin/bcgtool.cpp | 28 +- digikam/imageplugins/coreplugin/bwsepiatool.cpp | 44 +-- digikam/imageplugins/coreplugin/hsl/hsltool.cpp | 40 +-- .../coreplugin/hsl/imageeffect_hsl.cpp | 40 +-- digikam/imageplugins/coreplugin/iccprooftool.cpp | 84 +++--- .../coreplugin/imageeffect_autocorrection.cpp | 20 +- .../imageplugins/coreplugin/imageeffect_bcg.cpp | 28 +- .../coreplugin/imageeffect_bwsepia.cpp | 44 +-- .../coreplugin/imageeffect_iccproof.cpp | 84 +++--- .../imageplugins/coreplugin/imageeffect_redeye.cpp | 36 +-- .../imageplugins/coreplugin/imageeffect_rgb.cpp | 58 ++-- .../imageplugins/coreplugin/imageplugin_core.cpp | 26 +- .../coreplugin/ratiocrop/imageeffect_ratiocrop.cpp | 96 +++--- .../coreplugin/ratiocrop/ratiocroptool.cpp | 104 +++---- digikam/imageplugins/coreplugin/redeyetool.cpp | 36 +-- digikam/imageplugins/coreplugin/rgbtool.cpp | 64 ++-- .../sharpnesseditor/imageeffect_sharpen.cpp | 4 +- .../coreplugin/sharpnesseditor/sharpentool.cpp | 4 +- .../imageplugins/distortionfx/distortionfxtool.cpp | 16 +- .../distortionfx/imageeffect_distortionfx.cpp | 12 +- .../distortionfx/imageplugin_distortionfx.cpp | 2 +- digikam/imageplugins/emboss/embosstool.cpp | 4 +- digikam/imageplugins/emboss/imageeffect_emboss.cpp | 4 +- digikam/imageplugins/emboss/imageplugin_emboss.cpp | 2 +- digikam/imageplugins/filmgrain/filmgraintool.cpp | 12 +- .../filmgrain/imageeffect_filmgrain.cpp | 12 +- .../filmgrain/imageplugin_filmgrain.cpp | 2 +- .../imageplugins/freerotation/freerotationtool.cpp | 20 +- .../freerotation/imageeffect_freerotation.cpp | 16 +- .../freerotation/imageplugin_freerotation.cpp | 2 +- .../imageplugins/hotpixels/blackframelistview.cpp | 16 +- .../imageplugins/hotpixels/blackframeparser.cpp | 8 +- digikam/imageplugins/hotpixels/hotpixelstool.cpp | 28 +- .../hotpixels/imageeffect_hotpixels.cpp | 28 +- .../hotpixels/imageplugin_hotpixels.cpp | 2 +- .../imageplugins/infrared/imageeffect_infrared.cpp | 16 +- .../imageplugins/infrared/imageplugin_infrared.cpp | 2 +- digikam/imageplugins/infrared/infraredtool.cpp | 16 +- .../inpainting/imageeffect_inpainting.cpp | 8 +- .../inpainting/imageplugin_inpainting.cpp | 2 +- digikam/imageplugins/inpainting/inpaintingtool.cpp | 8 +- .../imageplugins/inserttext/fontchooserwidget.cpp | 28 +- .../inserttext/imageeffect_inserttext.cpp | 30 +- .../inserttext/imageplugin_inserttext.cpp | 2 +- digikam/imageplugins/inserttext/inserttexttool.cpp | 32 +- .../lensdistortion/imageeffect_lensdistortion.cpp | 16 +- .../lensdistortion/imageplugin_lensdistortion.cpp | 2 +- .../lensdistortion/lensdistortiontool.cpp | 20 +- .../noisereduction/imageeffect_noisereduction.cpp | 40 +-- .../noisereduction/imageplugin_noisereduction.cpp | 2 +- .../imageplugins/oilpaint/imageeffect_oilpaint.cpp | 8 +- .../imageplugins/oilpaint/imageplugin_oilpaint.cpp | 2 +- digikam/imageplugins/oilpaint/oilpainttool.cpp | 8 +- .../perspective/imageeffect_perspective.cpp | 20 +- .../perspective/imageplugin_perspective.cpp | 2 +- .../imageplugins/perspective/perspectivetool.cpp | 20 +- .../imageplugins/raindrop/imageeffect_raindrop.cpp | 12 +- .../imageplugins/raindrop/imageplugin_raindrop.cpp | 2 +- digikam/imageplugins/raindrop/raindroptool.cpp | 12 +- .../restoration/imageeffect_restoration.cpp | 8 +- .../restoration/imageplugin_restoration.cpp | 2 +- .../imageplugins/restoration/restorationtool.cpp | 8 +- .../sheartool/imageeffect_sheartool.cpp | 20 +- .../sheartool/imageplugin_sheartool.cpp | 2 +- digikam/imageplugins/sheartool/sheartool.cpp | 24 +- .../imageplugins/superimpose/dirselectwidget.cpp | 16 +- .../superimpose/imageeffect_superimpose.cpp | 16 +- .../superimpose/imageplugin_superimpose.cpp | 2 +- .../imageplugins/superimpose/superimposetool.cpp | 16 +- .../imageplugins/texture/imageeffect_texture.cpp | 8 +- .../imageplugins/texture/imageplugin_texture.cpp | 2 +- digikam/imageplugins/texture/texturetool.cpp | 8 +- .../whitebalance/imageeffect_whitebalance.cpp | 64 ++-- .../whitebalance/imageplugin_whitebalance.cpp | 2 +- .../imageplugins/whitebalance/whitebalancetool.cpp | 64 ++-- digikam/libs/dialogs/ctrlpaneldlg.cpp | 20 +- digikam/libs/dialogs/deletedialog.cpp | 4 +- digikam/libs/dialogs/imagedialog.cpp | 12 +- digikam/libs/dialogs/imagedlgbase.cpp | 6 +- digikam/libs/dialogs/imageguidedlg.cpp | 24 +- digikam/libs/dialogs/rawcameradlg.cpp | 4 +- digikam/libs/dimg/loaders/jp2ksettings.cpp | 8 +- digikam/libs/imageproperties/imagedescedittab.cpp | 128 ++++---- .../imageproperties/imagepropertiescolorstab.cpp | 48 +-- .../imageproperties/imagepropertiessidebar.cpp | 4 +- .../imagepropertiessidebarcamgui.cpp | 20 +- .../imageproperties/imagepropertiessidebardb.cpp | 16 +- digikam/libs/imageproperties/navigatebartab.cpp | 16 +- digikam/libs/imageproperties/navigatebarwidget.cpp | 16 +- digikam/libs/imageproperties/talbumlistview.cpp | 4 +- digikam/libs/themeengine/themeengine.cpp | 4 +- digikam/libs/threadimageio/loadingcache.cpp | 4 +- digikam/libs/thumbbar/thumbbar.cpp | 20 +- digikam/libs/thumbbar/thumbnailjob.cpp | 4 +- digikam/libs/widgets/common/curveswidget.cpp | 4 +- digikam/libs/widgets/common/dlogoaction.cpp | 8 +- digikam/libs/widgets/common/histogramwidget.cpp | 4 +- digikam/libs/widgets/common/searchtextbar.cpp | 8 +- digikam/libs/widgets/common/sidebar.cpp | 8 +- digikam/libs/widgets/common/splashscreen.cpp | 4 +- digikam/libs/widgets/common/squeezedcombobox.cpp | 8 +- digikam/libs/widgets/common/statusnavigatebar.cpp | 16 +- digikam/libs/widgets/common/statusprogressbar.cpp | 4 +- digikam/libs/widgets/common/statuszoombar.cpp | 24 +- .../libs/widgets/iccprofiles/cietonguewidget.cpp | 4 +- .../libs/widgets/imageplugins/imagepanelwidget.cpp | 22 +- .../widgets/imageplugins/imagepannelwidget.cpp | 34 +-- .../widgets/imageplugins/imageregionwidget.cpp | 4 +- digikam/libs/widgets/imageplugins/imagewidget.cpp | 32 +- digikam/libs/widgets/metadata/gpswidget.cpp | 4 +- digikam/libs/widgets/metadata/metadatalistview.cpp | 10 +- digikam/libs/widgets/metadata/metadatawidget.cpp | 24 +- digikam/showfoto/setup/setup.cpp | 4 +- digikam/showfoto/setup/setupeditor.cpp | 4 +- digikam/showfoto/setup/setuptooltip.cpp | 8 +- digikam/showfoto/showfoto.cpp | 44 +-- digikam/themedesigner/mainwindow.cpp | 42 +-- digikam/themedesigner/themediconview.cpp | 4 +- .../utilities/batch/batchalbumssyncmetadata.cpp | 10 +- digikam/utilities/batch/batchsyncmetadata.cpp | 8 +- digikam/utilities/batch/batchthumbsgenerator.cpp | 26 +- digikam/utilities/batch/imageinfoalbumsjob.cpp | 8 +- digikam/utilities/batch/imageinfojob.cpp | 8 +- digikam/utilities/cameragui/albumselectdialog.cpp | 26 +- digikam/utilities/cameragui/animwidget.cpp | 4 +- digikam/utilities/cameragui/cameracontroller.cpp | 4 +- digikam/utilities/cameragui/camerafolderdialog.cpp | 4 +- digikam/utilities/cameragui/camerafolderview.cpp | 8 +- digikam/utilities/cameragui/cameraiconview.cpp | 28 +- digikam/utilities/cameragui/cameraui.cpp | 176 +++++------ digikam/utilities/cameragui/freespacewidget.cpp | 8 +- digikam/utilities/cameragui/renamecustomizer.cpp | 48 +-- digikam/utilities/imageeditor/canvas/canvas.cpp | 48 +-- .../imageeditor/canvas/colorcorrectiondlg.cpp | 12 +- .../utilities/imageeditor/canvas/dimginterface.cpp | 24 +- .../utilities/imageeditor/canvas/imageplugin.cpp | 8 +- .../imageeditor/editor/editorstackview.cpp | 8 +- .../utilities/imageeditor/editor/editortool.cpp | 36 +-- .../imageeditor/editor/editortoolsettings.cpp | 32 +- .../utilities/imageeditor/editor/editorwindow.cpp | 240 +++++++-------- .../utilities/imageeditor/editor/imagewindow.cpp | 52 ++-- .../utilities/imageeditor/rawimport/rawimport.cpp | 36 +-- .../utilities/imageeditor/rawimport/rawpreview.cpp | 24 +- .../imageeditor/rawimport/rawsettingsbox.cpp | 52 ++-- digikam/utilities/imageeditor/tools/imageprint.cpp | 28 +- .../utilities/imageeditor/tools/imageresize.cpp | 26 +- digikam/utilities/lighttable/lighttablebar.cpp | 16 +- digikam/utilities/lighttable/lighttablepreview.cpp | 40 +-- digikam/utilities/lighttable/lighttableview.cpp | 96 +++--- digikam/utilities/lighttable/lighttablewindow.cpp | 198 ++++++------ digikam/utilities/setup/cameraselection.cpp | 32 +- digikam/utilities/setup/setup.cpp | 4 +- digikam/utilities/setup/setupcamera.cpp | 32 +- digikam/utilities/setup/setupcollections.cpp | 12 +- digikam/utilities/setup/setupdcraw.cpp | 4 +- digikam/utilities/setup/setupeditor.cpp | 4 +- digikam/utilities/setup/setupgeneral.cpp | 8 +- digikam/utilities/setup/setupicc.cpp | 32 +- digikam/utilities/setup/setupmetadata.cpp | 8 +- digikam/utilities/setup/setupmime.cpp | 16 +- digikam/utilities/setup/setuptooltip.cpp | 12 +- digikam/utilities/slideshow/slideshow.cpp | 32 +- digikam/utilities/slideshow/toolbar.cpp | 24 +- doc/digikam/Shortcuts | 22 +- 227 files changed, 3010 insertions(+), 3010 deletions(-) diff --git a/digikam/digikam/albumfolderview.cpp b/digikam/digikam/albumfolderview.cpp index 9d849991..6e9048ab 100644 --- a/digikam/digikam/albumfolderview.cpp +++ b/digikam/digikam/albumfolderview.cpp @@ -273,40 +273,40 @@ AlbumFolderView::AlbumFolderView(TQWidget *parent) setAcceptDrops(true); viewport()->setAcceptDrops(true); - connect(d->albumMan, TQT_SIGNAL(signalAlbumAdded(Album*)), - this, TQT_SLOT(slotAlbumAdded(Album*))); + connect(d->albumMan, TQ_SIGNAL(signalAlbumAdded(Album*)), + this, TQ_SLOT(slotAlbumAdded(Album*))); - connect(d->albumMan, TQT_SIGNAL(signalAlbumDeleted(Album*)), - this, TQT_SLOT(slotAlbumDeleted(Album*))); + connect(d->albumMan, TQ_SIGNAL(signalAlbumDeleted(Album*)), + this, TQ_SLOT(slotAlbumDeleted(Album*))); - connect(d->albumMan, TQT_SIGNAL(signalAlbumsCleared()), - this, TQT_SLOT(slotAlbumsCleared())); + connect(d->albumMan, TQ_SIGNAL(signalAlbumsCleared()), + this, TQ_SLOT(slotAlbumsCleared())); - connect(d->albumMan, TQT_SIGNAL(signalAlbumIconChanged(Album*)), - this, TQT_SLOT(slotAlbumIconChanged(Album*))); + connect(d->albumMan, TQ_SIGNAL(signalAlbumIconChanged(Album*)), + this, TQ_SLOT(slotAlbumIconChanged(Album*))); - connect(d->albumMan, TQT_SIGNAL(signalAlbumRenamed(Album*)), - this, TQT_SLOT(slotAlbumRenamed(Album*))); + connect(d->albumMan, TQ_SIGNAL(signalAlbumRenamed(Album*)), + this, TQ_SLOT(slotAlbumRenamed(Album*))); - connect(d->albumMan, TQT_SIGNAL(signalPAlbumsDirty(const TQMap&)), - this, TQT_SLOT(slotRefresh(const TQMap&))); + connect(d->albumMan, TQ_SIGNAL(signalPAlbumsDirty(const TQMap&)), + this, TQ_SLOT(slotRefresh(const TQMap&))); AlbumThumbnailLoader *loader = AlbumThumbnailLoader::instance(); - connect(loader, TQT_SIGNAL(signalThumbnail(Album *, const TQPixmap&)), - this, TQT_SLOT(slotGotThumbnailFromIcon(Album *, const TQPixmap&))); + connect(loader, TQ_SIGNAL(signalThumbnail(Album *, const TQPixmap&)), + this, TQ_SLOT(slotGotThumbnailFromIcon(Album *, const TQPixmap&))); - connect(loader, TQT_SIGNAL(signalFailed(Album *)), - this, TQT_SLOT(slotThumbnailLost(Album *))); + connect(loader, TQ_SIGNAL(signalFailed(Album *)), + this, TQ_SLOT(slotThumbnailLost(Album *))); - connect(loader, TQT_SIGNAL(signalReloadThumbnails()), - this, TQT_SLOT(slotReloadThumbnails())); + connect(loader, TQ_SIGNAL(signalReloadThumbnails()), + this, TQ_SLOT(slotReloadThumbnails())); - connect(this, TQT_SIGNAL(contextMenuRequested(TQListViewItem*, const TQPoint&, int)), - this, TQT_SLOT(slotContextMenu(TQListViewItem*, const TQPoint&, int))); + connect(this, TQ_SIGNAL(contextMenuRequested(TQListViewItem*, const TQPoint&, int)), + this, TQ_SLOT(slotContextMenu(TQListViewItem*, const TQPoint&, int))); - connect(this, TQT_SIGNAL(selectionChanged()), - this, TQT_SLOT(slotSelectionChanged())); + connect(this, TQ_SIGNAL(selectionChanged()), + this, TQ_SLOT(slotSelectionChanged())); } AlbumFolderView::~AlbumFolderView() @@ -825,8 +825,8 @@ void AlbumFolderView::albumDelete(AlbumFolderViewItem *item) u.setProtocol("file"); u.setPath(album->folderPath()); TDEIO::Job* job = DIO::del(u, useTrash); - connect(job, TQT_SIGNAL(result(TDEIO::Job *)), - this, TQT_SLOT(slotDIOResult(TDEIO::Job *))); + connect(job, TQ_SIGNAL(result(TDEIO::Job *)), + this, TQ_SLOT(slotDIOResult(TDEIO::Job *))); } void AlbumFolderView::addAlbumChildrenToList(KURL::List &list, Album *album) @@ -1082,8 +1082,8 @@ void AlbumFolderView::contentsDropEvent(TQDropEvent *e) destAlbum = itemDrop->album(); } TDEIO::Job* job = DIO::move(album->kurl(), destAlbum->kurl()); - connect(job, TQT_SIGNAL(result(TDEIO::Job*)), - this, TQT_SLOT(slotDIOResult(TDEIO::Job*))); + connect(job, TQ_SIGNAL(result(TDEIO::Job*)), + this, TQ_SLOT(slotDIOResult(TDEIO::Job*))); } } else if (AlbumSettings::instance()->getAlbumSortOrder() @@ -1208,8 +1208,8 @@ void AlbumFolderView::contentsDropEvent(TQDropEvent *e) case 10: { TDEIO::Job* job = DIO::move(extUrls, destAlbum->kurl()); - connect(job, TQT_SIGNAL(result(TDEIO::Job*)), - this, TQT_SLOT(slotDIOResult(TDEIO::Job*))); + connect(job, TQ_SIGNAL(result(TDEIO::Job*)), + this, TQ_SLOT(slotDIOResult(TDEIO::Job*))); // In recurssive album contents mode, we need to force AlbumLister to take a care about // moved items. This will have no incidence in normal mode. @@ -1223,8 +1223,8 @@ void AlbumFolderView::contentsDropEvent(TQDropEvent *e) case 11: { TDEIO::Job* job = DIO::copy(extUrls, destAlbum->kurl()); - connect(job, TQT_SIGNAL(result(TDEIO::Job*)), - this, TQT_SLOT(slotDIOResult(TDEIO::Job*))); + connect(job, TQ_SIGNAL(result(TDEIO::Job*)), + this, TQ_SLOT(slotDIOResult(TDEIO::Job*))); break; } case 12: @@ -1334,15 +1334,15 @@ void AlbumFolderView::contentsDropEvent(TQDropEvent *e) case 10: { TDEIO::Job* job = DIO::move(srcURLs, destAlbum->kurl()); - connect(job, TQT_SIGNAL(result(TDEIO::Job*)), - this, TQT_SLOT(slotDIOResult(TDEIO::Job*))); + connect(job, TQ_SIGNAL(result(TDEIO::Job*)), + this, TQ_SLOT(slotDIOResult(TDEIO::Job*))); break; } case 11: { TDEIO::Job* job = DIO::copy(srcURLs, destAlbum->kurl()); - connect(job, TQT_SIGNAL(result(TDEIO::Job*)), - this, TQT_SLOT(slotDIOResult(TDEIO::Job*))); + connect(job, TQ_SIGNAL(result(TDEIO::Job*)), + this, TQ_SLOT(slotDIOResult(TDEIO::Job*))); break; } default: @@ -1393,8 +1393,8 @@ void AlbumFolderView::albumImportFolder() return; TDEIO::Job* job = DIO::copy(urls, parent->kurl()); - connect(job, TQT_SIGNAL(result(TDEIO::Job *)), - this, TQT_SLOT(slotDIOResult(TDEIO::Job *))); + connect(job, TQ_SIGNAL(result(TDEIO::Job *)), + this, TQ_SLOT(slotDIOResult(TDEIO::Job *))); } void AlbumFolderView::selectItem(int id) diff --git a/digikam/digikam/albumiconview.cpp b/digikam/digikam/albumiconview.cpp index 9aa3d6b2..88d6a3d1 100644 --- a/digikam/digikam/albumiconview.cpp +++ b/digikam/digikam/albumiconview.cpp @@ -218,63 +218,63 @@ AlbumIconView::AlbumIconView(TQWidget* parent) // -- ImageLister connections ------------------------------------- - connect(d->imageLister, TQT_SIGNAL(signalNewFilteredItems(const ImageInfoList&)), - this, TQT_SLOT(slotImageListerNewItems(const ImageInfoList&))); + connect(d->imageLister, TQ_SIGNAL(signalNewFilteredItems(const ImageInfoList&)), + this, TQ_SLOT(slotImageListerNewItems(const ImageInfoList&))); - connect(d->imageLister, TQT_SIGNAL(signalDeleteFilteredItem(ImageInfo*)), - this, TQT_SLOT(slotImageListerDeleteItem(ImageInfo*)) ); + connect(d->imageLister, TQ_SIGNAL(signalDeleteFilteredItem(ImageInfo*)), + this, TQ_SLOT(slotImageListerDeleteItem(ImageInfo*)) ); - connect(d->imageLister, TQT_SIGNAL(signalClear()), - this, TQT_SLOT(slotImageListerClear())); + connect(d->imageLister, TQ_SIGNAL(signalClear()), + this, TQ_SLOT(slotImageListerClear())); // -- Icon connections -------------------------------------------- - connect(this, TQT_SIGNAL(signalDoubleClicked(IconItem*)), - this, TQT_SLOT(slotDoubleClicked(IconItem*))); + connect(this, TQ_SIGNAL(signalDoubleClicked(IconItem*)), + this, TQ_SLOT(slotDoubleClicked(IconItem*))); - connect(this, TQT_SIGNAL(signalReturnPressed(IconItem*)), - this, TQT_SLOT(slotDoubleClicked(IconItem*))); + connect(this, TQ_SIGNAL(signalReturnPressed(IconItem*)), + this, TQ_SLOT(slotDoubleClicked(IconItem*))); - connect(this, TQT_SIGNAL(signalRightButtonClicked(IconItem*, const TQPoint &)), - this, TQT_SLOT(slotRightButtonClicked(IconItem*, const TQPoint &))); + connect(this, TQ_SIGNAL(signalRightButtonClicked(IconItem*, const TQPoint &)), + this, TQ_SLOT(slotRightButtonClicked(IconItem*, const TQPoint &))); - connect(this, TQT_SIGNAL(signalRightButtonClicked(const TQPoint &)), - this, TQT_SLOT(slotRightButtonClicked(const TQPoint &))); + connect(this, TQ_SIGNAL(signalRightButtonClicked(const TQPoint &)), + this, TQ_SLOT(slotRightButtonClicked(const TQPoint &))); - connect(this, TQT_SIGNAL(signalSelectionChanged()), - this, TQT_SLOT(slotSelectionChanged())); + connect(this, TQ_SIGNAL(signalSelectionChanged()), + this, TQ_SLOT(slotSelectionChanged())); - connect(this, TQT_SIGNAL(signalShowToolTip(IconItem*)), - this, TQT_SLOT(slotShowToolTip(IconItem*))); + connect(this, TQ_SIGNAL(signalShowToolTip(IconItem*)), + this, TQ_SLOT(slotShowToolTip(IconItem*))); // -- ThemeEngine connections --------------------------------------- - connect(ThemeEngine::instance(), TQT_SIGNAL(signalThemeChanged()), - TQT_SLOT(slotThemeChanged())); + connect(ThemeEngine::instance(), TQ_SIGNAL(signalThemeChanged()), + TQ_SLOT(slotThemeChanged())); // -- Pixmap manager connections ------------------------------------ - connect(d->pixMan, TQT_SIGNAL(signalPixmap(const KURL&)), - TQT_SLOT(slotGotThumbnail(const KURL&))); + connect(d->pixMan, TQ_SIGNAL(signalPixmap(const KURL&)), + TQ_SLOT(slotGotThumbnail(const KURL&))); // -- ImageAttributesWatch connections ------------------------------ ImageAttributesWatch *watch = ImageAttributesWatch::instance(); - connect(watch, TQT_SIGNAL(signalImageTagsChanged(TQ_LLONG)), - this, TQT_SLOT(slotImageAttributesChanged(TQ_LLONG))); + connect(watch, TQ_SIGNAL(signalImageTagsChanged(TQ_LLONG)), + this, TQ_SLOT(slotImageAttributesChanged(TQ_LLONG))); - connect(watch, TQT_SIGNAL(signalImagesChanged(int)), - this, TQT_SLOT(slotAlbumImagesChanged(int))); + connect(watch, TQ_SIGNAL(signalImagesChanged(int)), + this, TQ_SLOT(slotAlbumImagesChanged(int))); - connect(watch, TQT_SIGNAL(signalImageRatingChanged(TQ_LLONG)), - this, TQT_SLOT(slotImageAttributesChanged(TQ_LLONG))); + connect(watch, TQ_SIGNAL(signalImageRatingChanged(TQ_LLONG)), + this, TQ_SLOT(slotImageAttributesChanged(TQ_LLONG))); - connect(watch, TQT_SIGNAL(signalImageDateChanged(TQ_LLONG)), - this, TQT_SLOT(slotImageAttributesChanged(TQ_LLONG))); + connect(watch, TQ_SIGNAL(signalImageDateChanged(TQ_LLONG)), + this, TQ_SLOT(slotImageAttributesChanged(TQ_LLONG))); - connect(watch, TQT_SIGNAL(signalImageCaptionChanged(TQ_LLONG)), - this, TQT_SLOT(slotImageAttributesChanged(TQ_LLONG))); + connect(watch, TQ_SIGNAL(signalImageCaptionChanged(TQ_LLONG)), + this, TQ_SLOT(slotImageAttributesChanged(TQ_LLONG))); } AlbumIconView::~AlbumIconView() @@ -524,7 +524,7 @@ void AlbumIconView::slotRightButtonClicked(const TQPoint& pos) } TQPopupMenu popmenu(this); - TDEAction *paste = KStdAction::paste(this, TQT_SLOT(slotPaste()), 0); + TDEAction *paste = KStdAction::paste(this, TQ_SLOT(slotPaste()), 0); TQMimeSource *data = kapp->clipboard()->data(TQClipboard::Clipboard); if(!data || !TQUriDrag::canDecode(data)) @@ -593,8 +593,8 @@ void AlbumIconView::slotRightButtonClicked(IconItem *item, const TQPoint& pos) if (!man->albumDB()->hasTags(selectedImageIDs)) gotoMenu.setItemEnabled(gotoTagId, false); - connect(gotoTagsPopup, TQT_SIGNAL(signalTagActivated(int)), - this, TQT_SLOT(slotGotoTag(int))); + connect(gotoTagsPopup, TQ_SIGNAL(signalTagActivated(int)), + this, TQ_SLOT(slotGotoTag(int))); if (d->currentAlbum->type() == Album::PHYSICAL ) { @@ -682,8 +682,8 @@ void AlbumIconView::slotRightButtonClicked(IconItem *item, const TQPoint& pos) // -------------------------------------------------------- - TDEAction *copy = KStdAction::copy(this, TQT_SLOT(slotCopy()), 0); - TDEAction *paste = KStdAction::paste(this, TQT_SLOT(slotPaste()), 0); + TDEAction *copy = KStdAction::copy(this, TQ_SLOT(slotCopy()), 0); + TDEAction *paste = KStdAction::paste(this, TQ_SLOT(slotPaste()), 0); TQMimeSource *data = kapp->clipboard()->data(TQClipboard::Clipboard); if(!data || !TQUriDrag::canDecode(data)) { @@ -706,11 +706,11 @@ void AlbumIconView::slotRightButtonClicked(IconItem *item, const TQPoint& pos) TagsPopupMenu* assignTagsPopup = new TagsPopupMenu(selectedImageIDs, 1000, TagsPopupMenu::ASSIGN); TagsPopupMenu* removeTagsPopup = new TagsPopupMenu(selectedImageIDs, 1000, TagsPopupMenu::REMOVE); - connect(assignTagsPopup, TQT_SIGNAL(signalTagActivated(int)), - this, TQT_SLOT(slotAssignTag(int))); + connect(assignTagsPopup, TQ_SIGNAL(signalTagActivated(int)), + this, TQ_SLOT(slotAssignTag(int))); - connect(removeTagsPopup, TQT_SIGNAL(signalTagActivated(int)), - this, TQT_SLOT(slotRemoveTag(int))); + connect(removeTagsPopup, TQ_SIGNAL(signalTagActivated(int)), + this, TQ_SLOT(slotRemoveTag(int))); popmenu.insertItem(i18n("Assign Tag"), assignTagsPopup); @@ -728,8 +728,8 @@ void AlbumIconView::slotRightButtonClicked(IconItem *item, const TQPoint& pos) RatingPopupMenu ratingMenu; - connect(&ratingMenu, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotAssignRating(int))); + connect(&ratingMenu, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotAssignRating(int))); popmenu.insertItem(i18n("Assign Rating"), &ratingMenu); @@ -888,8 +888,8 @@ void AlbumIconView::slotPaste() KURLDrag::decode(data, srcURLs); TDEIO::Job* job = DIO::copy(srcURLs, destURL); - connect(job, TQT_SIGNAL(result(TDEIO::Job*)), - this, TQT_SLOT(slotDIOResult(TDEIO::Job*))); + connect(job, TQ_SIGNAL(result(TDEIO::Job*)), + this, TQ_SLOT(slotDIOResult(TDEIO::Job*))); } else if(d->currentAlbum->type() == Album::TAG && ItemDrag::canDecode(data)) { @@ -982,10 +982,10 @@ void AlbumIconView::slotRename(AlbumIconItem* item) newURL.setFileName(newName + ext); TDEIO::CopyJob* job = DIO::rename(oldURL, newURL); - connect(job, TQT_SIGNAL(result(TDEIO::Job*)), - this, TQT_SLOT(slotDIOResult(TDEIO::Job*))); - connect(job, TQT_SIGNAL(copyingDone(TDEIO::Job *, const KURL &, const KURL &, bool, bool)), - this, TQT_SLOT(slotRenamed(TDEIO::Job*, const KURL &, const KURL&))); + connect(job, TQ_SIGNAL(result(TDEIO::Job*)), + this, TQ_SLOT(slotDIOResult(TDEIO::Job*))); + connect(job, TQ_SIGNAL(copyingDone(TDEIO::Job *, const KURL &, const KURL &, bool, bool)), + this, TQ_SLOT(slotRenamed(TDEIO::Job*, const KURL &, const KURL&))); // The AlbumManager KDirWatch will trigger a DIO::scan. // When this is completed, DIO will call AlbumLister::instance()->refresh(). @@ -1038,8 +1038,8 @@ void AlbumIconView::slotDeleteSelectedItems(bool deletePermanently) // trash does not like non-local URLs, put is not implemented TDEIO::Job* job = DIO::del(useTrash ? urlList : kioUrlList, useTrash); - connect(job, TQT_SIGNAL(result(TDEIO::Job*)), - this, TQT_SLOT(slotDIOResult(TDEIO::Job*))); + connect(job, TQ_SIGNAL(result(TDEIO::Job*)), + this, TQ_SLOT(slotDIOResult(TDEIO::Job*))); // The AlbumManager KDirWatch will trigger a DIO::scan. // When this is completed, DIO will call AlbumLister::instance()->refresh(). @@ -1069,8 +1069,8 @@ void AlbumIconView::slotDeleteSelectedItemsDirectly(bool useTrash) // trash does not like non-local URLs, put is not implemented TDEIO::Job* job = DIO::del(useTrash ? urlList : kioUrlList , useTrash); - connect(job, TQT_SIGNAL(result(TDEIO::Job*)), - this, TQT_SLOT(slotDIOResult(TDEIO::Job*))); + connect(job, TQ_SIGNAL(result(TDEIO::Job*)), + this, TQ_SLOT(slotDIOResult(TDEIO::Job*))); } void AlbumIconView::slotFilesModified() @@ -1156,17 +1156,17 @@ void AlbumIconView::slotDisplayItem(AlbumIconItem *item) imview->disconnect(this); - connect(imview, TQT_SIGNAL(signalFileAdded(const KURL&)), - this, TQT_SLOT(slotFilesModified())); + connect(imview, TQ_SIGNAL(signalFileAdded(const KURL&)), + this, TQ_SLOT(slotFilesModified())); - connect(imview, TQT_SIGNAL(signalFileModified(const KURL&)), - this, TQT_SLOT(slotFilesModified(const KURL&))); + connect(imview, TQ_SIGNAL(signalFileModified(const KURL&)), + this, TQ_SLOT(slotFilesModified(const KURL&))); - connect(imview, TQT_SIGNAL(signalFileDeleted(const KURL&)), - this, TQT_SLOT(slotFilesModified())); + connect(imview, TQ_SIGNAL(signalFileDeleted(const KURL&)), + this, TQ_SLOT(slotFilesModified())); - connect(imview, TQT_SIGNAL(signalURLChanged(const KURL&)), - this, TQT_SLOT(slotImageWindowURLChanged(const KURL &))); + connect(imview, TQ_SIGNAL(signalURLChanged(const KURL&)), + this, TQ_SLOT(slotImageWindowURLChanged(const KURL &))); imview->loadImageInfos(imageInfoList, currentImageInfo, @@ -1207,11 +1207,11 @@ void AlbumIconView::insertToLightTable(const ImageInfoList& list, ImageInfo* cur ltview->disconnect(this); - connect(ltview, TQT_SIGNAL(signalFileDeleted(const KURL&)), - this, TQT_SLOT(slotFilesModified())); + connect(ltview, TQ_SIGNAL(signalFileDeleted(const KURL&)), + this, TQ_SLOT(slotFilesModified())); - connect(this, TQT_SIGNAL(signalItemsUpdated(const KURL::List&)), - ltview, TQT_SLOT(slotItemsUpdated(const KURL::List&))); + connect(this, TQ_SIGNAL(signalItemsUpdated(const KURL::List&)), + ltview, TQ_SLOT(slotItemsUpdated(const KURL::List&))); if (ltview->isHidden()) ltview->show(); @@ -1414,15 +1414,15 @@ void AlbumIconView::contentsDropEvent(TQDropEvent *event) case 10: { TDEIO::Job* job = DIO::move(srcURLs, destURL); - connect(job, TQT_SIGNAL(result(TDEIO::Job*)), - this, TQT_SLOT(slotDIOResult(TDEIO::Job*))); + connect(job, TQ_SIGNAL(result(TDEIO::Job*)), + this, TQ_SLOT(slotDIOResult(TDEIO::Job*))); break; } case 11: { TDEIO::Job* job = DIO::copy(srcURLs, destURL); - connect(job, TQT_SIGNAL(result(TDEIO::Job*)), - this, TQT_SLOT(slotDIOResult(TDEIO::Job*))); + connect(job, TQ_SIGNAL(result(TDEIO::Job*)), + this, TQ_SLOT(slotDIOResult(TDEIO::Job*))); break; } default: @@ -1452,15 +1452,15 @@ void AlbumIconView::contentsDropEvent(TQDropEvent *event) case 10: { TDEIO::Job* job = DIO::move(srcURLs, destURL); - connect(job, TQT_SIGNAL(result(TDEIO::Job*)), - this, TQT_SLOT(slotDIOResult(TDEIO::Job*))); + connect(job, TQ_SIGNAL(result(TDEIO::Job*)), + this, TQ_SLOT(slotDIOResult(TDEIO::Job*))); break; } case 11: { TDEIO::Job* job = DIO::copy(srcURLs, destURL); - connect(job, TQT_SIGNAL(result(TDEIO::Job*)), - this, TQT_SLOT(slotDIOResult(TDEIO::Job*))); + connect(job, TQ_SIGNAL(result(TDEIO::Job*)), + this, TQ_SLOT(slotDIOResult(TDEIO::Job*))); break; } default: diff --git a/digikam/digikam/albumiconviewfilter.cpp b/digikam/digikam/albumiconviewfilter.cpp index 8c5d00fb..85a7c5fd 100644 --- a/digikam/digikam/albumiconviewfilter.cpp +++ b/digikam/digikam/albumiconviewfilter.cpp @@ -93,20 +93,20 @@ AlbumIconViewFilter::AlbumIconViewFilter(TQWidget* parent) setSpacing(KDialog::spacingHint()); setMargin(0); - connect(d->ratingFilter, TQT_SIGNAL(signalRatingFilterChanged(int, AlbumLister::RatingCondition)), - this, TQT_SLOT(slotRatingFilterChanged(int, AlbumLister::RatingCondition))); + connect(d->ratingFilter, TQ_SIGNAL(signalRatingFilterChanged(int, AlbumLister::RatingCondition)), + this, TQ_SLOT(slotRatingFilterChanged(int, AlbumLister::RatingCondition))); - connect(d->mimeFilter, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotMimeTypeFilterChanged(int))); + connect(d->mimeFilter, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotMimeTypeFilterChanged(int))); - connect(d->textFilter, TQT_SIGNAL(signalTextChanged(const TQString&)), - this, TQT_SLOT(slotTextFilterChanged(const TQString&))); + connect(d->textFilter, TQ_SIGNAL(signalTextChanged(const TQString&)), + this, TQ_SLOT(slotTextFilterChanged(const TQString&))); - connect(AlbumLister::instance(), TQT_SIGNAL(signalItemsTextFilterMatch(bool)), - d->textFilter, TQT_SLOT(slotSearchResult(bool))); + connect(AlbumLister::instance(), TQ_SIGNAL(signalItemsTextFilterMatch(bool)), + d->textFilter, TQ_SLOT(slotSearchResult(bool))); - connect(AlbumLister::instance(), TQT_SIGNAL(signalItemsFilterMatch(bool)), - this, TQT_SLOT(slotItemsFilterMatch(bool))); + connect(AlbumLister::instance(), TQ_SIGNAL(signalItemsFilterMatch(bool)), + this, TQ_SLOT(slotItemsFilterMatch(bool))); } AlbumIconViewFilter::~AlbumIconViewFilter() diff --git a/digikam/digikam/albumlister.cpp b/digikam/digikam/albumlister.cpp index f7b2b4e2..63648773 100644 --- a/digikam/digikam/albumlister.cpp +++ b/digikam/digikam/albumlister.cpp @@ -134,8 +134,8 @@ AlbumLister::AlbumLister() d->itemList.setAutoDelete(true); d->filterTimer = new TQTimer(this); - connect(d->filterTimer, TQT_SIGNAL(timeout()), - this, TQT_SLOT(slotFilterItems())); + connect(d->filterTimer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(slotFilterItems())); } AlbumLister::~AlbumLister() @@ -175,11 +175,11 @@ void AlbumLister::openAlbum(Album *album) d->job = new TDEIO::TransferJob(album->kurl(), TDEIO::CMD_SPECIAL, ba, TQByteArray(), false); - connect(d->job, TQT_SIGNAL(result(TDEIO::Job*)), - this, TQT_SLOT(slotResult(TDEIO::Job*))); + connect(d->job, TQ_SIGNAL(result(TDEIO::Job*)), + this, TQ_SLOT(slotResult(TDEIO::Job*))); - connect(d->job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - this, TQT_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); + connect(d->job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + this, TQ_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); } void AlbumLister::refresh() @@ -214,11 +214,11 @@ void AlbumLister::refresh() d->job = new TDEIO::TransferJob(d->currAlbum->kurl(), TDEIO::CMD_SPECIAL, ba, TQByteArray(), false); - connect(d->job, TQT_SIGNAL(result(TDEIO::Job*)), - this, TQT_SLOT(slotResult(TDEIO::Job*))); + connect(d->job, TQ_SIGNAL(result(TDEIO::Job*)), + this, TQ_SLOT(slotResult(TDEIO::Job*))); - connect(d->job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - this, TQT_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); + connect(d->job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + this, TQ_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); } void AlbumLister::setDayFilter(const TQValueList& days) diff --git a/digikam/digikam/albummanager.cpp b/digikam/digikam/albummanager.cpp index 80b477e8..847ce99e 100644 --- a/digikam/digikam/albummanager.cpp +++ b/digikam/digikam/albummanager.cpp @@ -374,8 +374,8 @@ void AlbumManager::startScan() d->changed = false; d->dirWatch = new KDirWatch(this); - connect(d->dirWatch, TQT_SIGNAL(dirty(const TQString&)), - this, TQT_SLOT(slotDirty(const TQString&))); + connect(d->dirWatch, TQ_SIGNAL(dirty(const TQString&)), + this, TQ_SLOT(slotDirty(const TQString&))); KDirWatch::Method m = d->dirWatch->internalMethod(); TQString mName("FAM"); @@ -545,11 +545,11 @@ void AlbumManager::scanPAlbums() ba, TQByteArray(), false); d->albumListJob->addMetaData("folders", "yes"); - connect(d->albumListJob, TQT_SIGNAL(result(TDEIO::Job*)), - this, TQT_SLOT(slotAlbumsJobResult(TDEIO::Job*))); + connect(d->albumListJob, TQ_SIGNAL(result(TDEIO::Job*)), + this, TQ_SLOT(slotAlbumsJobResult(TDEIO::Job*))); - connect(d->albumListJob, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - this, TQT_SLOT(slotAlbumsJobData(TDEIO::Job*, const TQByteArray&))); + connect(d->albumListJob, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + this, TQ_SLOT(slotAlbumsJobData(TDEIO::Job*, const TQByteArray&))); } void AlbumManager::scanTAlbums() @@ -694,11 +694,11 @@ void AlbumManager::scanTAlbums() ba, TQByteArray(), false); d->tagListJob->addMetaData("folders", "yes"); - connect(d->tagListJob, TQT_SIGNAL(result(TDEIO::Job*)), - this, TQT_SLOT(slotTagsJobResult(TDEIO::Job*))); + connect(d->tagListJob, TQ_SIGNAL(result(TDEIO::Job*)), + this, TQ_SLOT(slotTagsJobResult(TDEIO::Job*))); - connect(d->tagListJob, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - this, TQT_SLOT(slotTagsJobData(TDEIO::Job*, const TQByteArray&))); + connect(d->tagListJob, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + this, TQ_SLOT(slotTagsJobData(TDEIO::Job*, const TQByteArray&))); } void AlbumManager::scanSAlbums() @@ -764,11 +764,11 @@ void AlbumManager::scanDAlbums() ba, TQByteArray(), false); d->dateListJob->addMetaData("folders", "yes"); - connect(d->dateListJob, TQT_SIGNAL(result(TDEIO::Job*)), - this, TQT_SLOT(slotDatesJobResult(TDEIO::Job*))); + connect(d->dateListJob, TQ_SIGNAL(result(TDEIO::Job*)), + this, TQ_SLOT(slotDatesJobResult(TDEIO::Job*))); - connect(d->dateListJob, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - this, TQT_SLOT(slotDatesJobData(TDEIO::Job*, const TQByteArray&))); + connect(d->dateListJob, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + this, TQ_SLOT(slotDatesJobData(TDEIO::Job*, const TQByteArray&))); } AlbumList AlbumManager::allPAlbums() const diff --git a/digikam/digikam/albumpropsedit.cpp b/digikam/digikam/albumpropsedit.cpp index daadc1ca..703d8c4a 100644 --- a/digikam/digikam/albumpropsedit.cpp +++ b/digikam/digikam/albumpropsedit.cpp @@ -223,17 +223,17 @@ AlbumPropsEdit::AlbumPropsEdit(PAlbum* album, bool create) // -- slots connections ------------------------------------------- - connect(d->titleEdit, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(slotTitleChanged(const TQString&))); + connect(d->titleEdit, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(slotTitleChanged(const TQString&))); - connect(dateLowButton, TQT_SIGNAL( clicked() ), - this, TQT_SLOT( slotDateLowButtonClicked())); + connect(dateLowButton, TQ_SIGNAL( clicked() ), + this, TQ_SLOT( slotDateLowButtonClicked())); - connect(dateAvgButton, TQT_SIGNAL( clicked() ), - this, TQT_SLOT( slotDateAverageButtonClicked())); + connect(dateAvgButton, TQ_SIGNAL( clicked() ), + this, TQ_SLOT( slotDateAverageButtonClicked())); - connect(dateHighButton, TQT_SIGNAL( clicked() ), - this, TQT_SLOT( slotDateHighButtonClicked())); + connect(dateHighButton, TQ_SIGNAL( clicked() ), + this, TQ_SLOT( slotDateHighButtonClicked())); adjustSize(); } diff --git a/digikam/digikam/albumthumbnailloader.cpp b/digikam/digikam/albumthumbnailloader.cpp index 4e5c94df..1fe2065b 100644 --- a/digikam/digikam/albumthumbnailloader.cpp +++ b/digikam/digikam/albumthumbnailloader.cpp @@ -110,11 +110,11 @@ AlbumThumbnailLoader::AlbumThumbnailLoader() { d = new AlbumThumbnailLoaderPrivate; - connect(AlbumManager::instance(), TQT_SIGNAL(signalAlbumIconChanged(Album*)), - this, TQT_SLOT(slotIconChanged(Album*))); + connect(AlbumManager::instance(), TQ_SIGNAL(signalAlbumIconChanged(Album*)), + this, TQ_SLOT(slotIconChanged(Album*))); - connect(AlbumManager::instance(), TQT_SIGNAL(signalAlbumDeleted(Album*)), - this, TQT_SLOT(slotIconChanged(Album*))); + connect(AlbumManager::instance(), TQ_SIGNAL(signalAlbumDeleted(Album*)), + this, TQ_SLOT(slotIconChanged(Album*))); } @@ -281,11 +281,11 @@ void AlbumThumbnailLoader::addURL(Album *album, const KURL &url) true, AlbumSettings::instance()->getExifRotate()); connect(d->iconTagThumbJob, - TQT_SIGNAL(signalThumbnail(const KURL&, const TQPixmap&)), - TQT_SLOT(slotGotThumbnailFromIcon(const KURL&, const TQPixmap&))); + TQ_SIGNAL(signalThumbnail(const KURL&, const TQPixmap&)), + TQ_SLOT(slotGotThumbnailFromIcon(const KURL&, const TQPixmap&))); connect(d->iconTagThumbJob, - TQT_SIGNAL(signalFailed(const KURL&)), - TQT_SLOT(slotThumbnailLost(const KURL&))); + TQ_SIGNAL(signalFailed(const KURL&)), + TQ_SLOT(slotThumbnailLost(const KURL&))); } else { @@ -301,11 +301,11 @@ void AlbumThumbnailLoader::addURL(Album *album, const KURL &url) true, AlbumSettings::instance()->getExifRotate()); connect(d->iconAlbumThumbJob, - TQT_SIGNAL(signalThumbnail(const KURL&, const TQPixmap&)), - TQT_SLOT(slotGotThumbnailFromIcon(const KURL&, const TQPixmap&))); + TQ_SIGNAL(signalThumbnail(const KURL&, const TQPixmap&)), + TQ_SLOT(slotGotThumbnailFromIcon(const KURL&, const TQPixmap&))); connect(d->iconAlbumThumbJob, - TQT_SIGNAL(signalFailed(const KURL&)), - TQT_SLOT(slotThumbnailLost(const KURL&))); + TQ_SIGNAL(signalFailed(const KURL&)), + TQ_SLOT(slotThumbnailLost(const KURL&))); } else { diff --git a/digikam/digikam/albumwidgetstack.cpp b/digikam/digikam/albumwidgetstack.cpp index a83df0c0..79b19599 100644 --- a/digikam/digikam/albumwidgetstack.cpp +++ b/digikam/digikam/albumwidgetstack.cpp @@ -85,29 +85,29 @@ AlbumWidgetStack::AlbumWidgetStack(TQWidget *parent) // ----------------------------------------------------------------- - connect(d->imagePreviewView, TQT_SIGNAL(signalNextItem()), - this, TQT_SIGNAL(signalNextItem())); + connect(d->imagePreviewView, TQ_SIGNAL(signalNextItem()), + this, TQ_SIGNAL(signalNextItem())); - connect(d->imagePreviewView, TQT_SIGNAL(signalPrevItem()), - this, TQT_SIGNAL(signalPrevItem())); + connect(d->imagePreviewView, TQ_SIGNAL(signalPrevItem()), + this, TQ_SIGNAL(signalPrevItem())); - connect(d->imagePreviewView, TQT_SIGNAL(signalEditItem()), - this, TQT_SIGNAL(signalEditItem())); + connect(d->imagePreviewView, TQ_SIGNAL(signalEditItem()), + this, TQ_SIGNAL(signalEditItem())); - connect(d->imagePreviewView, TQT_SIGNAL(signalDeleteItem()), - this, TQT_SIGNAL(signalDeleteItem())); + connect(d->imagePreviewView, TQ_SIGNAL(signalDeleteItem()), + this, TQ_SIGNAL(signalDeleteItem())); - connect(d->imagePreviewView, TQT_SIGNAL(signalBack2Album()), - this, TQT_SIGNAL(signalBack2Album())); + connect(d->imagePreviewView, TQ_SIGNAL(signalBack2Album()), + this, TQ_SIGNAL(signalBack2Album())); - connect(d->imagePreviewView, TQT_SIGNAL(signalSlideShow()), - this, TQT_SIGNAL(signalSlideShow())); + connect(d->imagePreviewView, TQ_SIGNAL(signalSlideShow()), + this, TQ_SIGNAL(signalSlideShow())); - connect(d->imagePreviewView, TQT_SIGNAL(signalZoomFactorChanged(double)), - this, TQT_SLOT(slotZoomFactorChanged(double))); + connect(d->imagePreviewView, TQ_SIGNAL(signalZoomFactorChanged(double)), + this, TQ_SLOT(slotZoomFactorChanged(double))); - connect(d->imagePreviewView, TQT_SIGNAL(signalInsert2LightTable()), - this, TQT_SIGNAL(signalInsert2LightTable())); + connect(d->imagePreviewView, TQ_SIGNAL(signalInsert2LightTable()), + this, TQ_SIGNAL(signalInsert2LightTable())); } AlbumWidgetStack::~AlbumWidgetStack() diff --git a/digikam/digikam/datefolderview.cpp b/digikam/digikam/datefolderview.cpp index 8c4bedbf..8e36742e 100644 --- a/digikam/digikam/datefolderview.cpp +++ b/digikam/digikam/datefolderview.cpp @@ -195,23 +195,23 @@ DateFolderView::DateFolderView(TQWidget* parent) d->listview->setResizeMode(TQListView::LastColumn); d->listview->setRootIsDecorated(true); - connect(AlbumManager::instance(), TQT_SIGNAL(signalAlbumAdded(Album*)), - this, TQT_SLOT(slotAlbumAdded(Album*))); + connect(AlbumManager::instance(), TQ_SIGNAL(signalAlbumAdded(Album*)), + this, TQ_SLOT(slotAlbumAdded(Album*))); - connect(AlbumManager::instance(), TQT_SIGNAL(signalAlbumDeleted(Album*)), - this, TQT_SLOT(slotAlbumDeleted(Album*))); + connect(AlbumManager::instance(), TQ_SIGNAL(signalAlbumDeleted(Album*)), + this, TQ_SLOT(slotAlbumDeleted(Album*))); - connect(AlbumManager::instance(), TQT_SIGNAL(signalAllDAlbumsLoaded()), - this, TQT_SLOT(slotAllDAlbumsLoaded())); + connect(AlbumManager::instance(), TQ_SIGNAL(signalAllDAlbumsLoaded()), + this, TQ_SLOT(slotAllDAlbumsLoaded())); - connect(AlbumManager::instance(), TQT_SIGNAL(signalAlbumsCleared()), - d->listview, TQT_SLOT(clear())); + connect(AlbumManager::instance(), TQ_SIGNAL(signalAlbumsCleared()), + d->listview, TQ_SLOT(clear())); - connect(AlbumManager::instance(), TQT_SIGNAL(signalDAlbumsDirty(const TQMap&)), - this, TQT_SLOT(slotRefresh(const TQMap&))); + connect(AlbumManager::instance(), TQ_SIGNAL(signalDAlbumsDirty(const TQMap&)), + this, TQ_SLOT(slotRefresh(const TQMap&))); - connect(d->listview, TQT_SIGNAL(selectionChanged()), - this, TQT_SLOT(slotSelectionChanged())); + connect(d->listview, TQ_SIGNAL(selectionChanged()), + this, TQ_SLOT(slotSelectionChanged())); } DateFolderView::~DateFolderView() @@ -238,8 +238,8 @@ void DateFolderView::setActive(bool val) void DateFolderView::slotAllDAlbumsLoaded() { - disconnect(AlbumManager::instance(), TQT_SIGNAL(signalAllDAlbumsLoaded()), - this, TQT_SLOT(slotAllDAlbumsLoaded())); + disconnect(AlbumManager::instance(), TQ_SIGNAL(signalAllDAlbumsLoaded()), + this, TQ_SLOT(slotAllDAlbumsLoaded())); loadViewState(); } diff --git a/digikam/digikam/digikamapp.cpp b/digikam/digikam/digikamapp.cpp index 649424b8..5b12575a 100644 --- a/digikam/digikam/digikamapp.cpp +++ b/digikam/digikam/digikamapp.cpp @@ -138,16 +138,16 @@ DigikamApp::DigikamApp() d->cameraMediaList = new TDEPopupMenu; - connect(d->cameraMediaList, TQT_SIGNAL( aboutToShow() ), - this, TQT_SLOT(slotCameraMediaMenu())); + connect(d->cameraMediaList, TQ_SIGNAL( aboutToShow() ), + this, TQ_SLOT(slotCameraMediaMenu())); d->cameraList = new CameraList(this, locateLocal("appdata", "cameras.xml")); - connect(d->cameraList, TQT_SIGNAL(signalCameraAdded(CameraType *)), - this, TQT_SLOT(slotCameraAdded(CameraType *))); + connect(d->cameraList, TQ_SIGNAL(signalCameraAdded(CameraType *)), + this, TQ_SLOT(slotCameraAdded(CameraType *))); - connect(d->cameraList, TQT_SIGNAL(signalCameraRemoved(CameraType *)), - this, TQT_SLOT(slotCameraRemoved(CameraType *))); + connect(d->cameraList, TQ_SIGNAL(signalCameraRemoved(CameraType *)), + this, TQ_SLOT(slotCameraRemoved(CameraType *))); setupView(); setupStatusBar(); @@ -193,11 +193,11 @@ DigikamApp::DigikamApp() d->dcopIface = new DCOPIface(this, "camera"); - connect(d->dcopIface, TQT_SIGNAL(signalCameraAutoDetect()), - this, TQT_SLOT(slotDcopCameraAutoDetect())); + connect(d->dcopIface, TQ_SIGNAL(signalCameraAutoDetect()), + this, TQ_SLOT(slotDcopCameraAutoDetect())); - connect(d->dcopIface, TQT_SIGNAL(signalDownloadImages( const TQString & )), - this, TQT_SLOT(slotDcopDownloadImages(const TQString &))); + connect(d->dcopIface, TQ_SIGNAL(signalDownloadImages( const TQString & )), + this, TQ_SLOT(slotDcopDownloadImages(const TQString &))); } DigikamApp::~DigikamApp() @@ -329,7 +329,7 @@ void DigikamApp::autoDetect() if(d->splashScreen) d->splashScreen->message(i18n("Auto-detect camera")); - TQTimer::singleShot(0, this, TQT_SLOT(slotCameraAutoDetect())); + TQTimer::singleShot(0, this, TQ_SLOT(slotCameraAutoDetect())); } void DigikamApp::downloadFrom(const TQString &cameraGuiPath) @@ -343,7 +343,7 @@ void DigikamApp::downloadFrom(const TQString &cameraGuiPath) if(d->splashScreen) d->splashScreen->message(i18n("Opening Download Dialog")); - TQTimer::singleShot(0, this, TQT_SLOT(slotDownloadImages())); + TQTimer::singleShot(0, this, TQ_SLOT(slotDownloadImages())); } } @@ -366,14 +366,14 @@ void DigikamApp::setupView() setCentralWidget(d->view); d->view->applySettings(); - connect(d->view, TQT_SIGNAL(signalAlbumSelected(bool)), - this, TQT_SLOT(slotAlbumSelected(bool))); + connect(d->view, TQ_SIGNAL(signalAlbumSelected(bool)), + this, TQ_SLOT(slotAlbumSelected(bool))); - connect(d->view, TQT_SIGNAL(signalTagSelected(bool)), - this, TQT_SLOT(slotTagSelected(bool))); + connect(d->view, TQ_SIGNAL(signalTagSelected(bool)), + this, TQ_SLOT(slotTagSelected(bool))); - connect(d->view, TQT_SIGNAL(signalImageSelected(const TQPtrList&, bool, bool, const KURL::List&)), - this, TQT_SLOT(slotImageSelected(const TQPtrList&, bool, bool, const KURL::List&))); + connect(d->view, TQ_SIGNAL(signalImageSelected(const TQPtrList&, bool, bool, const KURL::List&)), + this, TQ_SLOT(slotImageSelected(const TQPtrList&, bool, bool, const KURL::List&))); } void DigikamApp::setupStatusBar() @@ -403,41 +403,41 @@ void DigikamApp::setupStatusBar() //------------------------------------------------------------------------------ - connect(d->statusZoomBar, TQT_SIGNAL(signalZoomMinusClicked()), - d->view, TQT_SLOT(slotZoomOut())); + connect(d->statusZoomBar, TQ_SIGNAL(signalZoomMinusClicked()), + d->view, TQ_SLOT(slotZoomOut())); - connect(d->statusZoomBar, TQT_SIGNAL(signalZoomPlusClicked()), - d->view, TQT_SLOT(slotZoomIn())); + connect(d->statusZoomBar, TQ_SIGNAL(signalZoomPlusClicked()), + d->view, TQ_SLOT(slotZoomIn())); - connect(d->statusZoomBar, TQT_SIGNAL(signalZoomSliderChanged(int)), - this, TQT_SLOT(slotZoomSliderChanged(int))); + connect(d->statusZoomBar, TQ_SIGNAL(signalZoomSliderChanged(int)), + this, TQ_SLOT(slotZoomSliderChanged(int))); - connect(d->view, TQT_SIGNAL(signalThumbSizeChanged(int)), - this, TQT_SLOT(slotThumbSizeChanged(int))); + connect(d->view, TQ_SIGNAL(signalThumbSizeChanged(int)), + this, TQ_SLOT(slotThumbSizeChanged(int))); - connect(d->view, TQT_SIGNAL(signalZoomChanged(double, int)), - this, TQT_SLOT(slotZoomChanged(double, int))); + connect(d->view, TQ_SIGNAL(signalZoomChanged(double, int)), + this, TQ_SLOT(slotZoomChanged(double, int))); - connect(d->view, TQT_SIGNAL(signalTogglePreview(bool)), - this, TQT_SLOT(slotTogglePreview(bool))); + connect(d->view, TQ_SIGNAL(signalTogglePreview(bool)), + this, TQ_SLOT(slotTogglePreview(bool))); - connect(d->albumIconViewFilter, TQT_SIGNAL(signalResetTagFilters()), - this, TQT_SIGNAL(signalResetTagFilters())); + connect(d->albumIconViewFilter, TQ_SIGNAL(signalResetTagFilters()), + this, TQ_SIGNAL(signalResetTagFilters())); - connect(d->statusNavigateBar, TQT_SIGNAL(signalFirstItem()), - d->view, TQT_SLOT(slotFirstItem())); + connect(d->statusNavigateBar, TQ_SIGNAL(signalFirstItem()), + d->view, TQ_SLOT(slotFirstItem())); - connect(d->statusNavigateBar, TQT_SIGNAL(signalNextItem()), - d->view, TQT_SLOT(slotNextItem())); + connect(d->statusNavigateBar, TQ_SIGNAL(signalNextItem()), + d->view, TQ_SLOT(slotNextItem())); - connect(d->statusNavigateBar, TQT_SIGNAL(signalPrevItem()), - d->view, TQT_SLOT(slotPrevItem())); + connect(d->statusNavigateBar, TQ_SIGNAL(signalPrevItem()), + d->view, TQ_SLOT(slotPrevItem())); - connect(d->statusNavigateBar, TQT_SIGNAL(signalLastItem()), - d->view, TQT_SLOT(slotLastItem())); + connect(d->statusNavigateBar, TQ_SIGNAL(signalLastItem()), + d->view, TQ_SLOT(slotLastItem())); - connect(d->statusProgressBar, TQT_SIGNAL(signalCancelButtonPressed()), - this, TQT_SIGNAL(signalCancelButtonPressed())); + connect(d->statusProgressBar, TQ_SIGNAL(signalCancelButtonPressed()), + this, TQ_SIGNAL(signalCancelButtonPressed())); } void DigikamApp::setupAccelerators() @@ -446,52 +446,52 @@ void DigikamApp::setupAccelerators() d->accelerators->insert("Exit Preview Mode", i18n("Exit Preview"), i18n("Exit preview mode"), - Key_Escape, this, TQT_SIGNAL(signalEscapePressed()), + Key_Escape, this, TQ_SIGNAL(signalEscapePressed()), false, true); d->accelerators->insert("Next Image Key_Space", i18n("Next Image"), i18n("Next Image"), - Key_Space, this, TQT_SIGNAL(signalNextItem()), + Key_Space, this, TQ_SIGNAL(signalNextItem()), false, true); d->accelerators->insert("Previous Image SHIFT+Key_Space", i18n("Previous Image"), i18n("Previous Image"), - SHIFT+Key_Space, this, TQT_SIGNAL(signalPrevItem()), + SHIFT+Key_Space, this, TQ_SIGNAL(signalPrevItem()), false, true); d->accelerators->insert("Previous Image Key_Backspace", i18n("Previous Image"), i18n("Previous Image"), - Key_Backspace, this, TQT_SIGNAL(signalPrevItem()), + Key_Backspace, this, TQ_SIGNAL(signalPrevItem()), false, true); d->accelerators->insert("Next Image Key_Next", i18n("Next Image"), i18n("Next Image"), - Key_Next, this, TQT_SIGNAL(signalNextItem()), + Key_Next, this, TQ_SIGNAL(signalNextItem()), false, true); d->accelerators->insert("Previous Image Key_Prior", i18n("Previous Image"), i18n("Previous Image"), - Key_Prior, this, TQT_SIGNAL(signalPrevItem()), + Key_Prior, this, TQ_SIGNAL(signalPrevItem()), false, true); d->accelerators->insert("First Image Key_Home", i18n("First Image"), i18n("First Image"), - Key_Home, this, TQT_SIGNAL(signalFirstItem()), + Key_Home, this, TQ_SIGNAL(signalFirstItem()), false, true); d->accelerators->insert("Last Image Key_End", i18n("Last Image"), i18n("Last Image"), - Key_End, this, TQT_SIGNAL(signalLastItem()), + Key_End, this, TQ_SIGNAL(signalLastItem()), false, true); d->accelerators->insert("Copy Album Items Selection CTRL+Key_C", i18n("Copy Album Items Selection"), i18n("Copy Album Items Selection"), - CTRL+Key_C, this, TQT_SIGNAL(signalCopyAlbumItemsSelection()), + CTRL+Key_C, this, TQ_SIGNAL(signalCopyAlbumItemsSelection()), false, true); d->accelerators->insert("Paste Album Items Selection CTRL+Key_V", i18n("Paste Album Items Selection"), i18n("Paste Album Items Selection"), - CTRL+Key_V, this, TQT_SIGNAL(signalPasteAlbumItemsSelection()), + CTRL+Key_V, this, TQ_SIGNAL(signalPasteAlbumItemsSelection()), false, true); } @@ -508,11 +508,11 @@ void DigikamApp::setupActions() // ----------------------------------------------------------------- d->themeMenuAction = new TDESelectAction(i18n("&Themes"), 0, actionCollection(), "theme_menu"); - connect(d->themeMenuAction, TQT_SIGNAL(activated(const TQString&)), - this, TQT_SLOT(slotChangeTheme(const TQString&))); + connect(d->themeMenuAction, TQ_SIGNAL(activated(const TQString&)), + this, TQ_SLOT(slotChangeTheme(const TQString&))); - connect(ThemeEngine::instance(), TQT_SIGNAL(signalThemeChanged()), - this, TQT_SLOT(slotThemeChanged())); + connect(ThemeEngine::instance(), TQ_SIGNAL(signalThemeChanged()), + this, TQ_SLOT(slotThemeChanged())); // ----------------------------------------------------------------- @@ -520,37 +520,37 @@ void DigikamApp::setupActions() "back", ALT+Key_Left, d->view, - TQT_SLOT(slotAlbumHistoryBack()), + TQ_SLOT(slotAlbumHistoryBack()), actionCollection(), "album_back"); d->backwardActionMenu->setEnabled(false); - connect(d->backwardActionMenu->popupMenu(), TQT_SIGNAL(aboutToShow()), - this, TQT_SLOT(slotAboutToShowBackwardMenu())); + connect(d->backwardActionMenu->popupMenu(), TQ_SIGNAL(aboutToShow()), + this, TQ_SLOT(slotAboutToShowBackwardMenu())); - connect(d->backwardActionMenu->popupMenu(), TQT_SIGNAL(activated(int)), - d->view, TQT_SLOT(slotAlbumHistoryBack(int))); + connect(d->backwardActionMenu->popupMenu(), TQ_SIGNAL(activated(int)), + d->view, TQ_SLOT(slotAlbumHistoryBack(int))); d->forwardActionMenu = new TDEToolBarPopupAction(i18n("Forward"), "forward", ALT+Key_Right, d->view, - TQT_SLOT(slotAlbumHistoryForward()), + TQ_SLOT(slotAlbumHistoryForward()), actionCollection(), "album_forward"); d->forwardActionMenu->setEnabled(false); - connect(d->forwardActionMenu->popupMenu(), TQT_SIGNAL(aboutToShow()), - this, TQT_SLOT(slotAboutToShowForwardMenu())); + connect(d->forwardActionMenu->popupMenu(), TQ_SIGNAL(aboutToShow()), + this, TQ_SLOT(slotAboutToShowForwardMenu())); - connect(d->forwardActionMenu->popupMenu(), TQT_SIGNAL(activated(int)), - d->view, TQT_SLOT(slotAlbumHistoryForward(int))); + connect(d->forwardActionMenu->popupMenu(), TQ_SIGNAL(activated(int)), + d->view, TQ_SLOT(slotAlbumHistoryForward(int))); d->newAction = new TDEAction(i18n("&New..."), "albumfolder-new", TDEStdAccel::shortcut(TDEStdAccel::New), d->view, - TQT_SLOT(slotNewAlbum()), + TQ_SLOT(slotNewAlbum()), actionCollection(), "album_new"); d->newAction->setWhatsThis(i18n("Creates a new empty Album in the database.")); @@ -561,8 +561,8 @@ void DigikamApp::setupActions() actionCollection(), "album_sort"); - connect(d->albumSortAction, TQT_SIGNAL(activated(int)), - d->view, TQT_SLOT(slotSortAlbums(int))); + connect(d->albumSortAction, TQ_SIGNAL(activated(int)), + d->view, TQ_SLOT(slotSortAlbums(int))); // Use same list order as in albumsettings enum TQStringList sortActionList; @@ -580,8 +580,8 @@ void DigikamApp::setupActions() d->recurseAlbumsAction->setWhatsThis(i18n("Activate this option to recursively show all sub-albums below " "the current album.")); - connect(d->recurseAlbumsAction, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotRecurseAlbums(bool))); + connect(d->recurseAlbumsAction, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotRecurseAlbums(bool))); d->recurseTagsAction = new TDEToggleAction(i18n("Include Tag Sub-Tree"), 0, @@ -592,14 +592,14 @@ void DigikamApp::setupActions() d->recurseTagsAction->setWhatsThis(i18n("Activate this option to show all images marked by the given tag " "and its all its sub-tags.")); - connect(d->recurseTagsAction, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotRecurseTags(bool))); + connect(d->recurseTagsAction, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotRecurseTags(bool))); d->deleteAction = new TDEAction(i18n("Delete"), "edit-delete", 0, d->view, - TQT_SLOT(slotDeleteAlbum()), + TQ_SLOT(slotDeleteAlbum()), actionCollection(), "album_delete"); @@ -607,7 +607,7 @@ void DigikamApp::setupActions() "albumfolder-importimages", CTRL+Key_I, this, - TQT_SLOT(slotAlbumAddImages()), + TQ_SLOT(slotAlbumAddImages()), actionCollection(), "album_addImages"); d->addImagesAction->setWhatsThis(i18n("Adds new items to the current Album.")); @@ -616,7 +616,7 @@ void DigikamApp::setupActions() "albumfolder-importdir", 0, d->view, - TQT_SLOT(slotAlbumImportFolder()), + TQ_SLOT(slotAlbumImportFolder()), actionCollection(), "album_importFolder"); @@ -624,7 +624,7 @@ void DigikamApp::setupActions() "albumfolder-properties", 0, d->view, - TQT_SLOT(slotAlbumPropsEdit()), + TQ_SLOT(slotAlbumPropsEdit()), actionCollection(), "album_propsEdit"); d->propsEditAction->setWhatsThis(i18n("Edit Album Properties and Collection information.")); @@ -633,7 +633,7 @@ void DigikamApp::setupActions() "rebuild", Key_F5, d->view, - TQT_SLOT(slotAlbumRefresh()), + TQ_SLOT(slotAlbumRefresh()), actionCollection(), "album_refresh"); d->refreshAlbumAction->setWhatsThis(i18n("Refresh all album contents")); @@ -642,7 +642,7 @@ void DigikamApp::setupActions() "rebuild", 0, d->view, - TQT_SLOT(slotAlbumSyncPicturesMetadata()), + TQ_SLOT(slotAlbumSyncPicturesMetadata()), actionCollection(), "album_syncmetadata"); d->syncAlbumMetadataAction->setWhatsThis(i18n("Updates all image metadata of the current " @@ -653,22 +653,22 @@ void DigikamApp::setupActions() "konqueror", 0, d->view, - TQT_SLOT(slotAlbumOpenInKonqui()), + TQ_SLOT(slotAlbumOpenInKonqui()), actionCollection(), "album_openinkonqui"); // ----------------------------------------------------------- d->newTagAction = new TDEAction(i18n("New &Tag..."), "tag-new", - 0, d->view, TQT_SLOT(slotNewTag()), + 0, d->view, TQ_SLOT(slotNewTag()), actionCollection(), "tag_new"); d->editTagAction = new TDEAction(i18n("Edit Tag Properties..."), "tag-properties", - 0, d->view, TQT_SLOT(slotEditTag()), + 0, d->view, TQ_SLOT(slotEditTag()), actionCollection(), "tag_edit"); d->deleteTagAction = new TDEAction(i18n("Delete Tag"), "tag-delete", - 0, d->view, TQT_SLOT(slotDeleteTag()), + 0, d->view, TQ_SLOT(slotDeleteTag()), actionCollection(), "tag_delete"); // ----------------------------------------------------------- @@ -677,7 +677,7 @@ void DigikamApp::setupActions() "viewimage", Key_F3, d->view, - TQT_SLOT(slotImagePreview()), + TQ_SLOT(slotImagePreview()), actionCollection(), "image_view"); @@ -685,7 +685,7 @@ void DigikamApp::setupActions() "editimage", Key_F4, d->view, - TQT_SLOT(slotImageEdit()), + TQ_SLOT(slotImageEdit()), actionCollection(), "image_edit"); d->imageViewAction->setWhatsThis(i18n("Open the selected item in the image editor.")); @@ -694,7 +694,7 @@ void DigikamApp::setupActions() "lighttable", CTRL+Key_L, d->view, - TQT_SLOT(slotImageLightTable()), + TQ_SLOT(slotImageLightTable()), actionCollection(), "image_lighttable"); d->imageLightTableAction->setWhatsThis(i18n("Place the selected items on the light table thumbbar.")); @@ -703,7 +703,7 @@ void DigikamApp::setupActions() "lighttableadd", SHIFT+CTRL+Key_L, d->view, - TQT_SLOT(slotImageAddToLightTable()), + TQ_SLOT(slotImageAddToLightTable()), actionCollection(), "image_add_to_lighttable"); d->imageAddLightTableAction->setWhatsThis(i18n("Add selected items to the light table thumbbar.")); @@ -712,7 +712,7 @@ void DigikamApp::setupActions() "pencil", Key_F2, d->view, - TQT_SLOT(slotImageRename()), + TQ_SLOT(slotImageRename()), actionCollection(), "image_rename"); d->imageRenameAction->setWhatsThis(i18n("Change the filename of the currently selected item.")); @@ -722,7 +722,7 @@ void DigikamApp::setupActions() "edittrash", Key_Delete, d->view, - TQT_SLOT(slotImageDelete()), + TQ_SLOT(slotImageDelete()), actionCollection(), "image_delete"); @@ -731,7 +731,7 @@ void DigikamApp::setupActions() "edit-delete", SHIFT+Key_Delete, d->view, - TQT_SLOT(slotImageDeletePermanently()), + TQ_SLOT(slotImageDeletePermanently()), actionCollection(), "image_delete_permanently"); @@ -741,7 +741,7 @@ void DigikamApp::setupActions() "edit-delete", 0, d->view, - TQT_SLOT(slotImageDeletePermanentlyDirectly()), + TQ_SLOT(slotImageDeletePermanentlyDirectly()), actionCollection(), "image_delete_permanently_directly"); @@ -749,7 +749,7 @@ void DigikamApp::setupActions() "edittrash", 0, d->view, - TQT_SLOT(slotImageTrashDirectly()), + TQ_SLOT(slotImageTrashDirectly()), actionCollection(), "image_trash_directly"); @@ -759,8 +759,8 @@ void DigikamApp::setupActions() actionCollection(), "image_sort"); - connect(d->imageSortAction, TQT_SIGNAL(activated(int)), - d->view, TQT_SLOT(slotSortImages(int))); + connect(d->imageSortAction, TQ_SIGNAL(activated(int)), + d->view, TQ_SLOT(slotSortImages(int))); // Use same list order as in albumsettings enum TQStringList sortImagesActionList; @@ -775,8 +775,8 @@ void DigikamApp::setupActions() TQSignalMapper *exifOrientationMapper = new TQSignalMapper( d->view ); - connect(exifOrientationMapper, TQT_SIGNAL(mapped(int) ), - d->view, TQT_SLOT(slotImageExifOrientation(int))); + connect(exifOrientationMapper, TQ_SIGNAL(mapped(int) ), + d->view, TQ_SLOT(slotImageExifOrientation(int))); d->imageExifOrientationActionMenu = new TDEActionMenu(i18n("Adjust Exif orientation tag"), actionCollection(), @@ -841,29 +841,29 @@ void DigikamApp::setupActions() d->imageExifOrientationActionMenu->insert(d->imageSetExifOrientation7Action); d->imageExifOrientationActionMenu->insert(d->imageSetExifOrientation8Action); - connect(d->imageSetExifOrientation1Action, TQT_SIGNAL(activated()), - exifOrientationMapper, TQT_SLOT(map())); + connect(d->imageSetExifOrientation1Action, TQ_SIGNAL(activated()), + exifOrientationMapper, TQ_SLOT(map())); - connect(d->imageSetExifOrientation2Action, TQT_SIGNAL(activated()), - exifOrientationMapper, TQT_SLOT(map())); + connect(d->imageSetExifOrientation2Action, TQ_SIGNAL(activated()), + exifOrientationMapper, TQ_SLOT(map())); - connect(d->imageSetExifOrientation3Action, TQT_SIGNAL(activated()), - exifOrientationMapper, TQT_SLOT(map())); + connect(d->imageSetExifOrientation3Action, TQ_SIGNAL(activated()), + exifOrientationMapper, TQ_SLOT(map())); - connect(d->imageSetExifOrientation4Action, TQT_SIGNAL(activated()), - exifOrientationMapper, TQT_SLOT(map())); + connect(d->imageSetExifOrientation4Action, TQ_SIGNAL(activated()), + exifOrientationMapper, TQ_SLOT(map())); - connect(d->imageSetExifOrientation5Action, TQT_SIGNAL(activated()), - exifOrientationMapper, TQT_SLOT(map())); + connect(d->imageSetExifOrientation5Action, TQ_SIGNAL(activated()), + exifOrientationMapper, TQ_SLOT(map())); - connect(d->imageSetExifOrientation6Action, TQT_SIGNAL(activated()), - exifOrientationMapper, TQT_SLOT(map())); + connect(d->imageSetExifOrientation6Action, TQ_SIGNAL(activated()), + exifOrientationMapper, TQ_SLOT(map())); - connect(d->imageSetExifOrientation7Action, TQT_SIGNAL(activated()), - exifOrientationMapper, TQT_SLOT(map())); + connect(d->imageSetExifOrientation7Action, TQ_SIGNAL(activated()), + exifOrientationMapper, TQ_SLOT(map())); - connect(d->imageSetExifOrientation8Action, TQT_SIGNAL(activated()), - exifOrientationMapper, TQT_SLOT(map())); + connect(d->imageSetExifOrientation8Action, TQ_SIGNAL(activated()), + exifOrientationMapper, TQ_SLOT(map())); exifOrientationMapper->setMapping(d->imageSetExifOrientation1Action, 1); exifOrientationMapper->setMapping(d->imageSetExifOrientation2Action, 2); @@ -880,7 +880,7 @@ void DigikamApp::setupActions() 0, CTRL+Key_A, d->view, - TQT_SLOT(slotSelectAll()), + TQ_SLOT(slotSelectAll()), actionCollection(), "selectAll"); @@ -888,7 +888,7 @@ void DigikamApp::setupActions() 0, CTRL+SHIFT+Key_A, d->view, - TQT_SLOT(slotSelectNone()), + TQ_SLOT(slotSelectNone()), actionCollection(), "selectNone"); @@ -896,17 +896,17 @@ void DigikamApp::setupActions() 0, CTRL+Key_Asterisk, d->view, - TQT_SLOT(slotSelectInvert()), + TQ_SLOT(slotSelectInvert()), actionCollection(), "selectInvert"); // ----------------------------------------------------------- - d->showMenuBarAction = KStdAction::showMenubar(this, TQT_SLOT(slotShowMenuBar()), actionCollection()); + d->showMenuBarAction = KStdAction::showMenubar(this, TQ_SLOT(slotShowMenuBar()), actionCollection()); - KStdAction::keyBindings(this, TQT_SLOT(slotEditKeys()), actionCollection()); - KStdAction::configureToolbars(this, TQT_SLOT(slotConfToolbars()), actionCollection()); - KStdAction::preferences(this, TQT_SLOT(slotSetup()), actionCollection()); + KStdAction::keyBindings(this, TQ_SLOT(slotEditKeys()), actionCollection()); + KStdAction::configureToolbars(this, TQ_SLOT(slotConfToolbars()), actionCollection()); + KStdAction::preferences(this, TQ_SLOT(slotSetup()), actionCollection()); // ----------------------------------------------------------- @@ -914,7 +914,7 @@ void DigikamApp::setupActions() "zoom-in", CTRL+Key_Plus, d->view, - TQT_SLOT(slotZoomIn()), + TQ_SLOT(slotZoomIn()), actionCollection(), "album_zoomin"); @@ -922,7 +922,7 @@ void DigikamApp::setupActions() "zoom-out", CTRL+Key_Minus, d->view, - TQT_SLOT(slotZoomOut()), + TQ_SLOT(slotZoomOut()), actionCollection(), "album_zoomout"); @@ -930,7 +930,7 @@ void DigikamApp::setupActions() "zoom-original", ALT+CTRL+Key_0, // NOTE: Photoshop 7 use ALT+CTRL+0. d->view, - TQT_SLOT(slotZoomTo100Percents()), + TQ_SLOT(slotZoomTo100Percents()), actionCollection(), "album_zoomto100percents"); @@ -938,7 +938,7 @@ void DigikamApp::setupActions() "view_fit_window", CTRL+SHIFT+Key_E, d->view, - TQT_SLOT(slotFitToWindow()), + TQ_SLOT(slotFitToWindow()), actionCollection(), "album_zoomfit2window"); @@ -947,7 +947,7 @@ void DigikamApp::setupActions() "view-fullscreen", CTRL+SHIFT+Key_F, this, - TQT_SLOT(slotToggleFullScreen()), + TQ_SLOT(slotToggleFullScreen()), actionCollection(), "full_screen"); d->fullScreenAction->setWhatsThis(i18n("Switch the window to full screen mode")); @@ -958,26 +958,26 @@ void DigikamApp::setupActions() d->slideShowAction->setDelayed(false); d->slideShowAllAction = new TDEAction(i18n("All"), 0, Key_F9, - d->view, TQT_SLOT(slotSlideShowAll()), + d->view, TQ_SLOT(slotSlideShowAll()), actionCollection(), "slideshow_all"); d->slideShowAction->insert(d->slideShowAllAction); d->slideShowSelectionAction = new TDEAction(i18n("Selection"), 0, ALT+Key_F9, d->view, - TQT_SLOT(slotSlideShowSelection()), + TQ_SLOT(slotSlideShowSelection()), actionCollection(), "slideshow_selected"); d->slideShowAction->insert(d->slideShowSelectionAction); d->slideShowRecursiveAction = new TDEAction(i18n("With All Sub-Albums"), 0, SHIFT+Key_F9, d->view, - TQT_SLOT(slotSlideShowRecursive()), + TQ_SLOT(slotSlideShowRecursive()), actionCollection(), "slideshow_recursive"); d->slideShowAction->insert(d->slideShowRecursiveAction); d->quitAction = KStdAction::quit(this, - TQT_SLOT(slotExit()), + TQ_SLOT(slotExit()), actionCollection(), "app_exit"); @@ -985,7 +985,7 @@ void DigikamApp::setupActions() "kdcraw", 0, this, - TQT_SLOT(slotRawCameraList()), + TQ_SLOT(slotRawCameraList()), actionCollection(), "help_rawcameralist"); @@ -993,12 +993,12 @@ void DigikamApp::setupActions() "kipi", 0, this, - TQT_SLOT(slotShowKipiHelp()), + TQ_SLOT(slotShowKipiHelp()), actionCollection(), "help_kipi"); d->tipAction = KStdAction::tipOfDay(this, - TQT_SLOT(slotShowTip()), + TQ_SLOT(slotShowTip()), actionCollection(), "help_tipofday"); @@ -1006,13 +1006,13 @@ void DigikamApp::setupActions() 0, 0, this, - TQT_SLOT(slotDonateMoney()), + TQ_SLOT(slotDonateMoney()), actionCollection(), "help_donatemoney"); d->contributeAction = new TDEAction(i18n("Contribute..."), 0, 0, - this, TQT_SLOT(slotContribute()), + this, TQ_SLOT(slotContribute()), actionCollection(), "help_contribute"); @@ -1021,50 +1021,50 @@ void DigikamApp::setupActions() // -- Rating actions --------------------------------------------------------------- d->rating0Star = new TDEAction(i18n("Assign Rating \"No Stars\""), CTRL+Key_0, - d->view, TQT_SLOT(slotAssignRatingNoStar()), + d->view, TQ_SLOT(slotAssignRatingNoStar()), actionCollection(), "ratenostar"); d->rating1Star = new TDEAction(i18n("Assign Rating \"One Star\""), CTRL+Key_1, - d->view, TQT_SLOT(slotAssignRatingOneStar()), + d->view, TQ_SLOT(slotAssignRatingOneStar()), actionCollection(), "rateonestar"); d->rating2Star = new TDEAction(i18n("Assign Rating \"Two Stars\""), CTRL+Key_2, - d->view, TQT_SLOT(slotAssignRatingTwoStar()), + d->view, TQ_SLOT(slotAssignRatingTwoStar()), actionCollection(), "ratetwostar"); d->rating3Star = new TDEAction(i18n("Assign Rating \"Three Stars\""), CTRL+Key_3, - d->view, TQT_SLOT(slotAssignRatingThreeStar()), + d->view, TQ_SLOT(slotAssignRatingThreeStar()), actionCollection(), "ratethreestar"); d->rating4Star = new TDEAction(i18n("Assign Rating \"Four Stars\""), CTRL+Key_4, - d->view, TQT_SLOT(slotAssignRatingFourStar()), + d->view, TQ_SLOT(slotAssignRatingFourStar()), actionCollection(), "ratefourstar"); d->rating5Star = new TDEAction(i18n("Assign Rating \"Five Stars\""), CTRL+Key_5, - d->view, TQT_SLOT(slotAssignRatingFiveStar()), + d->view, TQ_SLOT(slotAssignRatingFiveStar()), actionCollection(), "ratefivestar"); // ----------------------------------------------------------- - TDEAction* findAction = KStdAction::find(d->view, TQT_SLOT(slotNewQuickSearch()), + TDEAction* findAction = KStdAction::find(d->view, TQ_SLOT(slotNewQuickSearch()), actionCollection(), "search_quick"); findAction->setText(i18n("Search...")); findAction->setIconSet(BarIcon("filefind")); - TDEAction* advFindAction = KStdAction::find(d->view, TQT_SLOT(slotNewAdvancedSearch()), + TDEAction* advFindAction = KStdAction::find(d->view, TQ_SLOT(slotNewAdvancedSearch()), actionCollection(), "search_advanced"); advFindAction->setText(i18n("Advanced Search...")); advFindAction->setShortcut("Ctrl+Alt+F"); new TDEAction(i18n("Light Table"), "idea", Key_L, - d->view, TQT_SLOT(slotLightTable()), actionCollection(), + d->view, TQ_SLOT(slotLightTable()), actionCollection(), "light_table"); new TDEAction(i18n("Scan for New Images"), "reload_page", 0, - this, TQT_SLOT(slotDatabaseRescan()), actionCollection(), + this, TQ_SLOT(slotDatabaseRescan()), actionCollection(), "database_rescan"); new TDEAction(i18n("Rebuild All Thumbnails..."), "reload_page", 0, - this, TQT_SLOT(slotRebuildAllThumbs()), actionCollection(), + this, TQ_SLOT(slotRebuildAllThumbs()), actionCollection(), "thumbs_rebuild"); new TDEAction(i18n("Update Metadata Database..."), "reload_page", 0, - this, TQT_SLOT(slotSyncAllPicturesMetadata()), actionCollection(), + this, TQ_SLOT(slotSyncAllPicturesMetadata()), actionCollection(), "sync_metadata"); // ----------------------------------------------------------- @@ -1350,7 +1350,7 @@ void DigikamApp::slotExit() if (d->fullScreen) { slotToggleFullScreen(); - TQTimer::singleShot(0, this, TQT_SLOT(close())); + TQTimer::singleShot(0, this, TQ_SLOT(close())); } else close(); @@ -1448,7 +1448,7 @@ void DigikamApp::slotDownloadImages( const TQString& folder) { d->cameraGuiPath = folder; - TQTimer::singleShot(0, this, TQT_SLOT(slotDownloadImages())); + TQTimer::singleShot(0, this, TQ_SLOT(slotDownloadImages())); } } @@ -1483,7 +1483,7 @@ void DigikamApp::slotDownloadImages() "camera-photo", 0, this, - TQT_SLOT(slotDownloadImages()), + TQ_SLOT(slotDownloadImages()), actionCollection(), d->cameraGuiPath.latin1() ); @@ -1496,11 +1496,11 @@ void DigikamApp::slotDownloadImages() "directory browse","Fixed", localUrl, TQDateTime::currentDateTime()); cgui->show(); - connect(cgui, TQT_SIGNAL(signalLastDestination(const KURL&)), - d->view, TQT_SLOT(slotSelectAlbum(const KURL&))); + connect(cgui, TQ_SIGNAL(signalLastDestination(const KURL&)), + d->view, TQ_SLOT(slotSelectAlbum(const KURL&))); - connect(cgui, TQT_SIGNAL(signalAlbumSettingsChanged()), - this, TQT_SLOT(slotSetupChanged())); + connect(cgui, TQ_SIGNAL(signalAlbumSettingsChanged()), + this, TQ_SLOT(slotSetupChanged())); } void DigikamApp::slotCameraConnect() @@ -1527,11 +1527,11 @@ void DigikamApp::slotCameraConnect() cgui->show(); - connect(cgui, TQT_SIGNAL(signalLastDestination(const KURL&)), - d->view, TQT_SLOT(slotSelectAlbum(const KURL&))); + connect(cgui, TQ_SIGNAL(signalLastDestination(const KURL&)), + d->view, TQ_SLOT(slotSelectAlbum(const KURL&))); - connect(cgui, TQT_SIGNAL(signalAlbumSettingsChanged()), - this, TQT_SLOT(slotSetupChanged())); + connect(cgui, TQ_SIGNAL(signalAlbumSettingsChanged()), + this, TQ_SLOT(slotSetupChanged())); } } } @@ -1541,7 +1541,7 @@ void DigikamApp::slotCameraAdded(CameraType *ctype) if (!ctype) return; TDEAction *cAction = new TDEAction(ctype->title(), "camera-photo", 0, - this, TQT_SLOT(slotCameraConnect()), + this, TQ_SLOT(slotCameraConnect()), actionCollection(), ctype->title().utf8()); d->cameraMenuAction->insert(cAction, 0); @@ -1559,8 +1559,8 @@ void DigikamApp::slotCameraMediaMenu() KURL kurl("media:/"); TDEIO::ListJob *job = TDEIO::listDir(kurl, false, false); - connect( job, TQT_SIGNAL(entries(TDEIO::Job*,const TDEIO::UDSEntryList&)), - this, TQT_SLOT(slotCameraMediaMenuEntries(TDEIO::Job*,const TDEIO::UDSEntryList&)) ); + connect( job, TQ_SIGNAL(entries(TDEIO::Job*,const TDEIO::UDSEntryList&)), + this, TQ_SLOT(slotCameraMediaMenuEntries(TDEIO::Job*,const TDEIO::UDSEntryList&)) ); } void DigikamApp::slotCameraMediaMenuEntries( Job *, const UDSEntryList & list ) @@ -1590,7 +1590,7 @@ void DigikamApp::slotCameraMediaMenuEntries( Job *, const UDSEntryList & list ) d->mediaItems[i] = path; - d->cameraMediaList->insertItem(name, this, TQT_SLOT(slotDownloadImagesFromMedia(int)), 0, i); + d->cameraMediaList->insertItem(name, this, TQ_SLOT(slotDownloadImagesFromMedia(int)), 0, i); d->cameraMediaList->setItemParameter(i, i); i++; } @@ -1620,7 +1620,7 @@ void DigikamApp::slotCameraAutoDetect() if (!ctype && retry) { - TQTimer::singleShot(0, this, TQT_SLOT(slotCameraAutoDetect())); + TQTimer::singleShot(0, this, TQ_SLOT(slotCameraAutoDetect())); return; } @@ -1811,8 +1811,8 @@ void DigikamApp::loadPlugins() d->kipiPluginLoader = new KIPI::PluginLoader( ignores, d->kipiInterface ); - connect( d->kipiPluginLoader, TQT_SIGNAL( replug() ), - this, TQT_SLOT( slotKipiPluginPlug() ) ); + connect( d->kipiPluginLoader, TQ_SIGNAL( replug() ), + this, TQ_SLOT( slotKipiPluginPlug() ) ); d->kipiPluginLoader->loadPlugins(); @@ -1925,7 +1925,7 @@ void DigikamApp::loadCameras() d->cameraMenuAction->popupMenu()->insertSeparator(); d->cameraMenuAction->insert(new TDEAction(i18n("Add Camera..."), 0, - this, TQT_SLOT(slotSetupCamera()), + this, TQ_SLOT(slotSetupCamera()), actionCollection(), "camera_add")); } @@ -1981,8 +1981,8 @@ void DigikamApp::slotRebuildAllThumbs() BatchThumbsGenerator *thumbsGenerator = new BatchThumbsGenerator(this); - connect(thumbsGenerator, TQT_SIGNAL(signalRebuildAllThumbsDone()), - this, TQT_SLOT(slotRebuildAllThumbsDone())); + connect(thumbsGenerator, TQ_SIGNAL(signalRebuildAllThumbsDone()), + this, TQ_SLOT(slotRebuildAllThumbsDone())); thumbsGenerator->exec(); } @@ -2001,8 +2001,8 @@ void DigikamApp::slotSyncAllPicturesMetadata() BatchAlbumsSyncMetadata *syncMetadata = new BatchAlbumsSyncMetadata(this); - connect(syncMetadata, TQT_SIGNAL(signalComplete()), - this, TQT_SLOT(slotSyncAllPicturesMetadataDone())); + connect(syncMetadata, TQ_SIGNAL(signalComplete()), + this, TQ_SLOT(slotSyncAllPicturesMetadataDone())); syncMetadata->exec(); } diff --git a/digikam/digikam/digikamview.cpp b/digikam/digikam/digikamview.cpp index 8b89c850..a8fb42fb 100644 --- a/digikam/digikam/digikamview.cpp +++ b/digikam/digikam/digikamview.cpp @@ -271,197 +271,197 @@ void DigikamView::setupConnections() { // -- DigikamApp connections ---------------------------------- - connect(d->parent, TQT_SIGNAL(signalEscapePressed()), - this, TQT_SLOT(slotEscapePreview())); + connect(d->parent, TQ_SIGNAL(signalEscapePressed()), + this, TQ_SLOT(slotEscapePreview())); - connect(d->parent, TQT_SIGNAL(signalEscapePressed()), - d->albumWidgetStack, TQT_SLOT(slotEscapePreview())); + connect(d->parent, TQ_SIGNAL(signalEscapePressed()), + d->albumWidgetStack, TQ_SLOT(slotEscapePreview())); - connect(d->parent, TQT_SIGNAL(signalNextItem()), - this, TQT_SLOT(slotNextItem())); + connect(d->parent, TQ_SIGNAL(signalNextItem()), + this, TQ_SLOT(slotNextItem())); - connect(d->parent, TQT_SIGNAL(signalPrevItem()), - this, TQT_SLOT(slotPrevItem())); + connect(d->parent, TQ_SIGNAL(signalPrevItem()), + this, TQ_SLOT(slotPrevItem())); - connect(d->parent, TQT_SIGNAL(signalFirstItem()), - this, TQT_SLOT(slotFirstItem())); + connect(d->parent, TQ_SIGNAL(signalFirstItem()), + this, TQ_SLOT(slotFirstItem())); - connect(d->parent, TQT_SIGNAL(signalLastItem()), - this, TQT_SLOT(slotLastItem())); + connect(d->parent, TQ_SIGNAL(signalLastItem()), + this, TQ_SLOT(slotLastItem())); - connect(d->parent, TQT_SIGNAL(signalCopyAlbumItemsSelection()), - d->iconView, TQT_SLOT(slotCopy())); + connect(d->parent, TQ_SIGNAL(signalCopyAlbumItemsSelection()), + d->iconView, TQ_SLOT(slotCopy())); - connect(d->parent, TQT_SIGNAL(signalPasteAlbumItemsSelection()), - d->iconView, TQT_SLOT(slotPaste())); + connect(d->parent, TQ_SIGNAL(signalPasteAlbumItemsSelection()), + d->iconView, TQ_SLOT(slotPaste())); - connect(this, TQT_SIGNAL(signalProgressBarMode(int, const TQString&)), - d->parent, TQT_SLOT(slotProgressBarMode(int, const TQString&))); + connect(this, TQ_SIGNAL(signalProgressBarMode(int, const TQString&)), + d->parent, TQ_SLOT(slotProgressBarMode(int, const TQString&))); - connect(this, TQT_SIGNAL(signalProgressValue(int)), - d->parent, TQT_SLOT(slotProgressValue(int))); + connect(this, TQ_SIGNAL(signalProgressValue(int)), + d->parent, TQ_SLOT(slotProgressValue(int))); - connect(d->parent, TQT_SIGNAL(signalCancelButtonPressed()), - this, TQT_SLOT(slotCancelSlideShow())); + connect(d->parent, TQ_SIGNAL(signalCancelButtonPressed()), + this, TQ_SLOT(slotCancelSlideShow())); // -- AlbumManager connections -------------------------------- - connect(d->albumManager, TQT_SIGNAL(signalAlbumCurrentChanged(Album*)), - this, TQT_SLOT(slotAlbumSelected(Album*))); + connect(d->albumManager, TQ_SIGNAL(signalAlbumCurrentChanged(Album*)), + this, TQ_SLOT(slotAlbumSelected(Album*))); - connect(d->albumManager, TQT_SIGNAL(signalAllAlbumsLoaded()), - this, TQT_SLOT(slotAllAlbumsLoaded())); + connect(d->albumManager, TQ_SIGNAL(signalAllAlbumsLoaded()), + this, TQ_SLOT(slotAllAlbumsLoaded())); - connect(d->albumManager, TQT_SIGNAL(signalAlbumItemsSelected(bool) ), - this, TQT_SLOT(slotImageSelected())); + connect(d->albumManager, TQ_SIGNAL(signalAlbumItemsSelected(bool) ), + this, TQ_SLOT(slotImageSelected())); - connect(d->albumManager, TQT_SIGNAL(signalAlbumAdded(Album*)), - this, TQT_SLOT(slotAlbumAdded(Album*))); + connect(d->albumManager, TQ_SIGNAL(signalAlbumAdded(Album*)), + this, TQ_SLOT(slotAlbumAdded(Album*))); - connect(d->albumManager, TQT_SIGNAL(signalAlbumDeleted(Album*)), - this, TQT_SLOT(slotAlbumDeleted(Album*))); + connect(d->albumManager, TQ_SIGNAL(signalAlbumDeleted(Album*)), + this, TQ_SLOT(slotAlbumDeleted(Album*))); - connect(d->albumManager, TQT_SIGNAL(signalAlbumRenamed(Album*)), - this, TQT_SLOT(slotAlbumRenamed(Album*))); + connect(d->albumManager, TQ_SIGNAL(signalAlbumRenamed(Album*)), + this, TQ_SLOT(slotAlbumRenamed(Album*))); - connect(d->albumManager, TQT_SIGNAL(signalAlbumsCleared()), - this, TQT_SLOT(slotAlbumsCleared())); + connect(d->albumManager, TQ_SIGNAL(signalAlbumsCleared()), + this, TQ_SLOT(slotAlbumsCleared())); // -- IconView Connections ------------------------------------- - connect(d->iconView, TQT_SIGNAL(signalItemsUpdated(const KURL::List&)), - d->albumWidgetStack, TQT_SLOT(slotItemsUpdated(const KURL::List&))); + connect(d->iconView, TQ_SIGNAL(signalItemsUpdated(const KURL::List&)), + d->albumWidgetStack, TQ_SLOT(slotItemsUpdated(const KURL::List&))); - connect(d->iconView, TQT_SIGNAL(signalItemsAdded()), - this, TQT_SLOT(slotImageSelected())); + connect(d->iconView, TQ_SIGNAL(signalItemsAdded()), + this, TQ_SLOT(slotImageSelected())); - connect(d->iconView, TQT_SIGNAL(signalItemsAdded()), - this, TQT_SLOT(slotAlbumHighlight())); + connect(d->iconView, TQ_SIGNAL(signalItemsAdded()), + this, TQ_SLOT(slotAlbumHighlight())); - connect(d->iconView, TQT_SIGNAL(signalPreviewItem(AlbumIconItem*)), - this, TQT_SLOT(slotTogglePreviewMode(AlbumIconItem*))); + connect(d->iconView, TQ_SIGNAL(signalPreviewItem(AlbumIconItem*)), + this, TQ_SLOT(slotTogglePreviewMode(AlbumIconItem*))); - //connect(d->iconView, TQT_SIGNAL(signalItemDeleted(AlbumIconItem*)), - // this, TQT_SIGNAL(signalNoCurrentItem())); + //connect(d->iconView, TQ_SIGNAL(signalItemDeleted(AlbumIconItem*)), + // this, TQ_SIGNAL(signalNoCurrentItem())); - connect(d->iconView, TQT_SIGNAL(signalGotoAlbumAndItem(AlbumIconItem *)), - this, TQT_SLOT(slotGotoAlbumAndItem(AlbumIconItem *))); + connect(d->iconView, TQ_SIGNAL(signalGotoAlbumAndItem(AlbumIconItem *)), + this, TQ_SLOT(slotGotoAlbumAndItem(AlbumIconItem *))); - connect(d->iconView, TQT_SIGNAL(signalGotoDateAndItem(AlbumIconItem *)), - this, TQT_SLOT(slotGotoDateAndItem(AlbumIconItem *))); + connect(d->iconView, TQ_SIGNAL(signalGotoDateAndItem(AlbumIconItem *)), + this, TQ_SLOT(slotGotoDateAndItem(AlbumIconItem *))); - connect(d->iconView, TQT_SIGNAL(signalGotoTagAndItem(int)), - this, TQT_SLOT(slotGotoTagAndItem(int))); + connect(d->iconView, TQ_SIGNAL(signalGotoTagAndItem(int)), + this, TQ_SLOT(slotGotoTagAndItem(int))); - connect(d->folderView, TQT_SIGNAL(signalAlbumModified()), - d->iconView, TQT_SLOT(slotAlbumModified())); + connect(d->folderView, TQ_SIGNAL(signalAlbumModified()), + d->iconView, TQ_SLOT(slotAlbumModified())); - connect(d->iconView, TQT_SIGNAL(signalProgressBarMode(int, const TQString&)), - d->parent, TQT_SLOT(slotProgressBarMode(int, const TQString&))); + connect(d->iconView, TQ_SIGNAL(signalProgressBarMode(int, const TQString&)), + d->parent, TQ_SLOT(slotProgressBarMode(int, const TQString&))); - connect(d->iconView, TQT_SIGNAL(signalProgressValue(int)), - d->parent, TQT_SLOT(slotProgressValue(int))); + connect(d->iconView, TQ_SIGNAL(signalProgressValue(int)), + d->parent, TQ_SLOT(slotProgressValue(int))); // -- Sidebar Connections ------------------------------------- - connect(d->leftSideBar, TQT_SIGNAL(signalChangedTab(TQWidget*)), - this, TQT_SLOT(slotLeftSidebarChangedTab(TQWidget*))); + connect(d->leftSideBar, TQ_SIGNAL(signalChangedTab(TQWidget*)), + this, TQ_SLOT(slotLeftSidebarChangedTab(TQWidget*))); - connect(d->rightSideBar, TQT_SIGNAL(signalFirstItem()), - this, TQT_SLOT(slotFirstItem())); + connect(d->rightSideBar, TQ_SIGNAL(signalFirstItem()), + this, TQ_SLOT(slotFirstItem())); - connect(d->rightSideBar, TQT_SIGNAL(signalNextItem()), - this, TQT_SLOT(slotNextItem())); + connect(d->rightSideBar, TQ_SIGNAL(signalNextItem()), + this, TQ_SLOT(slotNextItem())); - connect(d->rightSideBar, TQT_SIGNAL(signalPrevItem()), - this, TQT_SLOT(slotPrevItem())); + connect(d->rightSideBar, TQ_SIGNAL(signalPrevItem()), + this, TQ_SLOT(slotPrevItem())); - connect(d->rightSideBar, TQT_SIGNAL(signalLastItem()), - this, TQT_SLOT(slotLastItem())); + connect(d->rightSideBar, TQ_SIGNAL(signalLastItem()), + this, TQ_SLOT(slotLastItem())); - connect(this, TQT_SIGNAL(signalNoCurrentItem()), - d->rightSideBar, TQT_SLOT(slotNoCurrentItem())); + connect(this, TQ_SIGNAL(signalNoCurrentItem()), + d->rightSideBar, TQ_SLOT(slotNoCurrentItem())); - connect(d->rightSideBar, TQT_SIGNAL(signalProgressBarMode(int, const TQString&)), - d->parent, TQT_SLOT(slotProgressBarMode(int, const TQString&))); + connect(d->rightSideBar, TQ_SIGNAL(signalProgressBarMode(int, const TQString&)), + d->parent, TQ_SLOT(slotProgressBarMode(int, const TQString&))); - connect(d->rightSideBar, TQT_SIGNAL(signalProgressValue(int)), - d->parent, TQT_SLOT(slotProgressValue(int))); + connect(d->rightSideBar, TQ_SIGNAL(signalProgressValue(int)), + d->parent, TQ_SLOT(slotProgressValue(int))); - connect(d->tagFilterView, TQT_SIGNAL(signalProgressBarMode(int, const TQString&)), - d->parent, TQT_SLOT(slotProgressBarMode(int, const TQString&))); + connect(d->tagFilterView, TQ_SIGNAL(signalProgressBarMode(int, const TQString&)), + d->parent, TQ_SLOT(slotProgressBarMode(int, const TQString&))); - connect(d->tagFilterView, TQT_SIGNAL(signalProgressValue(int)), - d->parent, TQT_SLOT(slotProgressValue(int))); + connect(d->tagFilterView, TQ_SIGNAL(signalProgressValue(int)), + d->parent, TQ_SLOT(slotProgressValue(int))); - connect(d->tagFolderView, TQT_SIGNAL(signalProgressBarMode(int, const TQString&)), - d->parent, TQT_SLOT(slotProgressBarMode(int, const TQString&))); + connect(d->tagFolderView, TQ_SIGNAL(signalProgressBarMode(int, const TQString&)), + d->parent, TQ_SLOT(slotProgressBarMode(int, const TQString&))); - connect(d->tagFolderView, TQT_SIGNAL(signalProgressValue(int)), - d->parent, TQT_SLOT(slotProgressValue(int))); + connect(d->tagFolderView, TQ_SIGNAL(signalProgressValue(int)), + d->parent, TQ_SLOT(slotProgressValue(int))); - connect(d->parent, TQT_SIGNAL(signalResetTagFilters()), - d->tagFilterView, TQT_SLOT(slotResetTagFilters())); + connect(d->parent, TQ_SIGNAL(signalResetTagFilters()), + d->tagFilterView, TQ_SLOT(slotResetTagFilters())); // -- Filter Bars Connections --------------------------------- - connect(d->folderSearchBar, TQT_SIGNAL(signalTextChanged(const TQString&)), - d->folderView, TQT_SLOT(slotTextFolderFilterChanged(const TQString&))); + connect(d->folderSearchBar, TQ_SIGNAL(signalTextChanged(const TQString&)), + d->folderView, TQ_SLOT(slotTextFolderFilterChanged(const TQString&))); - connect(d->tagSearchBar, TQT_SIGNAL(signalTextChanged(const TQString&)), - d->tagFolderView, TQT_SLOT(slotTextTagFilterChanged(const TQString&))); + connect(d->tagSearchBar, TQ_SIGNAL(signalTextChanged(const TQString&)), + d->tagFolderView, TQ_SLOT(slotTextTagFilterChanged(const TQString&))); - connect(d->searchSearchBar, TQT_SIGNAL(signalTextChanged(const TQString&)), - d->searchFolderView, TQT_SLOT(slotTextSearchFilterChanged(const TQString&))); + connect(d->searchSearchBar, TQ_SIGNAL(signalTextChanged(const TQString&)), + d->searchFolderView, TQ_SLOT(slotTextSearchFilterChanged(const TQString&))); - connect(d->tagFilterSearchBar, TQT_SIGNAL(signalTextChanged(const TQString&)), - d->tagFilterView, TQT_SLOT(slotTextTagFilterChanged(const TQString&))); + connect(d->tagFilterSearchBar, TQ_SIGNAL(signalTextChanged(const TQString&)), + d->tagFilterView, TQ_SLOT(slotTextTagFilterChanged(const TQString&))); - connect(d->folderView, TQT_SIGNAL(signalTextFolderFilterMatch(bool)), - d->folderSearchBar, TQT_SLOT(slotSearchResult(bool))); + connect(d->folderView, TQ_SIGNAL(signalTextFolderFilterMatch(bool)), + d->folderSearchBar, TQ_SLOT(slotSearchResult(bool))); - connect(d->tagFolderView, TQT_SIGNAL(signalTextTagFilterMatch(bool)), - d->tagSearchBar, TQT_SLOT(slotSearchResult(bool))); + connect(d->tagFolderView, TQ_SIGNAL(signalTextTagFilterMatch(bool)), + d->tagSearchBar, TQ_SLOT(slotSearchResult(bool))); - connect(d->searchFolderView, TQT_SIGNAL(signalTextSearchFilterMatch(bool)), - d->searchSearchBar, TQT_SLOT(slotSearchResult(bool))); + connect(d->searchFolderView, TQ_SIGNAL(signalTextSearchFilterMatch(bool)), + d->searchSearchBar, TQ_SLOT(slotSearchResult(bool))); - connect(d->tagFilterView, TQT_SIGNAL(signalTextTagFilterMatch(bool)), - d->tagFilterSearchBar, TQT_SLOT(slotSearchResult(bool))); + connect(d->tagFilterView, TQ_SIGNAL(signalTextTagFilterMatch(bool)), + d->tagFilterSearchBar, TQ_SLOT(slotSearchResult(bool))); // -- Preview image widget Connections ------------------------ - connect(d->albumWidgetStack, TQT_SIGNAL(signalNextItem()), - this, TQT_SLOT(slotNextItem())); + connect(d->albumWidgetStack, TQ_SIGNAL(signalNextItem()), + this, TQ_SLOT(slotNextItem())); - connect(d->albumWidgetStack, TQT_SIGNAL(signalPrevItem()), - this, TQT_SLOT(slotPrevItem())); + connect(d->albumWidgetStack, TQ_SIGNAL(signalPrevItem()), + this, TQ_SLOT(slotPrevItem())); - connect(d->albumWidgetStack, TQT_SIGNAL(signalEditItem()), - this, TQT_SLOT(slotImageEdit())); + connect(d->albumWidgetStack, TQ_SIGNAL(signalEditItem()), + this, TQ_SLOT(slotImageEdit())); - connect(d->albumWidgetStack, TQT_SIGNAL(signalDeleteItem()), - this, TQT_SLOT(slotImageDelete())); + connect(d->albumWidgetStack, TQ_SIGNAL(signalDeleteItem()), + this, TQ_SLOT(slotImageDelete())); - connect(d->albumWidgetStack, TQT_SIGNAL(signalToggledToPreviewMode(bool)), - this, TQT_SLOT(slotToggledToPreviewMode(bool))); + connect(d->albumWidgetStack, TQ_SIGNAL(signalToggledToPreviewMode(bool)), + this, TQ_SLOT(slotToggledToPreviewMode(bool))); - connect(d->albumWidgetStack, TQT_SIGNAL(signalBack2Album()), - this, TQT_SLOT(slotEscapePreview())); + connect(d->albumWidgetStack, TQ_SIGNAL(signalBack2Album()), + this, TQ_SLOT(slotEscapePreview())); - connect(d->albumWidgetStack, TQT_SIGNAL(signalSlideShow()), - this, TQT_SLOT(slotSlideShowAll())); + connect(d->albumWidgetStack, TQ_SIGNAL(signalSlideShow()), + this, TQ_SLOT(slotSlideShowAll())); - connect(d->albumWidgetStack, TQT_SIGNAL(signalZoomFactorChanged(double)), - this, TQT_SLOT(slotZoomFactorChanged(double))); + connect(d->albumWidgetStack, TQ_SIGNAL(signalZoomFactorChanged(double)), + this, TQ_SLOT(slotZoomFactorChanged(double))); - connect(d->albumWidgetStack, TQT_SIGNAL(signalInsert2LightTable()), - this, TQT_SLOT(slotImageAddToLightTable())); + connect(d->albumWidgetStack, TQ_SIGNAL(signalInsert2LightTable()), + this, TQ_SLOT(slotImageAddToLightTable())); // -- Selection timer --------------- - connect(d->selectionTimer, TQT_SIGNAL(timeout()), - this, TQT_SLOT(slotDispatchImageSelected())); + connect(d->selectionTimer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(slotDispatchImageSelected())); } void DigikamView::loadViewState() @@ -552,8 +552,8 @@ void DigikamView::slotLastItem(void) void DigikamView::slotAllAlbumsLoaded() { - disconnect(d->albumManager, TQT_SIGNAL(signalAllAlbumsLoaded()), - this, TQT_SLOT(slotAllAlbumsLoaded())); + disconnect(d->albumManager, TQ_SIGNAL(signalAllAlbumsLoaded()), + this, TQ_SLOT(slotAllAlbumsLoaded())); loadViewState(); Album *album = d->albumManager->findAlbum(d->initialAlbumID); @@ -1058,8 +1058,8 @@ void DigikamView::setThumbSize(int size) } d->thumbSizeTimer = new TQTimer( this ); - connect(d->thumbSizeTimer, TQT_SIGNAL(timeout()), - this, TQT_SLOT(slotThumbSizeEffect()) ); + connect(d->thumbSizeTimer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(slotThumbSizeEffect()) ); d->thumbSizeTimer->start(300, true); } } @@ -1175,17 +1175,17 @@ void DigikamView::slotAlbumSyncPicturesMetadata() BatchSyncMetadata *syncMetadata = new BatchSyncMetadata(this, album); - connect(syncMetadata, TQT_SIGNAL(signalProgressBarMode(int, const TQString&)), - d->parent, TQT_SLOT(slotProgressBarMode(int, const TQString&))); + connect(syncMetadata, TQ_SIGNAL(signalProgressBarMode(int, const TQString&)), + d->parent, TQ_SLOT(slotProgressBarMode(int, const TQString&))); - connect(syncMetadata, TQT_SIGNAL(signalProgressValue(int)), - d->parent, TQT_SLOT(slotProgressValue(int))); + connect(syncMetadata, TQ_SIGNAL(signalProgressValue(int)), + d->parent, TQ_SLOT(slotProgressValue(int))); - connect(syncMetadata, TQT_SIGNAL(signalComplete()), - this, TQT_SLOT(slotAlbumSyncPicturesMetadataDone())); + connect(syncMetadata, TQ_SIGNAL(signalComplete()), + this, TQ_SLOT(slotAlbumSyncPicturesMetadataDone())); - connect(d->parent, TQT_SIGNAL(signalCancelButtonPressed()), - syncMetadata, TQT_SLOT(slotAbort())); + connect(d->parent, TQ_SIGNAL(signalCancelButtonPressed()), + syncMetadata, TQ_SLOT(slotAbort())); syncMetadata->parseAlbum(); } @@ -1486,8 +1486,8 @@ void DigikamView::slotSlideShowRecursive() } ImageInfoAlbumsJob *job = new ImageInfoAlbumsJob; - connect(job, TQT_SIGNAL(signalCompleted(const ImageInfoList&)), - this, TQT_SLOT(slotItemsInfoFromAlbums(const ImageInfoList&))); + connect(job, TQ_SIGNAL(signalCompleted(const ImageInfoList&)), + this, TQ_SLOT(slotItemsInfoFromAlbums(const ImageInfoList&))); job->allItemsFromAlbums(albumList); } } diff --git a/digikam/digikam/dio.cpp b/digikam/digikam/dio.cpp index 857dc037..f9639fcf 100644 --- a/digikam/digikam/dio.cpp +++ b/digikam/digikam/dio.cpp @@ -244,8 +244,8 @@ bool running() Watch::Watch(TDEIO::Job* job) { m_runCount++; - connect(job, TQT_SIGNAL(result(TDEIO::Job*)), - this, TQT_SLOT(slotDone(TDEIO::Job*))); + connect(job, TQ_SIGNAL(result(TDEIO::Job*)), + this, TQ_SLOT(slotDone(TDEIO::Job*))); } void Watch::slotDone(TDEIO::Job*) diff --git a/digikam/digikam/folderview.cpp b/digikam/digikam/folderview.cpp index ffa5f035..0e2d515d 100644 --- a/digikam/digikam/folderview.cpp +++ b/digikam/digikam/folderview.cpp @@ -83,14 +83,14 @@ FolderView::FolderView(TQWidget *parent, const char *name) d = new FolderViewPriv; - connect(ThemeEngine::instance(), TQT_SIGNAL(signalThemeChanged()), - this, TQT_SLOT(slotThemeChanged())); + connect(ThemeEngine::instance(), TQ_SIGNAL(signalThemeChanged()), + this, TQ_SLOT(slotThemeChanged())); - connect(AlbumManager::instance(), TQT_SIGNAL(signalAllAlbumsLoaded()), - this, TQT_SLOT(slotAllAlbumsLoaded())); + connect(AlbumManager::instance(), TQ_SIGNAL(signalAllAlbumsLoaded()), + this, TQ_SLOT(slotAllAlbumsLoaded())); - connect(AlbumThumbnailLoader::instance(), TQT_SIGNAL(signalReloadThumbnails()), - this, TQT_SLOT(slotIconSizeChanged())); + connect(AlbumThumbnailLoader::instance(), TQ_SIGNAL(signalReloadThumbnails()), + this, TQ_SLOT(slotIconSizeChanged())); setColumnAlignment(0, TQt::AlignLeft|TQt::AlignVCenter); setShowSortIndicator(true); @@ -376,8 +376,8 @@ void FolderView::slotThemeChanged() void FolderView::slotAllAlbumsLoaded() { - disconnect(AlbumManager::instance(), TQT_SIGNAL(signalAllAlbumsLoaded()), - this, TQT_SLOT(slotAllAlbumsLoaded())); + disconnect(AlbumManager::instance(), TQ_SIGNAL(signalAllAlbumsLoaded()), + this, TQ_SLOT(slotAllAlbumsLoaded())); loadViewState(); } diff --git a/digikam/digikam/iconview.cpp b/digikam/digikam/iconview.cpp index 336fc447..2dac3da0 100644 --- a/digikam/digikam/iconview.cpp +++ b/digikam/digikam/iconview.cpp @@ -145,11 +145,11 @@ IconView::IconView(TQWidget* parent, const char* name) d->rearrangeTimer = new TQTimer(this); d->toolTipTimer = new TQTimer(this); - connect(d->rearrangeTimer, TQT_SIGNAL(timeout()), - this, TQT_SLOT(slotRearrange())); + connect(d->rearrangeTimer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(slotRearrange())); - connect(d->toolTipTimer, TQT_SIGNAL(timeout()), - this, TQT_SLOT(slotToolTip())); + connect(d->toolTipTimer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(slotToolTip())); setEnableToolTips(true); } diff --git a/digikam/digikam/imagepreviewview.cpp b/digikam/digikam/imagepreviewview.cpp index 44bf96f1..f636f685 100644 --- a/digikam/digikam/imagepreviewview.cpp +++ b/digikam/digikam/imagepreviewview.cpp @@ -148,23 +148,23 @@ ImagePreviewView::ImagePreviewView(AlbumWidgetStack *parent) // ------------------------------------------------------------ - connect(d->cornerButton, TQT_SIGNAL(pressed()), - this, TQT_SLOT(slotCornerButtonPressed())); + connect(d->cornerButton, TQ_SIGNAL(pressed()), + this, TQ_SLOT(slotCornerButtonPressed())); - connect(this, TQT_SIGNAL(signalShowNextImage()), - this, TQT_SIGNAL(signalNextItem())); + connect(this, TQ_SIGNAL(signalShowNextImage()), + this, TQ_SIGNAL(signalNextItem())); - connect(this, TQT_SIGNAL(signalShowPrevImage()), - this, TQT_SIGNAL(signalPrevItem())); + connect(this, TQ_SIGNAL(signalShowPrevImage()), + this, TQ_SIGNAL(signalPrevItem())); - connect(this, TQT_SIGNAL(signalRightButtonClicked()), - this, TQT_SLOT(slotContextMenu())); + connect(this, TQ_SIGNAL(signalRightButtonClicked()), + this, TQ_SLOT(slotContextMenu())); - connect(this, TQT_SIGNAL(signalLeftButtonClicked()), - this, TQT_SIGNAL(signalBack2Album())); + connect(this, TQ_SIGNAL(signalLeftButtonClicked()), + this, TQ_SIGNAL(signalBack2Album())); - connect(ThemeEngine::instance(), TQT_SIGNAL(signalThemeChanged()), - this, TQT_SLOT(slotThemeChanged())); + connect(ThemeEngine::instance(), TQ_SIGNAL(signalThemeChanged()), + this, TQ_SLOT(slotThemeChanged())); // ------------------------------------------------------------ @@ -229,14 +229,14 @@ void ImagePreviewView::setImagePath(const TQString& path) if (!d->previewThread) { d->previewThread = new PreviewLoadThread(); - connect(d->previewThread, TQT_SIGNAL(signalImageLoaded(const LoadingDescription &, const DImg &)), - this, TQT_SLOT(slotGotImagePreview(const LoadingDescription &, const DImg&))); + connect(d->previewThread, TQ_SIGNAL(signalImageLoaded(const LoadingDescription &, const DImg &)), + this, TQ_SLOT(slotGotImagePreview(const LoadingDescription &, const DImg&))); } if (!d->previewPreloadThread) { d->previewPreloadThread = new PreviewLoadThread(); - connect(d->previewPreloadThread, TQT_SIGNAL(signalImageLoaded(const LoadingDescription &, const DImg &)), - this, TQT_SLOT(slotNextPreload())); + connect(d->previewPreloadThread, TQ_SIGNAL(signalImageLoaded(const LoadingDescription &, const DImg &)), + this, TQ_SLOT(slotNextPreload())); } if (d->loadFullImageSize) @@ -425,11 +425,11 @@ void ImagePreviewView::slotContextMenu() popmenu.insertItem(i18n("Assign Tag"), assignTagsMenu); int i = popmenu.insertItem(i18n("Remove Tag"), removeTagsMenu); - connect(assignTagsMenu, TQT_SIGNAL(signalTagActivated(int)), - this, TQT_SLOT(slotAssignTag(int))); + connect(assignTagsMenu, TQ_SIGNAL(signalTagActivated(int)), + this, TQ_SLOT(slotAssignTag(int))); - connect(removeTagsMenu, TQT_SIGNAL(signalTagActivated(int)), - this, TQT_SLOT(slotRemoveTag(int))); + connect(removeTagsMenu, TQ_SIGNAL(signalTagActivated(int)), + this, TQ_SLOT(slotRemoveTag(int))); AlbumDB* db = AlbumManager::instance()->albumDB(); if (!db->hasTags( idList )) @@ -441,8 +441,8 @@ void ImagePreviewView::slotContextMenu() ratingMenu = new RatingPopupMenu(); - connect(ratingMenu, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotAssignRating(int))); + connect(ratingMenu, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotAssignRating(int))); popmenu.insertItem(i18n("Assign Rating"), ratingMenu); @@ -572,11 +572,11 @@ void ImagePreviewView::slotCornerButtonPressed() pan->setRegionSelection(r); pan->setMouseFocus(); - connect(pan, TQT_SIGNAL(signalSelectionMoved(const TQRect&, bool)), - this, TQT_SLOT(slotPanIconSelectionMoved(const TQRect&, bool))); + connect(pan, TQ_SIGNAL(signalSelectionMoved(const TQRect&, bool)), + this, TQ_SLOT(slotPanIconSelectionMoved(const TQRect&, bool))); - connect(pan, TQT_SIGNAL(signalHiden()), - this, TQT_SLOT(slotPanIconHiden())); + connect(pan, TQ_SIGNAL(signalHiden()), + this, TQ_SLOT(slotPanIconHiden())); TQPoint g = mapToGlobal(viewport()->pos()); g.setX(g.x()+ viewport()->size().width()); diff --git a/digikam/digikam/kdateedit.cpp b/digikam/digikam/kdateedit.cpp index dffda9c6..1cf4ec42 100644 --- a/digikam/digikam/kdateedit.cpp +++ b/digikam/digikam/kdateedit.cpp @@ -89,17 +89,17 @@ KDateEdit::KDateEdit( TQWidget *parent, const char *name ) changeItem( today, 0 ); setMinimumSize( sizeHint() ); - connect( lineEdit(), TQT_SIGNAL( returnPressed() ), - this, TQT_SLOT( lineEnterPressed() ) ); - connect( this, TQT_SIGNAL( textChanged( const TQString& ) ), - TQT_SLOT( slotTextChanged( const TQString& ) ) ); + connect( lineEdit(), TQ_SIGNAL( returnPressed() ), + this, TQ_SLOT( lineEnterPressed() ) ); + connect( this, TQ_SIGNAL( textChanged( const TQString& ) ), + TQ_SLOT( slotTextChanged( const TQString& ) ) ); mPopup = new KDatePickerPopup( KDatePickerPopup::DatePicker | KDatePickerPopup::Words ); mPopup->hide(); mPopup->installEventFilter( this ); - connect( mPopup, TQT_SIGNAL( dateChanged( TQDate ) ), - TQT_SLOT( dateSelected( TQDate ) ) ); + connect( mPopup, TQ_SIGNAL( dateChanged( TQDate ) ), + TQ_SLOT( dateSelected( TQDate ) ) ); // handle keyword entry setupKeywords(); diff --git a/digikam/digikam/kdatepickerpopup.cpp b/digikam/digikam/kdatepickerpopup.cpp index b4716426..b4cb8bb2 100644 --- a/digikam/digikam/kdatepickerpopup.cpp +++ b/digikam/digikam/kdatepickerpopup.cpp @@ -48,11 +48,11 @@ KDatePickerPopup::KDatePickerPopup(int items, const TQDate &date, TQWidget *pare mDatePicker = new KDatePicker( this ); mDatePicker->setCloseButton( false ); - connect( mDatePicker, TQT_SIGNAL( dateEntered( TQDate ) ), - this, TQT_SLOT( slotDateChanged( TQDate ) ) ); + connect( mDatePicker, TQ_SIGNAL( dateEntered( TQDate ) ), + this, TQ_SLOT( slotDateChanged( TQDate ) ) ); - connect( mDatePicker, TQT_SIGNAL( dateSelected( TQDate ) ), - this, TQT_SLOT( slotDateChanged( TQDate ) ) ); + connect( mDatePicker, TQ_SIGNAL( dateSelected( TQDate ) ), + this, TQ_SLOT( slotDateChanged( TQDate ) ) ); mDatePicker->setDate( date ); buildMenu(); @@ -73,19 +73,19 @@ void KDatePickerPopup::buildMenu() if ( mItems & Words ) { - insertItem( i18n("&Today"), this, TQT_SLOT( slotToday() ) ); - insertItem( i18n("Y&esterday"), this, TQT_SLOT( slotYesterday() ) ); - insertItem( i18n("Last &Monday"), this, TQT_SLOT( slotPrevMonday() ) ); - insertItem( i18n("Last &Friday"), this, TQT_SLOT( slotPrevFriday() ) ); - insertItem( i18n("Last &Week"), this, TQT_SLOT( slotPrevWeek() ) ); - insertItem( i18n("Last M&onth"), this, TQT_SLOT( slotPrevMonth() ) ); + insertItem( i18n("&Today"), this, TQ_SLOT( slotToday() ) ); + insertItem( i18n("Y&esterday"), this, TQ_SLOT( slotYesterday() ) ); + insertItem( i18n("Last &Monday"), this, TQ_SLOT( slotPrevMonday() ) ); + insertItem( i18n("Last &Friday"), this, TQ_SLOT( slotPrevFriday() ) ); + insertItem( i18n("Last &Week"), this, TQ_SLOT( slotPrevWeek() ) ); + insertItem( i18n("Last M&onth"), this, TQ_SLOT( slotPrevMonth() ) ); if ( mItems & NoDate ) insertSeparator(); } if ( mItems & NoDate ) - insertItem( i18n("No Date"), this, TQT_SLOT( slotNoDate() ) ); + insertItem( i18n("No Date"), this, TQ_SLOT( slotNoDate() ) ); } KDatePicker *KDatePickerPopup::datePicker() const diff --git a/digikam/digikam/kdatetimeedit.cpp b/digikam/digikam/kdatetimeedit.cpp index fed7cee8..e78c5cac 100644 --- a/digikam/digikam/kdatetimeedit.cpp +++ b/digikam/digikam/kdatetimeedit.cpp @@ -40,10 +40,10 @@ KDateTimeEdit::KDateTimeEdit(TQWidget *parent, const char *name) m_datePopUp = new KDateEdit(this, "datepopup"); m_timePopUp = new TQTimeEdit(TQTime::currentTime(), this); - connect(m_datePopUp, TQT_SIGNAL(dateChanged(const TQDate& )), - TQT_SLOT(slotDateTimeChanged()) ); - connect(m_timePopUp, TQT_SIGNAL(valueChanged(const TQTime& )), - TQT_SLOT(slotDateTimeChanged()) ); + connect(m_datePopUp, TQ_SIGNAL(dateChanged(const TQDate& )), + TQ_SLOT(slotDateTimeChanged()) ); + connect(m_timePopUp, TQ_SIGNAL(valueChanged(const TQTime& )), + TQ_SLOT(slotDateTimeChanged()) ); } KDateTimeEdit::~KDateTimeEdit() diff --git a/digikam/digikam/kipiinterface.cpp b/digikam/digikam/kipiinterface.cpp index 7b30c517..aaf012e3 100644 --- a/digikam/digikam/kipiinterface.cpp +++ b/digikam/digikam/kipiinterface.cpp @@ -544,11 +544,11 @@ DigikamKipiInterface::DigikamKipiInterface( TQObject *parent, const char *name) albumManager_ = AlbumManager::instance(); albumDB_ = albumManager_->albumDB(); - connect( albumManager_, TQT_SIGNAL( signalAlbumItemsSelected( bool ) ), - this, TQT_SLOT( slotSelectionChanged( bool ) ) ); + connect( albumManager_, TQ_SIGNAL( signalAlbumItemsSelected( bool ) ), + this, TQ_SLOT( slotSelectionChanged( bool ) ) ); - connect( albumManager_, TQT_SIGNAL( signalAlbumCurrentChanged(Album*) ), - this, TQT_SLOT( slotCurrentAlbumChanged(Album*) ) ); + connect( albumManager_, TQ_SIGNAL( signalAlbumCurrentChanged(Album*) ), + this, TQ_SLOT( slotCurrentAlbumChanged(Album*) ) ); } DigikamKipiInterface::~DigikamKipiInterface() diff --git a/digikam/digikam/mediaplayerview.cpp b/digikam/digikam/mediaplayerview.cpp index b4bcd1af..97ef26aa 100644 --- a/digikam/digikam/mediaplayerview.cpp +++ b/digikam/digikam/mediaplayerview.cpp @@ -120,8 +120,8 @@ MediaPlayerView::MediaPlayerView(TQWidget *parent) // -------------------------------------------------------------------------- - connect(ThemeEngine::instance(), TQT_SIGNAL(signalThemeChanged()), - this, TQT_SLOT(slotThemeChanged())); + connect(ThemeEngine::instance(), TQ_SIGNAL(signalThemeChanged()), + this, TQ_SLOT(slotThemeChanged())); } MediaPlayerView::~MediaPlayerView() diff --git a/digikam/digikam/monthwidget.cpp b/digikam/digikam/monthwidget.cpp index e6c255f9..665318fd 100644 --- a/digikam/digikam/monthwidget.cpp +++ b/digikam/digikam/monthwidget.cpp @@ -355,11 +355,11 @@ void MonthWidget::setActive(bool val) if (d->active) { - connect(AlbumLister::instance(), TQT_SIGNAL(signalNewItems(const ImageInfoList&)), - this, TQT_SLOT(slotAddItems(const ImageInfoList&))); + connect(AlbumLister::instance(), TQ_SIGNAL(signalNewItems(const ImageInfoList&)), + this, TQ_SLOT(slotAddItems(const ImageInfoList&))); - connect(AlbumLister::instance(), TQT_SIGNAL(signalDeleteItem(ImageInfo*)), - this, TQT_SLOT(slotDeleteItem(ImageInfo*))); + connect(AlbumLister::instance(), TQ_SIGNAL(signalDeleteItem(ImageInfo*)), + this, TQ_SLOT(slotDeleteItem(ImageInfo*))); } else { diff --git a/digikam/digikam/pixmapmanager.cpp b/digikam/digikam/pixmapmanager.cpp index 5ae5072d..3da11b5a 100644 --- a/digikam/digikam/pixmapmanager.cpp +++ b/digikam/digikam/pixmapmanager.cpp @@ -92,8 +92,8 @@ PixmapManager::PixmapManager(AlbumIconView* view) d->thumbCacheDir = TQDir::homeDirPath() + "/.thumbnails/"; d->timer = new TQTimer(this); - connect(d->timer, TQT_SIGNAL(timeout()), - this, TQT_SLOT(slotCompleted())); + connect(d->timer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(slotCompleted())); } PixmapManager::~PixmapManager() @@ -133,14 +133,14 @@ TQPixmap* PixmapManager::find(const KURL& url) { d->thumbJob = new ThumbnailJob(url, d->size, true, AlbumSettings::instance()->getExifRotate()); - connect(d->thumbJob, TQT_SIGNAL(signalThumbnail(const KURL&, const TQPixmap&)), - this, TQT_SLOT(slotGotThumbnail(const KURL&, const TQPixmap&))); + connect(d->thumbJob, TQ_SIGNAL(signalThumbnail(const KURL&, const TQPixmap&)), + this, TQ_SLOT(slotGotThumbnail(const KURL&, const TQPixmap&))); - connect(d->thumbJob, TQT_SIGNAL(signalFailed(const KURL&)), - this, TQT_SLOT(slotFailedThumbnail(const KURL&))); + connect(d->thumbJob, TQ_SIGNAL(signalFailed(const KURL&)), + this, TQ_SLOT(slotFailedThumbnail(const KURL&))); - connect(d->thumbJob, TQT_SIGNAL(signalCompleted()), - this, TQT_SLOT(slotCompleted())); + connect(d->thumbJob, TQ_SIGNAL(signalCompleted()), + this, TQ_SLOT(slotCompleted())); } return 0; diff --git a/digikam/digikam/ratingfilter.cpp b/digikam/digikam/ratingfilter.cpp index fea04682..1cfa0bbf 100644 --- a/digikam/digikam/ratingfilter.cpp +++ b/digikam/digikam/ratingfilter.cpp @@ -82,8 +82,8 @@ RatingFilter::RatingFilter(TQWidget* parent) "set rating filter condition.")); // To dispatch signal from parent widget with filter condition. - connect(this, TQT_SIGNAL(signalRatingChanged(int)), - this, TQT_SLOT(slotRatingChanged())); + connect(this, TQ_SIGNAL(signalRatingChanged(int)), + this, TQ_SLOT(slotRatingChanged())); } RatingFilter::~RatingFilter() diff --git a/digikam/digikam/ratingwidget.cpp b/digikam/digikam/ratingwidget.cpp index f22ecb4d..3371a2c6 100644 --- a/digikam/digikam/ratingwidget.cpp +++ b/digikam/digikam/ratingwidget.cpp @@ -73,8 +73,8 @@ RatingWidget::RatingWidget(TQWidget* parent) slotThemeChanged(); - connect(ThemeEngine::instance(), TQT_SIGNAL(signalThemeChanged()), - this, TQT_SLOT(slotThemeChanged())); + connect(ThemeEngine::instance(), TQ_SIGNAL(signalThemeChanged()), + this, TQ_SLOT(slotThemeChanged())); } RatingWidget::~RatingWidget() diff --git a/digikam/digikam/searchadvanceddialog.cpp b/digikam/digikam/searchadvanceddialog.cpp index b545629b..cb40b87b 100644 --- a/digikam/digikam/searchadvanceddialog.cpp +++ b/digikam/digikam/searchadvanceddialog.cpp @@ -213,23 +213,23 @@ SearchAdvancedDialog::SearchAdvancedDialog(TQWidget* parent, KURL& url) // ---------------------------------------------------------------- - connect(d->addButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotAddRule())); + connect(d->addButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotAddRule())); - connect(d->delButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotDelRules())); + connect(d->delButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotDelRules())); - connect(d->groupButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotGroupRules())); + connect(d->groupButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotGroupRules())); - connect(d->ungroupButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotUnGroupRules())); + connect(d->ungroupButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotUnGroupRules())); - connect(d->timer, TQT_SIGNAL(timeout()), - this, TQT_SLOT(slotTimeOut())); + connect(d->timer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(slotTimeOut())); - connect(d->title, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(slotChangeButtonStates())); + connect(d->title, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(slotChangeButtonStates())); } SearchAdvancedDialog::~SearchAdvancedDialog() @@ -253,11 +253,11 @@ void SearchAdvancedDialog::slotAddRule() SearchAdvancedRule* rule = new SearchAdvancedRule( d->rulesBox, type ); d->baseList.append(rule); - connect( rule, TQT_SIGNAL( signalBaseItemToggled() ), - this, TQT_SLOT( slotChangeButtonStates() ) ); + connect( rule, TQ_SIGNAL( signalBaseItemToggled() ), + this, TQ_SLOT( slotChangeButtonStates() ) ); - connect( rule, TQT_SIGNAL( signalPropertyChanged() ), - this, TQT_SLOT(slotPropertyChanged())); + connect( rule, TQ_SIGNAL( signalPropertyChanged() ), + this, TQ_SLOT(slotPropertyChanged())); slotChangeButtonStates(); slotPropertyChanged(); @@ -373,8 +373,8 @@ void SearchAdvancedDialog::slotGroupRules() d->rulesBox->layout()->add((*it)->widget()); } - connect( group, TQT_SIGNAL( signalBaseItemToggled() ), - this, TQT_SLOT( slotChangeButtonStates() ) ); + connect( group, TQ_SIGNAL( signalBaseItemToggled() ), + this, TQ_SLOT( slotChangeButtonStates() ) ); slotChangeButtonStates(); slotPropertyChanged(); @@ -619,11 +619,11 @@ void SearchAdvancedDialog::fillWidgets( const KURL& url ) SearchAdvancedRule* rule = new SearchAdvancedRule( d->rulesBox, type ); rule->setValues( rulesMap[num] ); - connect( rule, TQT_SIGNAL( signalBaseItemToggled() ), - this, TQT_SLOT( slotChangeButtonStates() ) ); + connect( rule, TQ_SIGNAL( signalBaseItemToggled() ), + this, TQ_SLOT( slotChangeButtonStates() ) ); - connect( rule, TQT_SIGNAL( signalPropertyChanged() ), - this, TQT_SLOT(slotPropertyChanged())); + connect( rule, TQ_SIGNAL( signalPropertyChanged() ), + this, TQ_SLOT(slotPropertyChanged())); if (groupingActive) group->addRule(rule); @@ -643,8 +643,8 @@ void SearchAdvancedDialog::fillWidgets( const KURL& url ) group = new SearchAdvancedGroup(d->rulesBox); d->baseList.append(group); - connect( group, TQT_SIGNAL( signalBaseItemToggled() ), - this, TQT_SLOT( slotChangeButtonStates() ) ); + connect( group, TQ_SIGNAL( signalBaseItemToggled() ), + this, TQ_SLOT( slotChangeButtonStates() ) ); groupingActive = true; } diff --git a/digikam/digikam/searchfolderview.cpp b/digikam/digikam/searchfolderview.cpp index 5fd23e9a..c302d700 100644 --- a/digikam/digikam/searchfolderview.cpp +++ b/digikam/digikam/searchfolderview.cpp @@ -111,23 +111,23 @@ SearchFolderView::SearchFolderView(TQWidget* parent) m_lastAddedItem = 0; - connect(AlbumManager::instance(), TQT_SIGNAL(signalAlbumAdded(Album*)), - this, TQT_SLOT(slotAlbumAdded(Album*))); + connect(AlbumManager::instance(), TQ_SIGNAL(signalAlbumAdded(Album*)), + this, TQ_SLOT(slotAlbumAdded(Album*))); - connect(AlbumManager::instance(), TQT_SIGNAL(signalAlbumDeleted(Album*)), - this, TQT_SLOT(slotAlbumDeleted(Album*))); + connect(AlbumManager::instance(), TQ_SIGNAL(signalAlbumDeleted(Album*)), + this, TQ_SLOT(slotAlbumDeleted(Album*))); - connect(AlbumManager::instance(), TQT_SIGNAL(signalAlbumsCleared()), - this, TQT_SLOT(clear())); + connect(AlbumManager::instance(), TQ_SIGNAL(signalAlbumsCleared()), + this, TQ_SLOT(clear())); - connect(this, TQT_SIGNAL(contextMenuRequested(TQListViewItem*, const TQPoint&, int)), - this, TQT_SLOT(slotContextMenu(TQListViewItem*, const TQPoint&, int))); + connect(this, TQ_SIGNAL(contextMenuRequested(TQListViewItem*, const TQPoint&, int)), + this, TQ_SLOT(slotContextMenu(TQListViewItem*, const TQPoint&, int))); - connect(this, TQT_SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)), - this, TQT_SLOT(slotDoubleClicked(TQListViewItem*, const TQPoint&, int))); + connect(this, TQ_SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)), + this, TQ_SLOT(slotDoubleClicked(TQListViewItem*, const TQPoint&, int))); - connect(this, TQT_SIGNAL(selectionChanged()), - this, TQT_SLOT(slotSelectionChanged())); + connect(this, TQ_SIGNAL(selectionChanged()), + this, TQ_SLOT(slotSelectionChanged())); } SearchFolderView::~SearchFolderView() diff --git a/digikam/digikam/searchquickdialog.cpp b/digikam/digikam/searchquickdialog.cpp index 67ca2a62..9cca5dfc 100644 --- a/digikam/digikam/searchquickdialog.cpp +++ b/digikam/digikam/searchquickdialog.cpp @@ -102,14 +102,14 @@ SearchQuickDialog::SearchQuickDialog(TQWidget* parent, KURL& url) grid->addMultiCellWidget(label2, 2, 2, 0, 1); grid->addMultiCellWidget(d->nameEdit, 2, 2, 2, 2); - connect(d->searchEdit, TQT_SIGNAL(signalTextChanged(const TQString&)), - this, TQT_SLOT(slotSearchChanged(const TQString&))); + connect(d->searchEdit, TQ_SIGNAL(signalTextChanged(const TQString&)), + this, TQ_SLOT(slotSearchChanged(const TQString&))); - connect(d->resultsView, TQT_SIGNAL(signalSearchResultsMatch(bool)), - d->searchEdit, TQT_SLOT(slotSearchResult(bool))); + connect(d->resultsView, TQ_SIGNAL(signalSearchResultsMatch(bool)), + d->searchEdit, TQ_SLOT(slotSearchResult(bool))); - connect(d->timer, TQT_SIGNAL(timeout()), - this, TQT_SLOT(slotTimeOut())); + connect(d->timer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(slotTimeOut())); enableButtonOK(false); resize(configDialogSize("QuickSearch Dialog")); diff --git a/digikam/digikam/searchresultsview.cpp b/digikam/digikam/searchresultsview.cpp index c88f0938..968b14a8 100644 --- a/digikam/digikam/searchresultsview.cpp +++ b/digikam/digikam/searchresultsview.cpp @@ -110,11 +110,11 @@ void SearchResultsView::openURL(const KURL& url) d->listJob = new TDEIO::TransferJob(url, TDEIO::CMD_SPECIAL, ba, TQByteArray(), false); - connect(d->listJob, TQT_SIGNAL(result(TDEIO::Job*)), - this, TQT_SLOT(slotResult(TDEIO::Job*))); + connect(d->listJob, TQ_SIGNAL(result(TDEIO::Job*)), + this, TQ_SLOT(slotResult(TDEIO::Job*))); - connect(d->listJob, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - this, TQT_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); + connect(d->listJob, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + this, TQ_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); } void SearchResultsView::clear() @@ -179,11 +179,11 @@ void SearchResultsView::slotData(TDEIO::Job*, const TQByteArray &data) { d->thumbJob = new ThumbnailJob(ulist, 128, true, true); - connect(d->thumbJob, TQT_SIGNAL(signalThumbnail(const KURL&, const TQPixmap&)), - this, TQT_SLOT(slotGotThumbnail(const KURL&, const TQPixmap&))); + connect(d->thumbJob, TQ_SIGNAL(signalThumbnail(const KURL&, const TQPixmap&)), + this, TQ_SLOT(slotGotThumbnail(const KURL&, const TQPixmap&))); - connect(d->thumbJob, TQT_SIGNAL(signalFailed(const KURL&)), - this, TQT_SLOT(slotFailedThumbnail(const KURL&))); + connect(d->thumbJob, TQ_SIGNAL(signalFailed(const KURL&)), + this, TQ_SLOT(slotFailedThumbnail(const KURL&))); } } diff --git a/digikam/digikam/searchwidgets.cpp b/digikam/digikam/searchwidgets.cpp index 20609d31..c930d80c 100644 --- a/digikam/digikam/searchwidgets.cpp +++ b/digikam/digikam/searchwidgets.cpp @@ -142,8 +142,8 @@ SearchAdvancedRule::SearchAdvancedRule(TQWidget* parent, SearchAdvancedRule::Opt m_label->setSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Minimum ); hline->setSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Minimum ); - connect( m_label, TQT_SIGNAL( signalDoubleClick( TQMouseEvent* ) ), - this, TQT_SLOT( slotLabelDoubleClick() )); + connect( m_label, TQ_SIGNAL( signalDoubleClick( TQMouseEvent* ) ), + this, TQ_SLOT( slotLabelDoubleClick() )); } m_hbox = new TQWidget( m_box ); @@ -176,14 +176,14 @@ SearchAdvancedRule::SearchAdvancedRule(TQWidget* parent, SearchAdvancedRule::Opt m_box->show(); - connect( m_key, TQT_SIGNAL( activated(int) ), - this, TQT_SLOT(slotKeyChanged(int))); - connect( m_key, TQT_SIGNAL( activated(int) ), - this, TQT_SIGNAL( signalPropertyChanged() )); - connect( m_operator, TQT_SIGNAL( activated(int) ), - this, TQT_SIGNAL( signalPropertyChanged() )); - connect( m_check, TQT_SIGNAL( toggled( bool ) ), - this, TQT_SIGNAL( signalBaseItemToggled() )); + connect( m_key, TQ_SIGNAL( activated(int) ), + this, TQ_SLOT(slotKeyChanged(int))); + connect( m_key, TQ_SIGNAL( activated(int) ), + this, TQ_SIGNAL( signalPropertyChanged() )); + connect( m_operator, TQ_SIGNAL( activated(int) ), + this, TQ_SIGNAL( signalPropertyChanged() )); + connect( m_check, TQ_SIGNAL( toggled( bool ) ), + this, TQ_SIGNAL( signalBaseItemToggled() )); } void SearchAdvancedRule::setValues(const KURL& url) @@ -314,8 +314,8 @@ void SearchAdvancedRule::setValueWidget(valueWidgetTypes oldType, valueWidgetTyp m_dateEdit->setSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Minimum ); m_dateEdit->show(); - connect( m_dateEdit, TQT_SIGNAL( dateChanged(const TQDate& ) ), - this, TQT_SIGNAL(signalPropertyChanged())); + connect( m_dateEdit, TQ_SIGNAL( dateChanged(const TQDate& ) ), + this, TQ_SIGNAL(signalPropertyChanged())); } else if (newType == LINEEDIT) { @@ -323,8 +323,8 @@ void SearchAdvancedRule::setValueWidget(valueWidgetTypes oldType, valueWidgetTyp m_lineEdit->setSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Minimum ); m_lineEdit->show(); - connect( m_lineEdit, TQT_SIGNAL ( textChanged(const TQString&) ), - this, TQT_SIGNAL(signalPropertyChanged())); + connect( m_lineEdit, TQ_SIGNAL ( textChanged(const TQString&) ), + this, TQ_SIGNAL(signalPropertyChanged())); } else if (newType == ALBUMS) @@ -364,8 +364,8 @@ void SearchAdvancedRule::setValueWidget(valueWidgetTypes oldType, valueWidgetTyp m_valueCombo->show(); - connect( m_valueCombo, TQT_SIGNAL( activated(int) ), - this, TQT_SIGNAL( signalPropertyChanged() )); + connect( m_valueCombo, TQ_SIGNAL( activated(int) ), + this, TQ_SIGNAL( signalPropertyChanged() )); } else if (newType == TAGS) { @@ -404,16 +404,16 @@ void SearchAdvancedRule::setValueWidget(valueWidgetTypes oldType, valueWidgetTyp m_valueCombo->show(); - connect( m_valueCombo, TQT_SIGNAL( activated(int) ), - this, TQT_SIGNAL( signalPropertyChanged() )); + connect( m_valueCombo, TQ_SIGNAL( activated(int) ), + this, TQ_SIGNAL( signalPropertyChanged() )); } else if (newType == RATING) { m_ratingWidget = new RatingWidget( m_valueBox ); m_ratingWidget->show(); - connect( m_ratingWidget, TQT_SIGNAL( signalRatingChanged(int) ), - this, TQT_SIGNAL( signalPropertyChanged() )); + connect( m_ratingWidget, TQ_SIGNAL( signalRatingChanged(int) ), + this, TQ_SIGNAL( signalPropertyChanged() )); } } @@ -504,8 +504,8 @@ void SearchAdvancedRule::addCheck() m_hboxLayout->addWidget( m_check, 0, TQt::AlignRight ); m_check->show(); - connect( m_check, TQT_SIGNAL( toggled( bool ) ), - this, TQT_SIGNAL( signalBaseItemToggled() )); + connect( m_check, TQ_SIGNAL( toggled( bool ) ), + this, TQ_SIGNAL( signalBaseItemToggled() )); } void SearchAdvancedRule::removeCheck() @@ -524,8 +524,8 @@ SearchAdvancedGroup::SearchAdvancedGroup(TQWidget* parent) m_option = SearchAdvancedRule::NONE; m_box->show(); - connect( m_check, TQT_SIGNAL( toggled( bool ) ), - this, TQT_SIGNAL( signalBaseItemToggled() )); + connect( m_check, TQ_SIGNAL( toggled( bool ) ), + this, TQ_SIGNAL( signalBaseItemToggled() )); } SearchAdvancedGroup::~SearchAdvancedGroup() diff --git a/digikam/digikam/syncjob.cpp b/digikam/digikam/syncjob.cpp index ea046429..b350aabc 100644 --- a/digikam/digikam/syncjob.cpp +++ b/digikam/digikam/syncjob.cpp @@ -105,8 +105,8 @@ bool SyncJob::delPriv(const KURL::List& urls) success_ = true; TDEIO::Job* job = TDEIO::del( urls ); - connect( job, TQT_SIGNAL(result( TDEIO::Job* )), - TQT_SLOT(slotResult( TDEIO::Job*)) ); + connect( job, TQ_SIGNAL(result( TDEIO::Job* )), + TQ_SLOT(slotResult( TDEIO::Job*)) ); enter_loop(); return success_; @@ -123,8 +123,8 @@ bool SyncJob::trashPriv(const KURL::List& urls) } TDEIO::Job* job = TDEIO::move( urls, dest ); - connect( job, TQT_SIGNAL(result( TDEIO::Job* )), - TQT_SLOT(slotResult( TDEIO::Job*)) ); + connect( job, TQ_SIGNAL(result( TDEIO::Job* )), + TQ_SLOT(slotResult( TDEIO::Job*)) ); enter_loop(); return success_; @@ -136,8 +136,8 @@ bool SyncJob::fileMovePriv(const KURL &src, const KURL &dest) TDEIO::FileCopyJob* job = TDEIO::file_move(src, dest, -1, true, false, false); - connect( job, TQT_SIGNAL(result( TDEIO::Job* )), - TQT_SLOT(slotResult( TDEIO::Job*)) ); + connect( job, TQ_SIGNAL(result( TDEIO::Job* )), + TQ_SLOT(slotResult( TDEIO::Job*)) ); enter_loop(); return success_; @@ -186,11 +186,11 @@ TQPixmap SyncJob::getTagThumbnailPriv(TAlbum *album) } else { - connect(loader, TQT_SIGNAL(signalThumbnail(Album *, const TQPixmap&)), - this, TQT_SLOT(slotGotThumbnailFromIcon(Album *, const TQPixmap&))); + connect(loader, TQ_SIGNAL(signalThumbnail(Album *, const TQPixmap&)), + this, TQ_SLOT(slotGotThumbnailFromIcon(Album *, const TQPixmap&))); - connect(loader, TQT_SIGNAL(signalFailed(Album *)), - this, TQT_SLOT(slotLoadThumbnailFailed(Album *))); + connect(loader, TQ_SIGNAL(signalFailed(Album *)), + this, TQ_SLOT(slotLoadThumbnailFailed(Album *))); album_ = album; enter_loop(); @@ -230,13 +230,13 @@ TQPixmap SyncJob::getTagThumbnailPriv(const TQString &name, int size) false, AlbumSettings::instance()->getExifRotate()); connect(job, - TQT_SIGNAL(signalThumbnail(const KURL&, + TQ_SIGNAL(signalThumbnail(const KURL&, const TQPixmap&)), - TQT_SLOT(slotGotThumbnailFromIcon(const KURL&, + TQ_SLOT(slotGotThumbnailFromIcon(const KURL&, const TQPixmap&))); connect(job, - TQT_SIGNAL(signalFailed(const KURL&)), - TQT_SLOT(slotLoadThumbnailFailed())); + TQ_SIGNAL(signalFailed(const KURL&)), + TQ_SLOT(slotLoadThumbnailFailed())); enter_loop(); job->kill(); diff --git a/digikam/digikam/tageditdlg.cpp b/digikam/digikam/tageditdlg.cpp index 956fd2e6..d77a0169 100644 --- a/digikam/digikam/tageditdlg.cpp +++ b/digikam/digikam/tageditdlg.cpp @@ -179,14 +179,14 @@ TagEditDlg::TagEditDlg(TQWidget *parent, TAlbum* album, bool create) // -------------------------------------------------------- - connect(d->iconButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotIconChanged())); + connect(d->iconButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotIconChanged())); - connect(d->resetIconButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotIconResetClicked())); + connect(d->resetIconButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotIconResetClicked())); - connect(d->titleEdit->lineEdit(), TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(slotTitleChanged(const TQString&))); + connect(d->titleEdit->lineEdit(), TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(slotTitleChanged(const TQString&))); // -------------------------------------------------------- diff --git a/digikam/digikam/tagfilterview.cpp b/digikam/digikam/tagfilterview.cpp index 56bc4a20..2bebc2b8 100644 --- a/digikam/digikam/tagfilterview.cpp +++ b/digikam/digikam/tagfilterview.cpp @@ -288,45 +288,45 @@ TagFilterView::TagFilterView(TQWidget* parent) // ------------------------------------------------------------------------ - connect(AlbumManager::instance(), TQT_SIGNAL(signalTAlbumsDirty(const TQMap&)), - this, TQT_SLOT(slotRefresh(const TQMap&))); + connect(AlbumManager::instance(), TQ_SIGNAL(signalTAlbumsDirty(const TQMap&)), + this, TQ_SLOT(slotRefresh(const TQMap&))); - connect(AlbumManager::instance(), TQT_SIGNAL(signalAlbumAdded(Album*)), - this, TQT_SLOT(slotTagAdded(Album*))); + connect(AlbumManager::instance(), TQ_SIGNAL(signalAlbumAdded(Album*)), + this, TQ_SLOT(slotTagAdded(Album*))); - connect(AlbumManager::instance(), TQT_SIGNAL(signalAlbumDeleted(Album*)), - this, TQT_SLOT(slotTagDeleted(Album*))); + connect(AlbumManager::instance(), TQ_SIGNAL(signalAlbumDeleted(Album*)), + this, TQ_SLOT(slotTagDeleted(Album*))); - connect(AlbumManager::instance(), TQT_SIGNAL(signalAlbumRenamed(Album*)), - this, TQT_SLOT(slotTagRenamed(Album*))); + connect(AlbumManager::instance(), TQ_SIGNAL(signalAlbumRenamed(Album*)), + this, TQ_SLOT(slotTagRenamed(Album*))); - connect(AlbumManager::instance(), TQT_SIGNAL(signalAlbumsCleared()), - this, TQT_SLOT(slotClear())); + connect(AlbumManager::instance(), TQ_SIGNAL(signalAlbumsCleared()), + this, TQ_SLOT(slotClear())); - connect(AlbumManager::instance(), TQT_SIGNAL(signalAlbumIconChanged(Album*)), - this, TQT_SLOT(slotAlbumIconChanged(Album*))); + connect(AlbumManager::instance(), TQ_SIGNAL(signalAlbumIconChanged(Album*)), + this, TQ_SLOT(slotAlbumIconChanged(Album*))); - connect(AlbumManager::instance(), TQT_SIGNAL(signalTAlbumMoved(TAlbum*, TAlbum*)), - this, TQT_SLOT(slotTagMoved(TAlbum*, TAlbum*))); + connect(AlbumManager::instance(), TQ_SIGNAL(signalTAlbumMoved(TAlbum*, TAlbum*)), + this, TQ_SLOT(slotTagMoved(TAlbum*, TAlbum*))); // ------------------------------------------------------------------------ AlbumThumbnailLoader *loader = AlbumThumbnailLoader::instance(); - connect(loader, TQT_SIGNAL(signalThumbnail(Album *, const TQPixmap&)), - this, TQT_SLOT(slotGotThumbnailFromIcon(Album *, const TQPixmap&))); + connect(loader, TQ_SIGNAL(signalThumbnail(Album *, const TQPixmap&)), + this, TQ_SLOT(slotGotThumbnailFromIcon(Album *, const TQPixmap&))); - connect(loader, TQT_SIGNAL(signalFailed(Album *)), - this, TQT_SLOT(slotThumbnailLost(Album *))); + connect(loader, TQ_SIGNAL(signalFailed(Album *)), + this, TQ_SLOT(slotThumbnailLost(Album *))); - connect(loader, TQT_SIGNAL(signalReloadThumbnails()), - this, TQT_SLOT(slotReloadThumbnails())); + connect(loader, TQ_SIGNAL(signalReloadThumbnails()), + this, TQ_SLOT(slotReloadThumbnails())); - connect(this, TQT_SIGNAL(contextMenuRequested(TQListViewItem*, const TQPoint&, int)), - this, TQT_SLOT(slotContextMenu(TQListViewItem*, const TQPoint&, int))); + connect(this, TQ_SIGNAL(contextMenuRequested(TQListViewItem*, const TQPoint&, int)), + this, TQ_SLOT(slotContextMenu(TQListViewItem*, const TQPoint&, int))); - connect(d->timer, TQT_SIGNAL(timeout()), - this, TQT_SLOT(slotTimeOut())); + connect(d->timer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(slotTimeOut())); // ------------------------------------------------------------------------ @@ -873,8 +873,8 @@ void TagFilterView::slotContextMenu(TQListViewItem* it, const TQPoint&, int) d->ABCMenu = new TQPopupMenu; - connect(d->ABCMenu, TQT_SIGNAL( aboutToShow() ), - this, TQT_SLOT( slotABCContextMenu() )); + connect(d->ABCMenu, TQ_SIGNAL( aboutToShow() ), + this, TQ_SLOT( slotABCContextMenu() )); TDEPopupMenu popmenu(this); popmenu.insertTitle(SmallIcon("digikam"), i18n("Tag Filters")); diff --git a/digikam/digikam/tagfolderview.cpp b/digikam/digikam/tagfolderview.cpp index c57dcf60..c5d54331 100644 --- a/digikam/digikam/tagfolderview.cpp +++ b/digikam/digikam/tagfolderview.cpp @@ -195,45 +195,45 @@ TagFolderView::TagFolderView(TQWidget *parent) // ------------------------------------------------------------------------ - connect(d->albumMan, TQT_SIGNAL(signalTAlbumsDirty(const TQMap&)), - this, TQT_SLOT(slotRefresh(const TQMap&))); + connect(d->albumMan, TQ_SIGNAL(signalTAlbumsDirty(const TQMap&)), + this, TQ_SLOT(slotRefresh(const TQMap&))); - connect(d->albumMan, TQT_SIGNAL(signalAlbumAdded(Album*)), - this, TQT_SLOT(slotAlbumAdded(Album*))); + connect(d->albumMan, TQ_SIGNAL(signalAlbumAdded(Album*)), + this, TQ_SLOT(slotAlbumAdded(Album*))); - connect(d->albumMan, TQT_SIGNAL(signalAlbumDeleted(Album*)), - this, TQT_SLOT(slotAlbumDeleted(Album*))); + connect(d->albumMan, TQ_SIGNAL(signalAlbumDeleted(Album*)), + this, TQ_SLOT(slotAlbumDeleted(Album*))); - connect(d->albumMan, TQT_SIGNAL(signalAlbumRenamed(Album*)), - this, TQT_SLOT(slotAlbumRenamed(Album*))); + connect(d->albumMan, TQ_SIGNAL(signalAlbumRenamed(Album*)), + this, TQ_SLOT(slotAlbumRenamed(Album*))); - connect(d->albumMan, TQT_SIGNAL(signalAlbumsCleared()), - this, TQT_SLOT(slotAlbumsCleared())); + connect(d->albumMan, TQ_SIGNAL(signalAlbumsCleared()), + this, TQ_SLOT(slotAlbumsCleared())); - connect(d->albumMan, TQT_SIGNAL(signalAlbumIconChanged(Album*)), - this, TQT_SLOT(slotAlbumIconChanged(Album*))); + connect(d->albumMan, TQ_SIGNAL(signalAlbumIconChanged(Album*)), + this, TQ_SLOT(slotAlbumIconChanged(Album*))); - connect(d->albumMan, TQT_SIGNAL(signalTAlbumMoved(TAlbum*, TAlbum*)), - this, TQT_SLOT(slotAlbumMoved(TAlbum*, TAlbum*))); + connect(d->albumMan, TQ_SIGNAL(signalTAlbumMoved(TAlbum*, TAlbum*)), + this, TQ_SLOT(slotAlbumMoved(TAlbum*, TAlbum*))); // ------------------------------------------------------------------------ AlbumThumbnailLoader *loader = AlbumThumbnailLoader::instance(); - connect(loader, TQT_SIGNAL(signalThumbnail(Album *, const TQPixmap&)), - this, TQT_SLOT(slotGotThumbnailFromIcon(Album *, const TQPixmap&))); + connect(loader, TQ_SIGNAL(signalThumbnail(Album *, const TQPixmap&)), + this, TQ_SLOT(slotGotThumbnailFromIcon(Album *, const TQPixmap&))); - connect(loader, TQT_SIGNAL(signalFailed(Album *)), - this, TQT_SLOT(slotThumbnailLost(Album *))); + connect(loader, TQ_SIGNAL(signalFailed(Album *)), + this, TQ_SLOT(slotThumbnailLost(Album *))); - connect(loader, TQT_SIGNAL(signalReloadThumbnails()), - this, TQT_SLOT(slotReloadThumbnails())); + connect(loader, TQ_SIGNAL(signalReloadThumbnails()), + this, TQ_SLOT(slotReloadThumbnails())); - connect(this, TQT_SIGNAL(contextMenuRequested(TQListViewItem*, const TQPoint&, int)), - TQT_SLOT(slotContextMenu(TQListViewItem*, const TQPoint&, int))); + connect(this, TQ_SIGNAL(contextMenuRequested(TQListViewItem*, const TQPoint&, int)), + TQ_SLOT(slotContextMenu(TQListViewItem*, const TQPoint&, int))); - connect(this, TQT_SIGNAL(selectionChanged()), - this, TQT_SLOT(slotSelectionChanged())); + connect(this, TQ_SIGNAL(selectionChanged()), + this, TQ_SLOT(slotSelectionChanged())); } TagFolderView::~TagFolderView() @@ -533,8 +533,8 @@ void TagFolderView::slotContextMenu(TQListViewItem *item, const TQPoint &, int) { d->ABCMenu = new TQPopupMenu; - connect( d->ABCMenu, TQT_SIGNAL( aboutToShow() ), - this, TQT_SLOT( slotABCContextMenu() ) ); + connect( d->ABCMenu, TQ_SIGNAL( aboutToShow() ), + this, TQ_SLOT( slotABCContextMenu() ) ); TagFolderViewItem *tag = dynamic_cast(item); diff --git a/digikam/digikam/tagspopupmenu.cpp b/digikam/digikam/tagspopupmenu.cpp index 646a7699..8b9e4644 100644 --- a/digikam/digikam/tagspopupmenu.cpp +++ b/digikam/digikam/tagspopupmenu.cpp @@ -148,11 +148,11 @@ TagsPopupMenu::TagsPopupMenu(const TQValueList& selectedImageIDs, int TDEIcon::DefaultState, 0, true); - connect(this, TQT_SIGNAL(aboutToShow()), - this, TQT_SLOT(slotAboutToShow())); + connect(this, TQ_SIGNAL(aboutToShow()), + this, TQ_SLOT(slotAboutToShow())); - connect(this, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotActivated(int))); + connect(this, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotActivated(int))); } TagsPopupMenu::~TagsPopupMenu() @@ -175,8 +175,8 @@ TQPopupMenu* TagsPopupMenu::buildSubMenu(int tagid) TQPopupMenu* popup = new TQPopupMenu(this); - connect(popup, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotActivated(int))); + connect(popup, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotActivated(int))); if (d->mode == ASSIGN) { diff --git a/digikam/digikam/timelinefolderview.cpp b/digikam/digikam/timelinefolderview.cpp index 97225f75..0168b8cb 100644 --- a/digikam/digikam/timelinefolderview.cpp +++ b/digikam/digikam/timelinefolderview.cpp @@ -97,23 +97,23 @@ TimeLineFolderView::TimeLineFolderView(TQWidget* parent) setResizeMode(TQListView::LastColumn); setRootIsDecorated(false); - connect(AlbumManager::instance(), TQT_SIGNAL(signalAlbumAdded(Album*)), - this, TQT_SLOT(slotAlbumAdded(Album*))); + connect(AlbumManager::instance(), TQ_SIGNAL(signalAlbumAdded(Album*)), + this, TQ_SLOT(slotAlbumAdded(Album*))); - connect(AlbumManager::instance(), TQT_SIGNAL(signalAlbumDeleted(Album*)), - this, TQT_SLOT(slotAlbumDeleted(Album*))); + connect(AlbumManager::instance(), TQ_SIGNAL(signalAlbumDeleted(Album*)), + this, TQ_SLOT(slotAlbumDeleted(Album*))); - connect(AlbumManager::instance(), TQT_SIGNAL(signalAlbumsCleared()), - this, TQT_SLOT(clear())); + connect(AlbumManager::instance(), TQ_SIGNAL(signalAlbumsCleared()), + this, TQ_SLOT(clear())); - connect(AlbumManager::instance(), TQT_SIGNAL(signalAlbumRenamed(Album*)), - this, TQT_SLOT(slotAlbumRenamed(Album*))); + connect(AlbumManager::instance(), TQ_SIGNAL(signalAlbumRenamed(Album*)), + this, TQ_SLOT(slotAlbumRenamed(Album*))); - connect(this, TQT_SIGNAL(contextMenuRequested(TQListViewItem*, const TQPoint&, int)), - this, TQT_SLOT(slotContextMenu(TQListViewItem*, const TQPoint&, int))); + connect(this, TQ_SIGNAL(contextMenuRequested(TQListViewItem*, const TQPoint&, int)), + this, TQ_SLOT(slotContextMenu(TQListViewItem*, const TQPoint&, int))); - connect(this, TQT_SIGNAL(selectionChanged()), - this, TQT_SLOT(slotSelectionChanged())); + connect(this, TQ_SIGNAL(selectionChanged()), + this, TQ_SLOT(slotSelectionChanged())); } TimeLineFolderView::~TimeLineFolderView() diff --git a/digikam/digikam/timelineview.cpp b/digikam/digikam/timelineview.cpp index 74156bc4..ae8a6bc2 100644 --- a/digikam/digikam/timelineview.cpp +++ b/digikam/digikam/timelineview.cpp @@ -239,56 +239,56 @@ TimeLineView::TimeLineView(TQWidget *parent) // --------------------------------------------------------------- - connect(AlbumManager::instance(), TQT_SIGNAL(signalDatesMapDirty(const TQMap&)), - d->timeLineWidget, TQT_SLOT(slotDatesMap(const TQMap&))); + connect(AlbumManager::instance(), TQ_SIGNAL(signalDatesMapDirty(const TQMap&)), + d->timeLineWidget, TQ_SLOT(slotDatesMap(const TQMap&))); - connect(d->timeLineFolderView, TQT_SIGNAL(signalAlbumSelected(SAlbum*)), - this, TQT_SLOT(slotAlbumSelected(SAlbum*))); + connect(d->timeLineFolderView, TQ_SIGNAL(signalAlbumSelected(SAlbum*)), + this, TQ_SLOT(slotAlbumSelected(SAlbum*))); - connect(d->timeLineFolderView, TQT_SIGNAL(signalRenameAlbum(SAlbum*)), - this, TQT_SLOT(slotRenameAlbum(SAlbum*))); + connect(d->timeLineFolderView, TQ_SIGNAL(signalRenameAlbum(SAlbum*)), + this, TQ_SLOT(slotRenameAlbum(SAlbum*))); - connect(d->timeLineFolderView, TQT_SIGNAL(signalTextSearchFilterMatch(bool)), - d->searchDateBar, TQT_SLOT(slotSearchResult(bool))); + connect(d->timeLineFolderView, TQ_SIGNAL(signalTextSearchFilterMatch(bool)), + d->searchDateBar, TQ_SLOT(slotSearchResult(bool))); - connect(d->searchDateBar, TQT_SIGNAL(signalTextChanged(const TQString&)), - d->timeLineFolderView, TQT_SLOT(slotTextSearchFilterChanged(const TQString&))); + connect(d->searchDateBar, TQ_SIGNAL(signalTextChanged(const TQString&)), + d->timeLineFolderView, TQ_SLOT(slotTextSearchFilterChanged(const TQString&))); - connect(d->timeUnitCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotTimeUnitChanged(int))); + connect(d->timeUnitCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotTimeUnitChanged(int))); - connect(d->scaleBG, TQT_SIGNAL(released(int)), - this, TQT_SLOT(slotScaleChanged(int))); + connect(d->scaleBG, TQ_SIGNAL(released(int)), + this, TQ_SLOT(slotScaleChanged(int))); - connect(d->timeLineWidget, TQT_SIGNAL(signalDateMapChanged()), - this, TQT_SLOT(slotInit())); + connect(d->timeLineWidget, TQ_SIGNAL(signalDateMapChanged()), + this, TQ_SLOT(slotInit())); - connect(d->timeLineWidget, TQT_SIGNAL(signalCursorPositionChanged()), - this, TQT_SLOT(slotCursorPositionChanged())); + connect(d->timeLineWidget, TQ_SIGNAL(signalCursorPositionChanged()), + this, TQ_SLOT(slotCursorPositionChanged())); - connect(d->timeLineWidget, TQT_SIGNAL(signalSelectionChanged()), - this, TQT_SLOT(slotSelectionChanged())); + connect(d->timeLineWidget, TQ_SIGNAL(signalSelectionChanged()), + this, TQ_SLOT(slotSelectionChanged())); - connect(d->timeLineWidget, TQT_SIGNAL(signalRefDateTimeChanged()), - this, TQT_SLOT(slotRefDateTimeChanged())); + connect(d->timeLineWidget, TQ_SIGNAL(signalRefDateTimeChanged()), + this, TQ_SLOT(slotRefDateTimeChanged())); - connect(d->timer, TQT_SIGNAL(timeout()), - this, TQT_SLOT(slotUpdateCurrentDateSearchAlbum())); + connect(d->timer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(slotUpdateCurrentDateSearchAlbum())); - connect(d->resetButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotResetSelection())); + connect(d->resetButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotResetSelection())); - connect(d->saveButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotSaveSelection())); + connect(d->saveButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotSaveSelection())); - connect(d->scrollBar, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotScrollBarValueChanged(int))); + connect(d->scrollBar, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotScrollBarValueChanged(int))); - connect(d->nameEdit, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(slotCheckAboutSelection())); + connect(d->nameEdit, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(slotCheckAboutSelection())); - connect(d->nameEdit, TQT_SIGNAL(returnPressed(const TQString&)), - d->saveButton, TQT_SLOT(animateClick())); + connect(d->nameEdit, TQ_SIGNAL(returnPressed(const TQString&)), + d->saveButton, TQ_SLOT(animateClick())); } TimeLineView::~TimeLineView() @@ -316,11 +316,11 @@ void TimeLineView::slotInit() readConfig(); - disconnect(d->timeLineWidget, TQT_SIGNAL(signalDateMapChanged()), - this, TQT_SLOT(slotInit())); + disconnect(d->timeLineWidget, TQ_SIGNAL(signalDateMapChanged()), + this, TQ_SLOT(slotInit())); - connect(d->timeLineWidget, TQT_SIGNAL(signalDateMapChanged()), - this, TQT_SLOT(slotCursorPositionChanged())); + connect(d->timeLineWidget, TQ_SIGNAL(signalDateMapChanged()), + this, TQ_SLOT(slotCursorPositionChanged())); } void TimeLineView::readConfig() diff --git a/digikam/digikam/timelinewidget.cpp b/digikam/digikam/timelinewidget.cpp index fb195fd8..b9033e41 100644 --- a/digikam/digikam/timelinewidget.cpp +++ b/digikam/digikam/timelinewidget.cpp @@ -124,8 +124,8 @@ TimeLineWidget::TimeLineWidget(TQWidget *parent) setCursorDateTime(ref); setRefDateTime(ref); - connect(ThemeEngine::instance(), TQT_SIGNAL(signalThemeChanged()), - this, TQT_SLOT(slotThemeChanged())); + connect(ThemeEngine::instance(), TQ_SIGNAL(signalThemeChanged()), + this, TQ_SLOT(slotThemeChanged())); } TimeLineWidget::~TimeLineWidget() diff --git a/digikam/digikam/welcomepageview.cpp b/digikam/digikam/welcomepageview.cpp index 1b6c8310..6327c947 100644 --- a/digikam/digikam/welcomepageview.cpp +++ b/digikam/digikam/welcomepageview.cpp @@ -83,8 +83,8 @@ WelcomePageView::WelcomePageView(TQWidget* parent) end(); show(); - connect(browserExtension(), TQT_SIGNAL(openURLRequest(const KURL &, const KParts::URLArgs &)), - this, TQT_SLOT(slotUrlOpen(const KURL &))); + connect(browserExtension(), TQ_SIGNAL(openURLRequest(const KURL &, const KParts::URLArgs &)), + this, TQ_SLOT(slotUrlOpen(const KURL &))); } WelcomePageView::~WelcomePageView() diff --git a/digikam/imageplugins/adjustcurves/adjustcurves.cpp b/digikam/imageplugins/adjustcurves/adjustcurves.cpp index 28af6312..ace9c9b3 100644 --- a/digikam/imageplugins/adjustcurves/adjustcurves.cpp +++ b/digikam/imageplugins/adjustcurves/adjustcurves.cpp @@ -303,38 +303,38 @@ AdjustCurveDialog::AdjustCurveDialog(TQWidget* parent) // ------------------------------------------------------------- - connect(m_curvesWidget, TQT_SIGNAL(signalCurvesChanged()), - this, TQT_SLOT(slotTimer())); + connect(m_curvesWidget, TQ_SIGNAL(signalCurvesChanged()), + this, TQ_SLOT(slotTimer())); - connect(m_previewWidget, TQT_SIGNAL(spotPositionChangedFromOriginal( const Digikam::DColor &, const TQPoint & )), - this, TQT_SLOT(slotSpotColorChanged( const Digikam::DColor & ))); + connect(m_previewWidget, TQ_SIGNAL(spotPositionChangedFromOriginal( const Digikam::DColor &, const TQPoint & )), + this, TQ_SLOT(slotSpotColorChanged( const Digikam::DColor & ))); - connect(m_previewWidget, TQT_SIGNAL(spotPositionChangedFromTarget( const Digikam::DColor &, const TQPoint & )), - this, TQT_SLOT(slotColorSelectedFromTarget( const Digikam::DColor & ))); + connect(m_previewWidget, TQ_SIGNAL(spotPositionChangedFromTarget( const Digikam::DColor &, const TQPoint & )), + this, TQ_SLOT(slotColorSelectedFromTarget( const Digikam::DColor & ))); - connect(m_previewWidget, TQT_SIGNAL(signalResized()), - this, TQT_SLOT(slotEffect())); + connect(m_previewWidget, TQ_SIGNAL(signalResized()), + this, TQ_SLOT(slotEffect())); // ------------------------------------------------------------- // ComboBox slots. - connect(m_channelCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotChannelChanged(int))); + connect(m_channelCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotChannelChanged(int))); - connect(m_scaleBG, TQT_SIGNAL(released(int)), - this, TQT_SLOT(slotScaleChanged(int))); + connect(m_scaleBG, TQ_SIGNAL(released(int)), + this, TQ_SLOT(slotScaleChanged(int))); - connect(m_curveType, TQT_SIGNAL(clicked(int)), - this, TQT_SLOT(slotCurveTypeChanged(int))); + connect(m_curveType, TQ_SIGNAL(clicked(int)), + this, TQ_SLOT(slotCurveTypeChanged(int))); // ------------------------------------------------------------- // Bouttons slots. - connect(m_resetButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotResetCurrentChannel())); + connect(m_resetButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotResetCurrentChannel())); - connect(m_pickerColorButtonGroup, TQT_SIGNAL(released(int)), - this, TQT_SLOT(slotPickerColorButtonActived())); + connect(m_pickerColorButtonGroup, TQ_SIGNAL(released(int)), + this, TQ_SLOT(slotPickerColorButtonActived())); } AdjustCurveDialog::~AdjustCurveDialog() diff --git a/digikam/imageplugins/adjustcurves/adjustcurvestool.cpp b/digikam/imageplugins/adjustcurves/adjustcurvestool.cpp index 2c7862c9..7bfd00f7 100644 --- a/digikam/imageplugins/adjustcurves/adjustcurvestool.cpp +++ b/digikam/imageplugins/adjustcurves/adjustcurvestool.cpp @@ -292,38 +292,38 @@ AdjustCurvesTool::AdjustCurvesTool(TQObject* parent) // ------------------------------------------------------------- - connect(m_curvesWidget, TQT_SIGNAL(signalCurvesChanged()), - this, TQT_SLOT(slotTimer())); + connect(m_curvesWidget, TQ_SIGNAL(signalCurvesChanged()), + this, TQ_SLOT(slotTimer())); - connect(m_previewWidget, TQT_SIGNAL(spotPositionChangedFromOriginal(const Digikam::DColor&, const TQPoint&)), - this, TQT_SLOT(slotSpotColorChanged(const Digikam::DColor&))); + connect(m_previewWidget, TQ_SIGNAL(spotPositionChangedFromOriginal(const Digikam::DColor&, const TQPoint&)), + this, TQ_SLOT(slotSpotColorChanged(const Digikam::DColor&))); - connect(m_previewWidget, TQT_SIGNAL(spotPositionChangedFromTarget(const Digikam::DColor&, const TQPoint&)), - this, TQT_SLOT(slotColorSelectedFromTarget(const Digikam::DColor&))); + connect(m_previewWidget, TQ_SIGNAL(spotPositionChangedFromTarget(const Digikam::DColor&, const TQPoint&)), + this, TQ_SLOT(slotColorSelectedFromTarget(const Digikam::DColor&))); - connect(m_previewWidget, TQT_SIGNAL(signalResized()), - this, TQT_SLOT(slotEffect())); + connect(m_previewWidget, TQ_SIGNAL(signalResized()), + this, TQ_SLOT(slotEffect())); // ------------------------------------------------------------- // ComboBox slots. - connect(m_channelCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotChannelChanged(int))); + connect(m_channelCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotChannelChanged(int))); - connect(m_scaleBG, TQT_SIGNAL(released(int)), - this, TQT_SLOT(slotScaleChanged(int))); + connect(m_scaleBG, TQ_SIGNAL(released(int)), + this, TQ_SLOT(slotScaleChanged(int))); - connect(m_curveType, TQT_SIGNAL(clicked(int)), - this, TQT_SLOT(slotCurveTypeChanged(int))); + connect(m_curveType, TQ_SIGNAL(clicked(int)), + this, TQ_SLOT(slotCurveTypeChanged(int))); // ------------------------------------------------------------- // Buttons slots. - connect(m_resetButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotResetCurrentChannel())); + connect(m_resetButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotResetCurrentChannel())); - connect(m_pickerColorButtonGroup, TQT_SIGNAL(released(int)), - this, TQT_SLOT(slotPickerColorButtonActived())); + connect(m_pickerColorButtonGroup, TQ_SIGNAL(released(int)), + this, TQ_SLOT(slotPickerColorButtonActived())); } AdjustCurvesTool::~AdjustCurvesTool() diff --git a/digikam/imageplugins/adjustcurves/imageplugin_adjustcurves.cpp b/digikam/imageplugins/adjustcurves/imageplugin_adjustcurves.cpp index affae05f..11b6e53f 100644 --- a/digikam/imageplugins/adjustcurves/imageplugin_adjustcurves.cpp +++ b/digikam/imageplugins/adjustcurves/imageplugin_adjustcurves.cpp @@ -46,7 +46,7 @@ ImagePlugin_AdjustCurves::ImagePlugin_AdjustCurves(TQObject *parent, const char* { m_curvesAction = new TDEAction(i18n("Curves Adjust..."), "adjustcurves", CTRL+SHIFT+Key_M, // NOTE: Photoshop 7 use CTRL+M (but it's used in KDE to toogle menu bar). - this, TQT_SLOT(slotCurvesAdjust()), + this, TQ_SLOT(slotCurvesAdjust()), actionCollection(), "imageplugin_adjustcurves"); setXMLFile("digikamimageplugin_adjustcurves_ui.rc"); diff --git a/digikam/imageplugins/adjustlevels/adjustlevels.cpp b/digikam/imageplugins/adjustlevels/adjustlevels.cpp index 5bc4a1a9..72d5e46b 100644 --- a/digikam/imageplugins/adjustlevels/adjustlevels.cpp +++ b/digikam/imageplugins/adjustlevels/adjustlevels.cpp @@ -342,62 +342,62 @@ AdjustLevelDialog::AdjustLevelDialog(TQWidget* parent) // ------------------------------------------------------------- // Channels and scale selection slots. - connect(m_channelCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotChannelChanged(int))); + connect(m_channelCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotChannelChanged(int))); - connect(m_scaleBG, TQT_SIGNAL(released(int)), - this, TQT_SLOT(slotScaleChanged(int))); + connect(m_scaleBG, TQ_SIGNAL(released(int)), + this, TQ_SLOT(slotScaleChanged(int))); - connect(m_previewWidget, TQT_SIGNAL(spotPositionChangedFromOriginal( const Digikam::DColor &, const TQPoint & )), - this, TQT_SLOT(slotSpotColorChanged( const Digikam::DColor & ))); + connect(m_previewWidget, TQ_SIGNAL(spotPositionChangedFromOriginal( const Digikam::DColor &, const TQPoint & )), + this, TQ_SLOT(slotSpotColorChanged( const Digikam::DColor & ))); - connect(m_previewWidget, TQT_SIGNAL(spotPositionChangedFromTarget( const Digikam::DColor &, const TQPoint & )), - this, TQT_SLOT(slotColorSelectedFromTarget( const Digikam::DColor & ))); + connect(m_previewWidget, TQ_SIGNAL(spotPositionChangedFromTarget( const Digikam::DColor &, const TQPoint & )), + this, TQ_SLOT(slotColorSelectedFromTarget( const Digikam::DColor & ))); - connect(m_previewWidget, TQT_SIGNAL(signalResized()), - this, TQT_SLOT(slotEffect())); + connect(m_previewWidget, TQ_SIGNAL(signalResized()), + this, TQ_SLOT(slotEffect())); // ------------------------------------------------------------- // Color sliders and spinbox slots. - connect(m_hGradientMinInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotAdjustMinInputSpinBox(int))); + connect(m_hGradientMinInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotAdjustMinInputSpinBox(int))); - connect(m_minInput, TQT_SIGNAL(valueChanged (int)), - this, TQT_SLOT(slotAdjustSliders())); + connect(m_minInput, TQ_SIGNAL(valueChanged (int)), + this, TQ_SLOT(slotAdjustSliders())); - connect(m_gammaInput, TQT_SIGNAL(valueChanged (double)), - this, TQT_SLOT(slotGammaInputchanged(double))); + connect(m_gammaInput, TQ_SIGNAL(valueChanged (double)), + this, TQ_SLOT(slotGammaInputchanged(double))); - connect(m_hGradientMaxInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotAdjustMaxInputSpinBox(int))); + connect(m_hGradientMaxInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotAdjustMaxInputSpinBox(int))); - connect(m_maxInput, TQT_SIGNAL(valueChanged (int)), - this, TQT_SLOT(slotAdjustSliders())); + connect(m_maxInput, TQ_SIGNAL(valueChanged (int)), + this, TQ_SLOT(slotAdjustSliders())); - connect(m_hGradientMinOutput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotAdjustMinOutputSpinBox(int))); + connect(m_hGradientMinOutput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotAdjustMinOutputSpinBox(int))); - connect(m_minOutput, TQT_SIGNAL(valueChanged (int)), - this, TQT_SLOT(slotAdjustSliders())); + connect(m_minOutput, TQ_SIGNAL(valueChanged (int)), + this, TQ_SLOT(slotAdjustSliders())); - connect(m_hGradientMaxOutput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotAdjustMaxOutputSpinBox(int))); + connect(m_hGradientMaxOutput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotAdjustMaxOutputSpinBox(int))); - connect(m_maxOutput, TQT_SIGNAL(valueChanged (int)), - this, TQT_SLOT(slotAdjustSliders())); + connect(m_maxOutput, TQ_SIGNAL(valueChanged (int)), + this, TQ_SLOT(slotAdjustSliders())); // ------------------------------------------------------------- // Bouttons slots. - connect(m_autoButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotAutoLevels())); + connect(m_autoButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotAutoLevels())); - connect(m_resetButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotResetCurrentChannel())); + connect(m_resetButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotResetCurrentChannel())); - connect(m_pickerColorButtonGroup, TQT_SIGNAL(released(int)), - this, TQT_SLOT(slotPickerColorButtonActived())); + connect(m_pickerColorButtonGroup, TQ_SIGNAL(released(int)), + this, TQ_SLOT(slotPickerColorButtonActived())); } @@ -813,15 +813,15 @@ bool AdjustLevelDialog::eventFilter(TQObject *obj, TQEvent *ev) { if ( ev->type() == TQEvent::MouseButtonPress) { - connect(m_minInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotShowHistogramGuide(int))); + connect(m_minInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotShowHistogramGuide(int))); return false; } if ( ev->type() == TQEvent::MouseButtonRelease) { - disconnect(m_minInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotShowHistogramGuide(int))); + disconnect(m_minInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotShowHistogramGuide(int))); m_levelsHistogramWidget->reset(); return false; @@ -835,15 +835,15 @@ bool AdjustLevelDialog::eventFilter(TQObject *obj, TQEvent *ev) { if ( ev->type() == TQEvent::MouseButtonPress) { - connect(m_maxInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotShowHistogramGuide(int))); + connect(m_maxInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotShowHistogramGuide(int))); return false; } if ( ev->type() == TQEvent::MouseButtonRelease) { - disconnect(m_maxInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotShowHistogramGuide(int))); + disconnect(m_maxInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotShowHistogramGuide(int))); m_levelsHistogramWidget->reset(); return false; @@ -857,15 +857,15 @@ bool AdjustLevelDialog::eventFilter(TQObject *obj, TQEvent *ev) { if ( ev->type() == TQEvent::MouseButtonPress) { - connect(m_minOutput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotShowHistogramGuide(int))); + connect(m_minOutput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotShowHistogramGuide(int))); return false; } if ( ev->type() == TQEvent::MouseButtonRelease) { - disconnect(m_minOutput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotShowHistogramGuide(int))); + disconnect(m_minOutput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotShowHistogramGuide(int))); m_levelsHistogramWidget->reset(); return false; @@ -879,15 +879,15 @@ bool AdjustLevelDialog::eventFilter(TQObject *obj, TQEvent *ev) { if ( ev->type() == TQEvent::MouseButtonPress) { - connect(m_maxOutput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotShowHistogramGuide(int))); + connect(m_maxOutput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotShowHistogramGuide(int))); return false; } if ( ev->type() == TQEvent::MouseButtonRelease) { - disconnect(m_maxOutput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotShowHistogramGuide(int))); + disconnect(m_maxOutput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotShowHistogramGuide(int))); m_levelsHistogramWidget->reset(); return false; diff --git a/digikam/imageplugins/adjustlevels/adjustlevelstool.cpp b/digikam/imageplugins/adjustlevels/adjustlevelstool.cpp index 186c8738..28066774 100644 --- a/digikam/imageplugins/adjustlevels/adjustlevelstool.cpp +++ b/digikam/imageplugins/adjustlevels/adjustlevelstool.cpp @@ -332,62 +332,62 @@ AdjustLevelsTool::AdjustLevelsTool(TQObject* parent) // ------------------------------------------------------------- // Channels and scale selection slots. - connect(m_channelCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotChannelChanged(int))); + connect(m_channelCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotChannelChanged(int))); - connect(m_scaleBG, TQT_SIGNAL(released(int)), - this, TQT_SLOT(slotScaleChanged(int))); + connect(m_scaleBG, TQ_SIGNAL(released(int)), + this, TQ_SLOT(slotScaleChanged(int))); - connect(m_previewWidget, TQT_SIGNAL(spotPositionChangedFromOriginal(const Digikam::DColor&, const TQPoint&)), - this, TQT_SLOT(slotSpotColorChanged(const Digikam::DColor&))); + connect(m_previewWidget, TQ_SIGNAL(spotPositionChangedFromOriginal(const Digikam::DColor&, const TQPoint&)), + this, TQ_SLOT(slotSpotColorChanged(const Digikam::DColor&))); - connect(m_previewWidget, TQT_SIGNAL(spotPositionChangedFromTarget(const Digikam::DColor&, const TQPoint&)), - this, TQT_SLOT(slotColorSelectedFromTarget(const Digikam::DColor&))); + connect(m_previewWidget, TQ_SIGNAL(spotPositionChangedFromTarget(const Digikam::DColor&, const TQPoint&)), + this, TQ_SLOT(slotColorSelectedFromTarget(const Digikam::DColor&))); - connect(m_previewWidget, TQT_SIGNAL(signalResized()), - this, TQT_SLOT(slotEffect())); + connect(m_previewWidget, TQ_SIGNAL(signalResized()), + this, TQ_SLOT(slotEffect())); // ------------------------------------------------------------- // Color sliders and spinbox slots. - connect(m_hGradientMinInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotAdjustMinInputSpinBox(int))); + connect(m_hGradientMinInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotAdjustMinInputSpinBox(int))); - connect(m_minInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotAdjustSliders())); + connect(m_minInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotAdjustSliders())); - connect(m_gammaInput, TQT_SIGNAL(valueChanged(double)), - this, TQT_SLOT(slotGammaInputchanged(double))); + connect(m_gammaInput, TQ_SIGNAL(valueChanged(double)), + this, TQ_SLOT(slotGammaInputchanged(double))); - connect(m_hGradientMaxInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotAdjustMaxInputSpinBox(int))); + connect(m_hGradientMaxInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotAdjustMaxInputSpinBox(int))); - connect(m_maxInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotAdjustSliders())); + connect(m_maxInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotAdjustSliders())); - connect(m_hGradientMinOutput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotAdjustMinOutputSpinBox(int))); + connect(m_hGradientMinOutput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotAdjustMinOutputSpinBox(int))); - connect(m_minOutput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotAdjustSliders())); + connect(m_minOutput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotAdjustSliders())); - connect(m_hGradientMaxOutput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotAdjustMaxOutputSpinBox(int))); + connect(m_hGradientMaxOutput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotAdjustMaxOutputSpinBox(int))); - connect(m_maxOutput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotAdjustSliders())); + connect(m_maxOutput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotAdjustSliders())); // ------------------------------------------------------------- // Bouttons slots. - connect(m_autoButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotAutoLevels())); + connect(m_autoButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotAutoLevels())); - connect(m_resetButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotResetCurrentChannel())); + connect(m_resetButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotResetCurrentChannel())); - connect(m_pickerColorButtonGroup, TQT_SIGNAL(released(int)), - this, TQT_SLOT(slotPickerColorButtonActived())); + connect(m_pickerColorButtonGroup, TQ_SIGNAL(released(int)), + this, TQ_SLOT(slotPickerColorButtonActived())); } AdjustLevelsTool::~AdjustLevelsTool() @@ -795,15 +795,15 @@ bool AdjustLevelsTool::eventFilter(TQObject *obj, TQEvent *ev) { if ( ev->type() == TQEvent::MouseButtonPress) { - connect(m_minInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotShowInputHistogramGuide(int))); + connect(m_minInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotShowInputHistogramGuide(int))); return false; } if ( ev->type() == TQEvent::MouseButtonRelease) { - disconnect(m_minInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotShowInputHistogramGuide(int))); + disconnect(m_minInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotShowInputHistogramGuide(int))); m_levelsHistogramWidget->reset(); return false; @@ -817,15 +817,15 @@ bool AdjustLevelsTool::eventFilter(TQObject *obj, TQEvent *ev) { if ( ev->type() == TQEvent::MouseButtonPress) { - connect(m_maxInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotShowInputHistogramGuide(int))); + connect(m_maxInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotShowInputHistogramGuide(int))); return false; } if ( ev->type() == TQEvent::MouseButtonRelease) { - disconnect(m_maxInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotShowInputHistogramGuide(int))); + disconnect(m_maxInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotShowInputHistogramGuide(int))); m_levelsHistogramWidget->reset(); return false; @@ -839,15 +839,15 @@ bool AdjustLevelsTool::eventFilter(TQObject *obj, TQEvent *ev) { if ( ev->type() == TQEvent::MouseButtonPress) { - connect(m_minOutput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotShowOutputHistogramGuide(int))); + connect(m_minOutput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotShowOutputHistogramGuide(int))); return false; } if ( ev->type() == TQEvent::MouseButtonRelease) { - disconnect(m_minOutput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotShowOutputHistogramGuide(int))); + disconnect(m_minOutput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotShowOutputHistogramGuide(int))); m_histogramWidget->reset(); return false; @@ -861,15 +861,15 @@ bool AdjustLevelsTool::eventFilter(TQObject *obj, TQEvent *ev) { if ( ev->type() == TQEvent::MouseButtonPress) { - connect(m_maxOutput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotShowOutputHistogramGuide(int))); + connect(m_maxOutput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotShowOutputHistogramGuide(int))); return false; } if ( ev->type() == TQEvent::MouseButtonRelease) { - disconnect(m_maxOutput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotShowOutputHistogramGuide(int))); + disconnect(m_maxOutput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotShowOutputHistogramGuide(int))); m_histogramWidget->reset(); return false; diff --git a/digikam/imageplugins/adjustlevels/imageplugin_adjustlevels.cpp b/digikam/imageplugins/adjustlevels/imageplugin_adjustlevels.cpp index 242c95a3..0f9dcb9e 100644 --- a/digikam/imageplugins/adjustlevels/imageplugin_adjustlevels.cpp +++ b/digikam/imageplugins/adjustlevels/imageplugin_adjustlevels.cpp @@ -47,7 +47,7 @@ ImagePlugin_AdjustLevels::ImagePlugin_AdjustLevels(TQObject *parent, const char* { m_levelsAction = new TDEAction(i18n("Levels Adjust..."), "adjustlevels", CTRL+Key_L, // NOTE: Photoshop 7 use CTRL+L. - this, TQT_SLOT(slotLevelsAdjust()), + this, TQ_SLOT(slotLevelsAdjust()), actionCollection(), "imageplugin_adjustlevels"); setXMLFile("digikamimageplugin_adjustlevels_ui.rc"); diff --git a/digikam/imageplugins/antivignetting/antivignettingtool.cpp b/digikam/imageplugins/antivignetting/antivignettingtool.cpp index f1a163ad..d8f211c7 100644 --- a/digikam/imageplugins/antivignetting/antivignettingtool.cpp +++ b/digikam/imageplugins/antivignetting/antivignettingtool.cpp @@ -177,23 +177,23 @@ AntiVignettingTool::AntiVignettingTool(TQObject* parent) // ------------------------------------------------------------- - connect(m_densityInput, TQT_SIGNAL(valueChanged(double)), - this, TQT_SLOT(slotTimer())); + connect(m_densityInput, TQ_SIGNAL(valueChanged(double)), + this, TQ_SLOT(slotTimer())); - connect(m_powerInput, TQT_SIGNAL(valueChanged(double)), - this, TQT_SLOT(slotTimer())); + connect(m_powerInput, TQ_SIGNAL(valueChanged(double)), + this, TQ_SLOT(slotTimer())); - connect(m_radiusInput, TQT_SIGNAL(valueChanged(double)), - this, TQT_SLOT(slotTimer())); + connect(m_radiusInput, TQ_SIGNAL(valueChanged(double)), + this, TQ_SLOT(slotTimer())); - connect(m_brightnessInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_brightnessInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); - connect(m_contrastInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_contrastInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); - connect(m_gammaInput, TQT_SIGNAL(valueChanged(double)), - this, TQT_SLOT(slotTimer())); + connect(m_gammaInput, TQ_SIGNAL(valueChanged(double)), + this, TQ_SLOT(slotTimer())); } AntiVignettingTool::~AntiVignettingTool() diff --git a/digikam/imageplugins/antivignetting/imageeffect_antivignetting.cpp b/digikam/imageplugins/antivignetting/imageeffect_antivignetting.cpp index 441ee202..7d7a00c6 100644 --- a/digikam/imageplugins/antivignetting/imageeffect_antivignetting.cpp +++ b/digikam/imageplugins/antivignetting/imageeffect_antivignetting.cpp @@ -176,23 +176,23 @@ ImageEffect_AntiVignetting::ImageEffect_AntiVignetting(TQWidget* parent) // ------------------------------------------------------------- - connect(m_densityInput, TQT_SIGNAL(valueChanged (double)), - this, TQT_SLOT(slotTimer())); + connect(m_densityInput, TQ_SIGNAL(valueChanged (double)), + this, TQ_SLOT(slotTimer())); - connect(m_powerInput, TQT_SIGNAL(valueChanged (double)), - this, TQT_SLOT(slotTimer())); + connect(m_powerInput, TQ_SIGNAL(valueChanged (double)), + this, TQ_SLOT(slotTimer())); - connect(m_radiusInput, TQT_SIGNAL(valueChanged (double)), - this, TQT_SLOT(slotTimer())); + connect(m_radiusInput, TQ_SIGNAL(valueChanged (double)), + this, TQ_SLOT(slotTimer())); - connect(m_brightnessInput, TQT_SIGNAL(valueChanged (int)), - this, TQT_SLOT(slotTimer())); + connect(m_brightnessInput, TQ_SIGNAL(valueChanged (int)), + this, TQ_SLOT(slotTimer())); - connect(m_contrastInput, TQT_SIGNAL(valueChanged (int)), - this, TQT_SLOT(slotTimer())); + connect(m_contrastInput, TQ_SIGNAL(valueChanged (int)), + this, TQ_SLOT(slotTimer())); - connect(m_gammaInput, TQT_SIGNAL(valueChanged (double)), - this, TQT_SLOT(slotTimer())); + connect(m_gammaInput, TQ_SIGNAL(valueChanged (double)), + this, TQ_SLOT(slotTimer())); } ImageEffect_AntiVignetting::~ImageEffect_AntiVignetting() diff --git a/digikam/imageplugins/antivignetting/imageplugin_antivignetting.cpp b/digikam/imageplugins/antivignetting/imageplugin_antivignetting.cpp index 9f02f883..239d9842 100644 --- a/digikam/imageplugins/antivignetting/imageplugin_antivignetting.cpp +++ b/digikam/imageplugins/antivignetting/imageplugin_antivignetting.cpp @@ -46,7 +46,7 @@ ImagePlugin_AntiVignetting::ImagePlugin_AntiVignetting(TQObject *parent, const c : Digikam::ImagePlugin(parent, "ImagePlugin_AntiVignetting") { m_antivignettingAction = new TDEAction(i18n("Vignetting Correction..."), "antivignetting", 0, - this, TQT_SLOT(slotAntiVignetting()), + this, TQ_SLOT(slotAntiVignetting()), actionCollection(), "imageplugin_antivignetting"); setXMLFile("digikamimageplugin_antivignetting_ui.rc"); diff --git a/digikam/imageplugins/blurfx/blurfxtool.cpp b/digikam/imageplugins/blurfx/blurfxtool.cpp index 01627a6f..2998dbde 100644 --- a/digikam/imageplugins/blurfx/blurfxtool.cpp +++ b/digikam/imageplugins/blurfx/blurfxtool.cpp @@ -148,14 +148,14 @@ BlurFXTool::BlurFXTool(TQObject* parent) // ------------------------------------------------------------- - connect(m_effectType, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotEffectTypeChanged(int))); + connect(m_effectType, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotEffectTypeChanged(int))); - connect(m_distanceInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_distanceInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); - connect(m_levelInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_levelInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); } BlurFXTool::~BlurFXTool() diff --git a/digikam/imageplugins/blurfx/imageeffect_blurfx.cpp b/digikam/imageplugins/blurfx/imageeffect_blurfx.cpp index e604ae2b..62bcd525 100644 --- a/digikam/imageplugins/blurfx/imageeffect_blurfx.cpp +++ b/digikam/imageplugins/blurfx/imageeffect_blurfx.cpp @@ -146,14 +146,14 @@ ImageEffect_BlurFX::ImageEffect_BlurFX(TQWidget* parent) // ------------------------------------------------------------- - connect(m_effectType, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotEffectTypeChanged(int))); + connect(m_effectType, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotEffectTypeChanged(int))); - connect(m_distanceInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_distanceInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); - connect(m_levelInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_levelInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); } ImageEffect_BlurFX::~ImageEffect_BlurFX() diff --git a/digikam/imageplugins/blurfx/imageplugin_blurfx.cpp b/digikam/imageplugins/blurfx/imageplugin_blurfx.cpp index b4786ec7..3bbd05e0 100644 --- a/digikam/imageplugins/blurfx/imageplugin_blurfx.cpp +++ b/digikam/imageplugins/blurfx/imageplugin_blurfx.cpp @@ -46,7 +46,7 @@ ImagePlugin_BlurFX::ImagePlugin_BlurFX(TQObject *parent, const char*, const TQSt : Digikam::ImagePlugin(parent, "ImagePlugin_BlurFX") { m_blurfxAction = new TDEAction(i18n("Blur Effects..."), "blurfx", 0, - this, TQT_SLOT(slotBlurFX()), + this, TQ_SLOT(slotBlurFX()), actionCollection(), "imageplugin_blurfx"); setXMLFile( "digikamimageplugin_blurfx_ui.rc" ); diff --git a/digikam/imageplugins/border/bordertool.cpp b/digikam/imageplugins/border/bordertool.cpp index a125b523..160f5b0a 100644 --- a/digikam/imageplugins/border/bordertool.cpp +++ b/digikam/imageplugins/border/bordertool.cpp @@ -172,23 +172,23 @@ BorderTool::BorderTool(TQObject* parent) // ------------------------------------------------------------- - connect(m_preserveAspectRatio, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotPreserveAspectRatioToggled(bool))); + connect(m_preserveAspectRatio, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotPreserveAspectRatioToggled(bool))); - connect(m_borderType, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotBorderTypeChanged(int))); + connect(m_borderType, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotBorderTypeChanged(int))); - connect(m_borderPercent, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_borderPercent, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); - connect(m_borderWidth, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_borderWidth, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); - connect(m_firstColorButton, TQT_SIGNAL(changed(const TQColor &)), - this, TQT_SLOT(slotColorForegroundChanged(const TQColor &))); + connect(m_firstColorButton, TQ_SIGNAL(changed(const TQColor &)), + this, TQ_SLOT(slotColorForegroundChanged(const TQColor &))); - connect(m_secondColorButton, TQT_SIGNAL(changed(const TQColor &)), - this, TQT_SLOT(slotColorBackgroundChanged(const TQColor &))); + connect(m_secondColorButton, TQ_SIGNAL(changed(const TQColor &)), + this, TQ_SLOT(slotColorBackgroundChanged(const TQColor &))); } BorderTool::~BorderTool() diff --git a/digikam/imageplugins/border/imageeffect_border.cpp b/digikam/imageplugins/border/imageeffect_border.cpp index 13f4e3f2..9f3dd6c3 100644 --- a/digikam/imageplugins/border/imageeffect_border.cpp +++ b/digikam/imageplugins/border/imageeffect_border.cpp @@ -172,23 +172,23 @@ ImageEffect_Border::ImageEffect_Border(TQWidget* parent) // ------------------------------------------------------------- - connect(m_preserveAspectRatio, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotPreserveAspectRatioToggled(bool))); + connect(m_preserveAspectRatio, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotPreserveAspectRatioToggled(bool))); - connect(m_borderType, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotBorderTypeChanged(int))); + connect(m_borderType, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotBorderTypeChanged(int))); - connect(m_borderPercent, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_borderPercent, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); - connect(m_borderWidth, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_borderWidth, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); - connect(m_firstColorButton, TQT_SIGNAL(changed(const TQColor &)), - this, TQT_SLOT(slotColorForegroundChanged(const TQColor &))); + connect(m_firstColorButton, TQ_SIGNAL(changed(const TQColor &)), + this, TQ_SLOT(slotColorForegroundChanged(const TQColor &))); - connect(m_secondColorButton, TQT_SIGNAL(changed(const TQColor &)), - this, TQT_SLOT(slotColorBackgroundChanged(const TQColor &))); + connect(m_secondColorButton, TQ_SIGNAL(changed(const TQColor &)), + this, TQ_SLOT(slotColorBackgroundChanged(const TQColor &))); } ImageEffect_Border::~ImageEffect_Border() diff --git a/digikam/imageplugins/border/imageplugin_border.cpp b/digikam/imageplugins/border/imageplugin_border.cpp index 75d93709..f0c5a236 100644 --- a/digikam/imageplugins/border/imageplugin_border.cpp +++ b/digikam/imageplugins/border/imageplugin_border.cpp @@ -47,7 +47,7 @@ ImagePlugin_Border::ImagePlugin_Border(TQObject *parent, const char*, const TQSt { m_borderAction = new TDEAction(i18n("Add Border..."), "bordertool", 0, - this, TQT_SLOT(slotBorder()), + this, TQ_SLOT(slotBorder()), actionCollection(), "imageplugin_border"); setXMLFile("digikamimageplugin_border_ui.rc"); diff --git a/digikam/imageplugins/channelmixer/channelmixer.cpp b/digikam/imageplugins/channelmixer/channelmixer.cpp index 2d40d159..849cc1e8 100644 --- a/digikam/imageplugins/channelmixer/channelmixer.cpp +++ b/digikam/imageplugins/channelmixer/channelmixer.cpp @@ -231,41 +231,41 @@ ChannelMixerDialog::ChannelMixerDialog(TQWidget* parent) // ------------------------------------------------------------- // Channels and scale selection slots. - connect(m_channelCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotChannelChanged(int))); + connect(m_channelCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotChannelChanged(int))); - connect(m_scaleBG, TQT_SIGNAL(released(int)), - this, TQT_SLOT(slotScaleChanged(int))); + connect(m_scaleBG, TQ_SIGNAL(released(int)), + this, TQ_SLOT(slotScaleChanged(int))); - connect(m_previewWidget, TQT_SIGNAL(spotPositionChangedFromTarget( const Digikam::DColor &, const TQPoint & )), - this, TQT_SLOT(slotColorSelectedFromTarget( const Digikam::DColor & ))); + connect(m_previewWidget, TQ_SIGNAL(spotPositionChangedFromTarget( const Digikam::DColor &, const TQPoint & )), + this, TQ_SLOT(slotColorSelectedFromTarget( const Digikam::DColor & ))); - connect(m_previewWidget, TQT_SIGNAL(signalResized()), - this, TQT_SLOT(slotEffect())); + connect(m_previewWidget, TQ_SIGNAL(signalResized()), + this, TQ_SLOT(slotEffect())); // ------------------------------------------------------------- // Gains settings slots. - connect(m_redGain, TQT_SIGNAL(valueChanged(double)), - this, TQT_SLOT(slotGainsChanged())); + connect(m_redGain, TQ_SIGNAL(valueChanged(double)), + this, TQ_SLOT(slotGainsChanged())); - connect(m_greenGain, TQT_SIGNAL(valueChanged(double)), - this, TQT_SLOT(slotGainsChanged())); + connect(m_greenGain, TQ_SIGNAL(valueChanged(double)), + this, TQ_SLOT(slotGainsChanged())); - connect(m_blueGain, TQT_SIGNAL(valueChanged(double)), - this, TQT_SLOT(slotGainsChanged())); + connect(m_blueGain, TQ_SIGNAL(valueChanged(double)), + this, TQ_SLOT(slotGainsChanged())); - connect(m_preserveLuminosity, TQT_SIGNAL(toggled (bool)), - this, TQT_SLOT(slotEffect())); + connect(m_preserveLuminosity, TQ_SIGNAL(toggled (bool)), + this, TQ_SLOT(slotEffect())); - connect(m_monochrome, TQT_SIGNAL(toggled (bool)), - this, TQT_SLOT(slotMonochromeActived(bool))); + connect(m_monochrome, TQ_SIGNAL(toggled (bool)), + this, TQ_SLOT(slotMonochromeActived(bool))); // ------------------------------------------------------------- // Bouttons slots. - connect(m_resetButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotResetCurrentChannel())); + connect(m_resetButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotResetCurrentChannel())); } ChannelMixerDialog::~ChannelMixerDialog() diff --git a/digikam/imageplugins/channelmixer/channelmixertool.cpp b/digikam/imageplugins/channelmixer/channelmixertool.cpp index 473863f6..c8215178 100644 --- a/digikam/imageplugins/channelmixer/channelmixertool.cpp +++ b/digikam/imageplugins/channelmixer/channelmixertool.cpp @@ -228,41 +228,41 @@ ChannelMixerTool::ChannelMixerTool(TQObject* parent) // ------------------------------------------------------------- // Channels and scale selection slots. - connect(m_channelCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotChannelChanged(int))); + connect(m_channelCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotChannelChanged(int))); - connect(m_scaleBG, TQT_SIGNAL(released(int)), - this, TQT_SLOT(slotScaleChanged(int))); + connect(m_scaleBG, TQ_SIGNAL(released(int)), + this, TQ_SLOT(slotScaleChanged(int))); - connect(m_previewWidget, TQT_SIGNAL(spotPositionChangedFromTarget(const Digikam::DColor&, const TQPoint&)), - this, TQT_SLOT(slotColorSelectedFromTarget(const Digikam::DColor&))); + connect(m_previewWidget, TQ_SIGNAL(spotPositionChangedFromTarget(const Digikam::DColor&, const TQPoint&)), + this, TQ_SLOT(slotColorSelectedFromTarget(const Digikam::DColor&))); - connect(m_previewWidget, TQT_SIGNAL(signalResized()), - this, TQT_SLOT(slotEffect())); + connect(m_previewWidget, TQ_SIGNAL(signalResized()), + this, TQ_SLOT(slotEffect())); // ------------------------------------------------------------- // Gains settings slots. - connect(m_redGain, TQT_SIGNAL(valueChanged(double)), - this, TQT_SLOT(slotGainsChanged())); + connect(m_redGain, TQ_SIGNAL(valueChanged(double)), + this, TQ_SLOT(slotGainsChanged())); - connect(m_greenGain, TQT_SIGNAL(valueChanged(double)), - this, TQT_SLOT(slotGainsChanged())); + connect(m_greenGain, TQ_SIGNAL(valueChanged(double)), + this, TQ_SLOT(slotGainsChanged())); - connect(m_blueGain, TQT_SIGNAL(valueChanged(double)), - this, TQT_SLOT(slotGainsChanged())); + connect(m_blueGain, TQ_SIGNAL(valueChanged(double)), + this, TQ_SLOT(slotGainsChanged())); - connect(m_preserveLuminosity, TQT_SIGNAL(toggled (bool)), - this, TQT_SLOT(slotEffect())); + connect(m_preserveLuminosity, TQ_SIGNAL(toggled (bool)), + this, TQ_SLOT(slotEffect())); - connect(m_monochrome, TQT_SIGNAL(toggled (bool)), - this, TQT_SLOT(slotMonochromeActived(bool))); + connect(m_monochrome, TQ_SIGNAL(toggled (bool)), + this, TQ_SLOT(slotMonochromeActived(bool))); // ------------------------------------------------------------- // Bouttons slots. - connect(m_resetButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotResetCurrentChannel())); + connect(m_resetButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotResetCurrentChannel())); } ChannelMixerTool::~ChannelMixerTool() diff --git a/digikam/imageplugins/channelmixer/imageplugin_channelmixer.cpp b/digikam/imageplugins/channelmixer/imageplugin_channelmixer.cpp index 2afbafdf..19fe21a9 100644 --- a/digikam/imageplugins/channelmixer/imageplugin_channelmixer.cpp +++ b/digikam/imageplugins/channelmixer/imageplugin_channelmixer.cpp @@ -47,7 +47,7 @@ ImagePlugin_ChannelMixer::ImagePlugin_ChannelMixer(TQObject *parent, const char* { m_channelMixerAction = new TDEAction(i18n("Channel Mixer..."), "channelmixer", CTRL+Key_H, - this, TQT_SLOT(slotChannelMixer()), + this, TQ_SLOT(slotChannelMixer()), actionCollection(), "imageplugin_channelmixer"); setXMLFile("digikamimageplugin_channelmixer_ui.rc"); diff --git a/digikam/imageplugins/charcoal/charcoaltool.cpp b/digikam/imageplugins/charcoal/charcoaltool.cpp index 772cbe38..75ee22df 100644 --- a/digikam/imageplugins/charcoal/charcoaltool.cpp +++ b/digikam/imageplugins/charcoal/charcoaltool.cpp @@ -110,11 +110,11 @@ CharcoalTool::CharcoalTool(TQObject* parent) // ------------------------------------------------------------- - connect(m_pencilInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_pencilInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); - connect(m_smoothInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_smoothInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); } CharcoalTool::~CharcoalTool() diff --git a/digikam/imageplugins/charcoal/imageeffect_charcoal.cpp b/digikam/imageplugins/charcoal/imageeffect_charcoal.cpp index f57f1ecc..67a0269d 100644 --- a/digikam/imageplugins/charcoal/imageeffect_charcoal.cpp +++ b/digikam/imageplugins/charcoal/imageeffect_charcoal.cpp @@ -104,11 +104,11 @@ ImageEffect_Charcoal::ImageEffect_Charcoal(TQWidget* parent) // ------------------------------------------------------------- - connect(m_pencilInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_pencilInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); - connect(m_smoothInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_smoothInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); } ImageEffect_Charcoal::~ImageEffect_Charcoal() diff --git a/digikam/imageplugins/charcoal/imageplugin_charcoal.cpp b/digikam/imageplugins/charcoal/imageplugin_charcoal.cpp index c2aa2699..ae28e7ca 100644 --- a/digikam/imageplugins/charcoal/imageplugin_charcoal.cpp +++ b/digikam/imageplugins/charcoal/imageplugin_charcoal.cpp @@ -48,7 +48,7 @@ ImagePlugin_Charcoal::ImagePlugin_Charcoal(TQObject *parent, const char*, : Digikam::ImagePlugin(parent, "ImagePlugin_Charcoal") { m_charcoalAction = new TDEAction(i18n("Charcoal Drawing..."), "charcoaltool", 0, - this, TQT_SLOT(slotCharcoal()), + this, TQ_SLOT(slotCharcoal()), actionCollection(), "imageplugin_charcoal"); setXMLFile( "digikamimageplugin_charcoal_ui.rc" ); diff --git a/digikam/imageplugins/colorfx/colorfxtool.cpp b/digikam/imageplugins/colorfx/colorfxtool.cpp index ad9fd044..dd16e7cf 100644 --- a/digikam/imageplugins/colorfx/colorfxtool.cpp +++ b/digikam/imageplugins/colorfx/colorfxtool.cpp @@ -203,26 +203,26 @@ ColorFXTool::ColorFXTool(TQObject* parent) // ------------------------------------------------------------- - connect(m_channelCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotChannelChanged(int))); + connect(m_channelCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotChannelChanged(int))); - connect(m_scaleBG, TQT_SIGNAL(released(int)), - this, TQT_SLOT(slotScaleChanged(int))); + connect(m_scaleBG, TQ_SIGNAL(released(int)), + this, TQ_SLOT(slotScaleChanged(int))); - connect(m_previewWidget, TQT_SIGNAL(spotPositionChangedFromTarget( const DColor &, const TQPoint & )), - this, TQT_SLOT(slotColorSelectedFromTarget( const DColor & ))); + connect(m_previewWidget, TQ_SIGNAL(spotPositionChangedFromTarget( const DColor &, const TQPoint & )), + this, TQ_SLOT(slotColorSelectedFromTarget( const DColor & ))); - connect(m_levelInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_levelInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); - connect(m_iterationInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_iterationInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); - connect(m_previewWidget, TQT_SIGNAL(signalResized()), - this, TQT_SLOT(slotEffect())); + connect(m_previewWidget, TQ_SIGNAL(signalResized()), + this, TQ_SLOT(slotEffect())); - connect(m_effectType, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotEffectTypeChanged(int))); + connect(m_effectType, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotEffectTypeChanged(int))); } ColorFXTool::~ColorFXTool() diff --git a/digikam/imageplugins/colorfx/imageeffect_colorfx.cpp b/digikam/imageplugins/colorfx/imageeffect_colorfx.cpp index 8edb2a13..a4ab6fe7 100644 --- a/digikam/imageplugins/colorfx/imageeffect_colorfx.cpp +++ b/digikam/imageplugins/colorfx/imageeffect_colorfx.cpp @@ -208,26 +208,26 @@ ImageEffect_ColorFX::ImageEffect_ColorFX(TQWidget* parent) // ------------------------------------------------------------- - connect(m_channelCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotChannelChanged(int))); + connect(m_channelCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotChannelChanged(int))); - connect(m_scaleBG, TQT_SIGNAL(released(int)), - this, TQT_SLOT(slotScaleChanged(int))); + connect(m_scaleBG, TQ_SIGNAL(released(int)), + this, TQ_SLOT(slotScaleChanged(int))); - connect(m_previewWidget, TQT_SIGNAL(spotPositionChangedFromTarget( const Digikam::DColor &, const TQPoint & )), - this, TQT_SLOT(slotColorSelectedFromTarget( const Digikam::DColor & ))); + connect(m_previewWidget, TQ_SIGNAL(spotPositionChangedFromTarget( const Digikam::DColor &, const TQPoint & )), + this, TQ_SLOT(slotColorSelectedFromTarget( const Digikam::DColor & ))); - connect(m_levelInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_levelInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); - connect(m_iterationInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_iterationInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); - connect(m_previewWidget, TQT_SIGNAL(signalResized()), - this, TQT_SLOT(slotEffect())); + connect(m_previewWidget, TQ_SIGNAL(signalResized()), + this, TQ_SLOT(slotEffect())); - connect(m_effectType, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotEffectTypeChanged(int))); + connect(m_effectType, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotEffectTypeChanged(int))); } ImageEffect_ColorFX::~ImageEffect_ColorFX() diff --git a/digikam/imageplugins/colorfx/imageplugin_colorfx.cpp b/digikam/imageplugins/colorfx/imageplugin_colorfx.cpp index 21af85b7..f4725028 100644 --- a/digikam/imageplugins/colorfx/imageplugin_colorfx.cpp +++ b/digikam/imageplugins/colorfx/imageplugin_colorfx.cpp @@ -48,7 +48,7 @@ ImagePlugin_ColorFX::ImagePlugin_ColorFX(TQObject *parent, const char*, const TQ : Digikam::ImagePlugin(parent, "ImagePlugin_ColorFX") { m_solarizeAction = new TDEAction(i18n("Color Effects..."), "colorfx", 0, - this, TQT_SLOT(slotColorFX()), + this, TQ_SLOT(slotColorFX()), actionCollection(), "imageplugin_colorfx"); setXMLFile( "digikamimageplugin_colorfx_ui.rc" ); diff --git a/digikam/imageplugins/coreplugin/autocorrectiontool.cpp b/digikam/imageplugins/coreplugin/autocorrectiontool.cpp index 8a661c0e..32f00b44 100644 --- a/digikam/imageplugins/coreplugin/autocorrectiontool.cpp +++ b/digikam/imageplugins/coreplugin/autocorrectiontool.cpp @@ -229,20 +229,20 @@ AutoCorrectionTool::AutoCorrectionTool(TQObject* parent) // ------------------------------------------------------------- - connect(m_channelCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotChannelChanged(int))); + connect(m_channelCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotChannelChanged(int))); - connect(m_scaleBG, TQT_SIGNAL(released(int)), - this, TQT_SLOT(slotScaleChanged(int))); + connect(m_scaleBG, TQ_SIGNAL(released(int)), + this, TQ_SLOT(slotScaleChanged(int))); - connect(m_previewWidget, TQT_SIGNAL(spotPositionChangedFromTarget(const DColor&, const TQPoint&)), - this, TQT_SLOT(slotColorSelectedFromTarget(const DColor&))); + connect(m_previewWidget, TQ_SIGNAL(spotPositionChangedFromTarget(const DColor&, const TQPoint&)), + this, TQ_SLOT(slotColorSelectedFromTarget(const DColor&))); - connect(m_correctionTools, TQT_SIGNAL(highlighted(int)), - this, TQT_SLOT(slotEffect())); + connect(m_correctionTools, TQ_SIGNAL(highlighted(int)), + this, TQ_SLOT(slotEffect())); - connect(m_previewWidget, TQT_SIGNAL(signalResized()), - this, TQT_SLOT(slotEffect())); + connect(m_previewWidget, TQ_SIGNAL(signalResized()), + this, TQ_SLOT(slotEffect())); } AutoCorrectionTool::~AutoCorrectionTool() diff --git a/digikam/imageplugins/coreplugin/bcgtool.cpp b/digikam/imageplugins/coreplugin/bcgtool.cpp index 1f7954da..17ecf838 100644 --- a/digikam/imageplugins/coreplugin/bcgtool.cpp +++ b/digikam/imageplugins/coreplugin/bcgtool.cpp @@ -193,26 +193,26 @@ BCGTool::BCGTool(TQObject* parent) // ------------------------------------------------------------- - connect(m_channelCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotChannelChanged(int))); + connect(m_channelCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotChannelChanged(int))); - connect(m_scaleBG, TQT_SIGNAL(released(int)), - this, TQT_SLOT(slotScaleChanged(int))); + connect(m_scaleBG, TQ_SIGNAL(released(int)), + this, TQ_SLOT(slotScaleChanged(int))); - connect(m_previewWidget, TQT_SIGNAL(spotPositionChangedFromTarget( const Digikam::DColor &, const TQPoint & )), - this, TQT_SLOT(slotColorSelectedFromTarget( const Digikam::DColor & ))); + connect(m_previewWidget, TQ_SIGNAL(spotPositionChangedFromTarget( const Digikam::DColor &, const TQPoint & )), + this, TQ_SLOT(slotColorSelectedFromTarget( const Digikam::DColor & ))); - connect(m_bInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_bInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); - connect(m_cInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_cInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); - connect(m_gInput, TQT_SIGNAL(valueChanged(double)), - this, TQT_SLOT(slotTimer())); + connect(m_gInput, TQ_SIGNAL(valueChanged(double)), + this, TQ_SLOT(slotTimer())); - connect(m_previewWidget, TQT_SIGNAL(signalResized()), - this, TQT_SLOT(slotEffect())); + connect(m_previewWidget, TQ_SIGNAL(signalResized()), + this, TQ_SLOT(slotEffect())); // ------------------------------------------------------------- diff --git a/digikam/imageplugins/coreplugin/bwsepiatool.cpp b/digikam/imageplugins/coreplugin/bwsepiatool.cpp index 6fdca4e5..06c30462 100644 --- a/digikam/imageplugins/coreplugin/bwsepiatool.cpp +++ b/digikam/imageplugins/coreplugin/bwsepiatool.cpp @@ -494,38 +494,38 @@ BWSepiaTool::BWSepiaTool(TQObject* parent) // ------------------------------------------------------------- - connect(m_channelCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotChannelChanged(int))); + connect(m_channelCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotChannelChanged(int))); - connect(m_scaleBG, TQT_SIGNAL(released(int)), - this, TQT_SLOT(slotScaleChanged(int))); + connect(m_scaleBG, TQ_SIGNAL(released(int)), + this, TQ_SLOT(slotScaleChanged(int))); - connect(m_previewWidget, TQT_SIGNAL(spotPositionChangedFromOriginal(const Digikam::DColor&, const TQPoint&)), - this, TQT_SLOT(slotSpotColorChanged(const Digikam::DColor&))); + connect(m_previewWidget, TQ_SIGNAL(spotPositionChangedFromOriginal(const Digikam::DColor&, const TQPoint&)), + this, TQ_SLOT(slotSpotColorChanged(const Digikam::DColor&))); - connect(m_previewWidget, TQT_SIGNAL(spotPositionChangedFromTarget( const Digikam::DColor &, const TQPoint & )), - this, TQT_SLOT(slotColorSelectedFromTarget( const Digikam::DColor & ))); + connect(m_previewWidget, TQ_SIGNAL(spotPositionChangedFromTarget( const Digikam::DColor &, const TQPoint & )), + this, TQ_SLOT(slotColorSelectedFromTarget( const Digikam::DColor & ))); - connect(m_bwFilters, TQT_SIGNAL(highlighted(int)), - this, TQT_SLOT(slotFilterSelected(int))); + connect(m_bwFilters, TQ_SIGNAL(highlighted(int)), + this, TQ_SLOT(slotFilterSelected(int))); - connect(m_strengthInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_strengthInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); - connect(m_bwFilm, TQT_SIGNAL(highlighted(int)), - this, TQT_SLOT(slotEffect())); + connect(m_bwFilm, TQ_SIGNAL(highlighted(int)), + this, TQ_SLOT(slotEffect())); - connect(m_bwTone, TQT_SIGNAL(highlighted(int)), - this, TQT_SLOT(slotEffect())); + connect(m_bwTone, TQ_SIGNAL(highlighted(int)), + this, TQ_SLOT(slotEffect())); - connect(m_curvesWidget, TQT_SIGNAL(signalCurvesChanged()), - this, TQT_SLOT(slotTimer())); + connect(m_curvesWidget, TQ_SIGNAL(signalCurvesChanged()), + this, TQ_SLOT(slotTimer())); - connect(m_cInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_cInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); - connect(m_previewWidget, TQT_SIGNAL(signalResized()), - this, TQT_SLOT(slotEffect())); + connect(m_previewWidget, TQ_SIGNAL(signalResized()), + this, TQ_SLOT(slotEffect())); } BWSepiaTool::~BWSepiaTool() diff --git a/digikam/imageplugins/coreplugin/hsl/hsltool.cpp b/digikam/imageplugins/coreplugin/hsl/hsltool.cpp index a5a40758..5fa3d746 100644 --- a/digikam/imageplugins/coreplugin/hsl/hsltool.cpp +++ b/digikam/imageplugins/coreplugin/hsl/hsltool.cpp @@ -209,35 +209,35 @@ HSLTool::HSLTool(TQObject* parent) // ------------------------------------------------------------- - connect(m_HSSelector, TQT_SIGNAL(valueChanged(int, int)), - this, TQT_SLOT(slotHSChanged(int, int))); + connect(m_HSSelector, TQ_SIGNAL(valueChanged(int, int)), + this, TQ_SLOT(slotHSChanged(int, int))); - connect(m_channelCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotChannelChanged(int))); + connect(m_channelCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotChannelChanged(int))); - connect(m_scaleBG, TQT_SIGNAL(released(int)), - this, TQT_SLOT(slotScaleChanged(int))); + connect(m_scaleBG, TQ_SIGNAL(released(int)), + this, TQ_SLOT(slotScaleChanged(int))); - connect(m_previewWidget, TQT_SIGNAL(spotPositionChangedFromTarget( const Digikam::DColor &, const TQPoint & )), - this, TQT_SLOT(slotColorSelectedFromTarget( const Digikam::DColor & ))); + connect(m_previewWidget, TQ_SIGNAL(spotPositionChangedFromTarget( const Digikam::DColor &, const TQPoint & )), + this, TQ_SLOT(slotColorSelectedFromTarget( const Digikam::DColor & ))); - connect(m_hInput, TQT_SIGNAL(valueChanged (double)), - this, TQT_SLOT(slotTimer())); + connect(m_hInput, TQ_SIGNAL(valueChanged (double)), + this, TQ_SLOT(slotTimer())); - connect(m_hInput, TQT_SIGNAL(valueChanged (double)), - this, TQT_SLOT(slotHChanged(double))); + connect(m_hInput, TQ_SIGNAL(valueChanged (double)), + this, TQ_SLOT(slotHChanged(double))); - connect(m_sInput, TQT_SIGNAL(valueChanged (double)), - this, TQT_SLOT(slotTimer())); + connect(m_sInput, TQ_SIGNAL(valueChanged (double)), + this, TQ_SLOT(slotTimer())); - connect(m_sInput, TQT_SIGNAL(valueChanged (double)), - this, TQT_SLOT(slotSChanged(double))); + connect(m_sInput, TQ_SIGNAL(valueChanged (double)), + this, TQ_SLOT(slotSChanged(double))); - connect(m_lInput, TQT_SIGNAL(valueChanged (double)), - this, TQT_SLOT(slotTimer())); + connect(m_lInput, TQ_SIGNAL(valueChanged (double)), + this, TQ_SLOT(slotTimer())); - connect(m_previewWidget, TQT_SIGNAL(signalResized()), - this, TQT_SLOT(slotEffect())); + connect(m_previewWidget, TQ_SIGNAL(signalResized()), + this, TQ_SLOT(slotEffect())); // ------------------------------------------------------------- diff --git a/digikam/imageplugins/coreplugin/hsl/imageeffect_hsl.cpp b/digikam/imageplugins/coreplugin/hsl/imageeffect_hsl.cpp index 367919a9..e179d36f 100644 --- a/digikam/imageplugins/coreplugin/hsl/imageeffect_hsl.cpp +++ b/digikam/imageplugins/coreplugin/hsl/imageeffect_hsl.cpp @@ -191,35 +191,35 @@ ImageEffect_HSL::ImageEffect_HSL(TQWidget* parent) // ------------------------------------------------------------- - connect(m_HSSelector, TQT_SIGNAL(valueChanged(int, int)), - this, TQT_SLOT(slotHSChanged(int, int))); + connect(m_HSSelector, TQ_SIGNAL(valueChanged(int, int)), + this, TQ_SLOT(slotHSChanged(int, int))); - connect(m_channelCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotChannelChanged(int))); + connect(m_channelCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotChannelChanged(int))); - connect(m_scaleBG, TQT_SIGNAL(released(int)), - this, TQT_SLOT(slotScaleChanged(int))); + connect(m_scaleBG, TQ_SIGNAL(released(int)), + this, TQ_SLOT(slotScaleChanged(int))); - connect(m_previewWidget, TQT_SIGNAL(spotPositionChangedFromTarget( const Digikam::DColor &, const TQPoint & )), - this, TQT_SLOT(slotColorSelectedFromTarget( const Digikam::DColor & ))); + connect(m_previewWidget, TQ_SIGNAL(spotPositionChangedFromTarget( const Digikam::DColor &, const TQPoint & )), + this, TQ_SLOT(slotColorSelectedFromTarget( const Digikam::DColor & ))); - connect(m_hInput, TQT_SIGNAL(valueChanged (double)), - this, TQT_SLOT(slotTimer())); + connect(m_hInput, TQ_SIGNAL(valueChanged (double)), + this, TQ_SLOT(slotTimer())); - connect(m_hInput, TQT_SIGNAL(valueChanged (double)), - this, TQT_SLOT(slotHChanged(double))); + connect(m_hInput, TQ_SIGNAL(valueChanged (double)), + this, TQ_SLOT(slotHChanged(double))); - connect(m_sInput, TQT_SIGNAL(valueChanged (double)), - this, TQT_SLOT(slotTimer())); + connect(m_sInput, TQ_SIGNAL(valueChanged (double)), + this, TQ_SLOT(slotTimer())); - connect(m_sInput, TQT_SIGNAL(valueChanged (double)), - this, TQT_SLOT(slotSChanged(double))); + connect(m_sInput, TQ_SIGNAL(valueChanged (double)), + this, TQ_SLOT(slotSChanged(double))); - connect(m_lInput, TQT_SIGNAL(valueChanged (double)), - this, TQT_SLOT(slotTimer())); + connect(m_lInput, TQ_SIGNAL(valueChanged (double)), + this, TQ_SLOT(slotTimer())); - connect(m_previewWidget, TQT_SIGNAL(signalResized()), - this, TQT_SLOT(slotEffect())); + connect(m_previewWidget, TQ_SIGNAL(signalResized()), + this, TQ_SLOT(slotEffect())); // ------------------------------------------------------------- diff --git a/digikam/imageplugins/coreplugin/iccprooftool.cpp b/digikam/imageplugins/coreplugin/iccprooftool.cpp index a29cb950..b74adf9a 100644 --- a/digikam/imageplugins/coreplugin/iccprooftool.cpp +++ b/digikam/imageplugins/coreplugin/iccprooftool.cpp @@ -455,78 +455,78 @@ ICCProofTool::ICCProofTool(TQObject* parent) // ------------------------------------------------------------- - connect(lcmsLogoLabel, TQT_SIGNAL(leftClickedURL(const TQString&)), - this, TQT_SLOT(processLCMSURL(const TQString&))); + connect(lcmsLogoLabel, TQ_SIGNAL(leftClickedURL(const TQString&)), + this, TQ_SLOT(processLCMSURL(const TQString&))); - connect(m_channelCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotChannelChanged(int))); + connect(m_channelCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotChannelChanged(int))); - connect(m_scaleBG, TQT_SIGNAL(released(int)), - this, TQT_SLOT(slotScaleChanged(int))); + connect(m_scaleBG, TQ_SIGNAL(released(int)), + this, TQ_SLOT(slotScaleChanged(int))); - connect(m_curvesWidget, TQT_SIGNAL(signalCurvesChanged()), - this, TQT_SLOT(slotTimer())); + connect(m_curvesWidget, TQ_SIGNAL(signalCurvesChanged()), + this, TQ_SLOT(slotTimer())); - connect(m_cInput, TQT_SIGNAL(valueChanged (int)), - this, TQT_SLOT(slotTimer())); + connect(m_cInput, TQ_SIGNAL(valueChanged (int)), + this, TQ_SLOT(slotTimer())); - connect(m_renderingIntentsCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotEffect())); + connect(m_renderingIntentsCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotEffect())); //-- Check box options connections ------------------------------------------- - connect(m_doSoftProofBox, TQT_SIGNAL(toggled (bool)), - this, TQT_SLOT(slotEffect())); + connect(m_doSoftProofBox, TQ_SIGNAL(toggled (bool)), + this, TQ_SLOT(slotEffect())); - connect(m_checkGamutBox, TQT_SIGNAL(toggled (bool)), - this, TQT_SLOT(slotEffect())); + connect(m_checkGamutBox, TQ_SIGNAL(toggled (bool)), + this, TQ_SLOT(slotEffect())); - connect(m_BPCBox, TQT_SIGNAL(toggled (bool)), - this, TQT_SLOT(slotEffect())); + connect(m_BPCBox, TQ_SIGNAL(toggled (bool)), + this, TQ_SLOT(slotEffect())); //-- Button Group ICC profile options connections ---------------------------- - connect(m_inProfileBG, TQT_SIGNAL(released (int)), - this, TQT_SLOT(slotEffect())); + connect(m_inProfileBG, TQ_SIGNAL(released (int)), + this, TQ_SLOT(slotEffect())); - connect(m_spaceProfileBG, TQT_SIGNAL(released (int)), - this, TQT_SLOT(slotEffect())); + connect(m_spaceProfileBG, TQ_SIGNAL(released (int)), + this, TQ_SLOT(slotEffect())); - connect(m_proofProfileBG, TQT_SIGNAL(released (int)), - this, TQT_SLOT(slotEffect())); + connect(m_proofProfileBG, TQ_SIGNAL(released (int)), + this, TQ_SLOT(slotEffect())); //-- url requester ICC profile connections ----------------------------------- - connect(m_inProfilesPath, TQT_SIGNAL(urlSelected(const TQString&)), - this, TQT_SLOT(slotEffect())); + connect(m_inProfilesPath, TQ_SIGNAL(urlSelected(const TQString&)), + this, TQ_SLOT(slotEffect())); - connect(m_spaceProfilePath, TQT_SIGNAL(urlSelected(const TQString&)), - this, TQT_SLOT(slotEffect())); + connect(m_spaceProfilePath, TQ_SIGNAL(urlSelected(const TQString&)), + this, TQ_SLOT(slotEffect())); - connect(m_proofProfilePath, TQT_SIGNAL(urlSelected(const TQString&)), - this, TQT_SLOT(slotEffect())); + connect(m_proofProfilePath, TQ_SIGNAL(urlSelected(const TQString&)), + this, TQ_SLOT(slotEffect())); //-- Image preview widget connections ---------------------------- - connect(m_previewWidget, TQT_SIGNAL(signalResized()), - this, TQT_SLOT(slotEffect())); + connect(m_previewWidget, TQ_SIGNAL(signalResized()), + this, TQ_SLOT(slotEffect())); - connect(m_previewWidget, TQT_SIGNAL(spotPositionChangedFromOriginal( const Digikam::DColor &, const TQPoint & )), - this, TQT_SLOT(slotSpotColorChanged( const Digikam::DColor & ))); + connect(m_previewWidget, TQ_SIGNAL(spotPositionChangedFromOriginal( const Digikam::DColor &, const TQPoint & )), + this, TQ_SLOT(slotSpotColorChanged( const Digikam::DColor & ))); - connect(m_previewWidget, TQT_SIGNAL(spotPositionChangedFromTarget( const Digikam::DColor &, const TQPoint & )), - this, TQT_SLOT(slotColorSelectedFromTarget( const Digikam::DColor & ))); + connect(m_previewWidget, TQ_SIGNAL(spotPositionChangedFromTarget( const Digikam::DColor &, const TQPoint & )), + this, TQ_SLOT(slotColorSelectedFromTarget( const Digikam::DColor & ))); //-- ICC profile preview connections ----------------------------- - connect(inProfilesInfo, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotInICCInfo())); + connect(inProfilesInfo, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotInICCInfo())); - connect(spaceProfilesInfo, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotSpaceICCInfo())); + connect(spaceProfilesInfo, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotSpaceICCInfo())); - connect(proofProfilesInfo, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotProofICCInfo())); + connect(proofProfilesInfo, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotProofICCInfo())); } ICCProofTool::~ICCProofTool() diff --git a/digikam/imageplugins/coreplugin/imageeffect_autocorrection.cpp b/digikam/imageplugins/coreplugin/imageeffect_autocorrection.cpp index bd116d66..290b93cb 100644 --- a/digikam/imageplugins/coreplugin/imageeffect_autocorrection.cpp +++ b/digikam/imageplugins/coreplugin/imageeffect_autocorrection.cpp @@ -220,20 +220,20 @@ ImageEffect_AutoCorrection::ImageEffect_AutoCorrection(TQWidget* parent) // ------------------------------------------------------------- - connect(m_channelCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotChannelChanged(int))); + connect(m_channelCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotChannelChanged(int))); - connect(m_scaleBG, TQT_SIGNAL(released(int)), - this, TQT_SLOT(slotScaleChanged(int))); + connect(m_scaleBG, TQ_SIGNAL(released(int)), + this, TQ_SLOT(slotScaleChanged(int))); - connect(m_previewWidget, TQT_SIGNAL(spotPositionChangedFromTarget( const Digikam::DColor &, const TQPoint & )), - this, TQT_SLOT(slotColorSelectedFromTarget( const Digikam::DColor & ))); + connect(m_previewWidget, TQ_SIGNAL(spotPositionChangedFromTarget( const Digikam::DColor &, const TQPoint & )), + this, TQ_SLOT(slotColorSelectedFromTarget( const Digikam::DColor & ))); - connect(m_correctionTools, TQT_SIGNAL(highlighted(int)), - this, TQT_SLOT(slotEffect())); + connect(m_correctionTools, TQ_SIGNAL(highlighted(int)), + this, TQ_SLOT(slotEffect())); - connect(m_previewWidget, TQT_SIGNAL(signalResized()), - this, TQT_SLOT(slotEffect())); + connect(m_previewWidget, TQ_SIGNAL(signalResized()), + this, TQ_SLOT(slotEffect())); } ImageEffect_AutoCorrection::~ImageEffect_AutoCorrection() diff --git a/digikam/imageplugins/coreplugin/imageeffect_bcg.cpp b/digikam/imageplugins/coreplugin/imageeffect_bcg.cpp index bafe063b..9d21115d 100644 --- a/digikam/imageplugins/coreplugin/imageeffect_bcg.cpp +++ b/digikam/imageplugins/coreplugin/imageeffect_bcg.cpp @@ -178,26 +178,26 @@ ImageEffect_BCG::ImageEffect_BCG(TQWidget* parent) // ------------------------------------------------------------- - connect(m_channelCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotChannelChanged(int))); + connect(m_channelCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotChannelChanged(int))); - connect(m_scaleBG, TQT_SIGNAL(released(int)), - this, TQT_SLOT(slotScaleChanged(int))); + connect(m_scaleBG, TQ_SIGNAL(released(int)), + this, TQ_SLOT(slotScaleChanged(int))); - connect(m_previewWidget, TQT_SIGNAL(spotPositionChangedFromTarget( const Digikam::DColor &, const TQPoint & )), - this, TQT_SLOT(slotColorSelectedFromTarget( const Digikam::DColor & ))); + connect(m_previewWidget, TQ_SIGNAL(spotPositionChangedFromTarget( const Digikam::DColor &, const TQPoint & )), + this, TQ_SLOT(slotColorSelectedFromTarget( const Digikam::DColor & ))); - connect(m_bInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_bInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); - connect(m_cInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_cInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); - connect(m_gInput, TQT_SIGNAL(valueChanged(double)), - this, TQT_SLOT(slotTimer())); + connect(m_gInput, TQ_SIGNAL(valueChanged(double)), + this, TQ_SLOT(slotTimer())); - connect(m_previewWidget, TQT_SIGNAL(signalResized()), - this, TQT_SLOT(slotEffect())); + connect(m_previewWidget, TQ_SIGNAL(signalResized()), + this, TQ_SLOT(slotEffect())); // ------------------------------------------------------------- diff --git a/digikam/imageplugins/coreplugin/imageeffect_bwsepia.cpp b/digikam/imageplugins/coreplugin/imageeffect_bwsepia.cpp index e7aebd88..7dcdf0da 100644 --- a/digikam/imageplugins/coreplugin/imageeffect_bwsepia.cpp +++ b/digikam/imageplugins/coreplugin/imageeffect_bwsepia.cpp @@ -492,38 +492,38 @@ ImageEffect_BWSepia::ImageEffect_BWSepia(TQWidget* parent) // ------------------------------------------------------------- - connect(m_channelCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotChannelChanged(int))); + connect(m_channelCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotChannelChanged(int))); - connect(m_scaleBG, TQT_SIGNAL(released(int)), - this, TQT_SLOT(slotScaleChanged(int))); + connect(m_scaleBG, TQ_SIGNAL(released(int)), + this, TQ_SLOT(slotScaleChanged(int))); - connect(m_previewWidget, TQT_SIGNAL(spotPositionChangedFromOriginal(const Digikam::DColor&, const TQPoint&)), - this, TQT_SLOT(slotSpotColorChanged(const Digikam::DColor&))); + connect(m_previewWidget, TQ_SIGNAL(spotPositionChangedFromOriginal(const Digikam::DColor&, const TQPoint&)), + this, TQ_SLOT(slotSpotColorChanged(const Digikam::DColor&))); - connect(m_previewWidget, TQT_SIGNAL(spotPositionChangedFromTarget( const Digikam::DColor &, const TQPoint & )), - this, TQT_SLOT(slotColorSelectedFromTarget( const Digikam::DColor & ))); + connect(m_previewWidget, TQ_SIGNAL(spotPositionChangedFromTarget( const Digikam::DColor &, const TQPoint & )), + this, TQ_SLOT(slotColorSelectedFromTarget( const Digikam::DColor & ))); - connect(m_bwFilters, TQT_SIGNAL(highlighted(int)), - this, TQT_SLOT(slotFilterSelected(int))); + connect(m_bwFilters, TQ_SIGNAL(highlighted(int)), + this, TQ_SLOT(slotFilterSelected(int))); - connect(m_strengthInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_strengthInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); - connect(m_bwFilm, TQT_SIGNAL(highlighted(int)), - this, TQT_SLOT(slotEffect())); + connect(m_bwFilm, TQ_SIGNAL(highlighted(int)), + this, TQ_SLOT(slotEffect())); - connect(m_bwTone, TQT_SIGNAL(highlighted(int)), - this, TQT_SLOT(slotEffect())); + connect(m_bwTone, TQ_SIGNAL(highlighted(int)), + this, TQ_SLOT(slotEffect())); - connect(m_curvesWidget, TQT_SIGNAL(signalCurvesChanged()), - this, TQT_SLOT(slotTimer())); + connect(m_curvesWidget, TQ_SIGNAL(signalCurvesChanged()), + this, TQ_SLOT(slotTimer())); - connect(m_cInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_cInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); - connect(m_previewWidget, TQT_SIGNAL(signalResized()), - this, TQT_SLOT(slotEffect())); + connect(m_previewWidget, TQ_SIGNAL(signalResized()), + this, TQ_SLOT(slotEffect())); } ImageEffect_BWSepia::~ImageEffect_BWSepia() diff --git a/digikam/imageplugins/coreplugin/imageeffect_iccproof.cpp b/digikam/imageplugins/coreplugin/imageeffect_iccproof.cpp index aeea1254..79a09983 100644 --- a/digikam/imageplugins/coreplugin/imageeffect_iccproof.cpp +++ b/digikam/imageplugins/coreplugin/imageeffect_iccproof.cpp @@ -440,78 +440,78 @@ ImageEffect_ICCProof::ImageEffect_ICCProof(TQWidget* parent) // ------------------------------------------------------------- - connect(lcmsLogoLabel, TQT_SIGNAL(leftClickedURL(const TQString&)), - this, TQT_SLOT(processLCMSURL(const TQString&))); + connect(lcmsLogoLabel, TQ_SIGNAL(leftClickedURL(const TQString&)), + this, TQ_SLOT(processLCMSURL(const TQString&))); - connect(m_channelCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotChannelChanged(int))); + connect(m_channelCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotChannelChanged(int))); - connect(m_scaleBG, TQT_SIGNAL(released(int)), - this, TQT_SLOT(slotScaleChanged(int))); + connect(m_scaleBG, TQ_SIGNAL(released(int)), + this, TQ_SLOT(slotScaleChanged(int))); - connect(m_curvesWidget, TQT_SIGNAL(signalCurvesChanged()), - this, TQT_SLOT(slotTimer())); + connect(m_curvesWidget, TQ_SIGNAL(signalCurvesChanged()), + this, TQ_SLOT(slotTimer())); - connect(m_cInput, TQT_SIGNAL(valueChanged (int)), - this, TQT_SLOT(slotTimer())); + connect(m_cInput, TQ_SIGNAL(valueChanged (int)), + this, TQ_SLOT(slotTimer())); - connect(m_renderingIntentsCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotEffect())); + connect(m_renderingIntentsCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotEffect())); //-- Check box options connections ------------------------------------------- - connect(m_doSoftProofBox, TQT_SIGNAL(toggled (bool)), - this, TQT_SLOT(slotEffect())); + connect(m_doSoftProofBox, TQ_SIGNAL(toggled (bool)), + this, TQ_SLOT(slotEffect())); - connect(m_checkGamutBox, TQT_SIGNAL(toggled (bool)), - this, TQT_SLOT(slotEffect())); + connect(m_checkGamutBox, TQ_SIGNAL(toggled (bool)), + this, TQ_SLOT(slotEffect())); - connect(m_BPCBox, TQT_SIGNAL(toggled (bool)), - this, TQT_SLOT(slotEffect())); + connect(m_BPCBox, TQ_SIGNAL(toggled (bool)), + this, TQ_SLOT(slotEffect())); //-- Button Group ICC profile options connections ---------------------------- - connect(m_inProfileBG, TQT_SIGNAL(released (int)), - this, TQT_SLOT(slotEffect())); + connect(m_inProfileBG, TQ_SIGNAL(released (int)), + this, TQ_SLOT(slotEffect())); - connect(m_spaceProfileBG, TQT_SIGNAL(released (int)), - this, TQT_SLOT(slotEffect())); + connect(m_spaceProfileBG, TQ_SIGNAL(released (int)), + this, TQ_SLOT(slotEffect())); - connect(m_proofProfileBG, TQT_SIGNAL(released (int)), - this, TQT_SLOT(slotEffect())); + connect(m_proofProfileBG, TQ_SIGNAL(released (int)), + this, TQ_SLOT(slotEffect())); //-- url requester ICC profile connections ----------------------------------- - connect(m_inProfilesPath, TQT_SIGNAL(urlSelected(const TQString&)), - this, TQT_SLOT(slotEffect())); + connect(m_inProfilesPath, TQ_SIGNAL(urlSelected(const TQString&)), + this, TQ_SLOT(slotEffect())); - connect(m_spaceProfilePath, TQT_SIGNAL(urlSelected(const TQString&)), - this, TQT_SLOT(slotEffect())); + connect(m_spaceProfilePath, TQ_SIGNAL(urlSelected(const TQString&)), + this, TQ_SLOT(slotEffect())); - connect(m_proofProfilePath, TQT_SIGNAL(urlSelected(const TQString&)), - this, TQT_SLOT(slotEffect())); + connect(m_proofProfilePath, TQ_SIGNAL(urlSelected(const TQString&)), + this, TQ_SLOT(slotEffect())); //-- Image preview widget connections ---------------------------- - connect(m_previewWidget, TQT_SIGNAL(signalResized()), - this, TQT_SLOT(slotEffect())); + connect(m_previewWidget, TQ_SIGNAL(signalResized()), + this, TQ_SLOT(slotEffect())); - connect(m_previewWidget, TQT_SIGNAL(spotPositionChangedFromOriginal( const Digikam::DColor &, const TQPoint & )), - this, TQT_SLOT(slotSpotColorChanged( const Digikam::DColor & ))); + connect(m_previewWidget, TQ_SIGNAL(spotPositionChangedFromOriginal( const Digikam::DColor &, const TQPoint & )), + this, TQ_SLOT(slotSpotColorChanged( const Digikam::DColor & ))); - connect(m_previewWidget, TQT_SIGNAL(spotPositionChangedFromTarget( const Digikam::DColor &, const TQPoint & )), - this, TQT_SLOT(slotColorSelectedFromTarget( const Digikam::DColor & ))); + connect(m_previewWidget, TQ_SIGNAL(spotPositionChangedFromTarget( const Digikam::DColor &, const TQPoint & )), + this, TQ_SLOT(slotColorSelectedFromTarget( const Digikam::DColor & ))); //-- ICC profile preview connections ----------------------------- - connect(inProfilesInfo, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotInICCInfo())); + connect(inProfilesInfo, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotInICCInfo())); - connect(spaceProfilesInfo, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotSpaceICCInfo())); + connect(spaceProfilesInfo, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotSpaceICCInfo())); - connect(proofProfilesInfo, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotProofICCInfo())); + connect(proofProfilesInfo, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotProofICCInfo())); } ImageEffect_ICCProof::~ImageEffect_ICCProof() diff --git a/digikam/imageplugins/coreplugin/imageeffect_redeye.cpp b/digikam/imageplugins/coreplugin/imageeffect_redeye.cpp index 496de54f..df3ae2e7 100644 --- a/digikam/imageplugins/coreplugin/imageeffect_redeye.cpp +++ b/digikam/imageplugins/coreplugin/imageeffect_redeye.cpp @@ -191,32 +191,32 @@ ImageEffect_RedEye::ImageEffect_RedEye(TQWidget* parent) // ------------------------------------------------------------- - connect(m_channelCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotChannelChanged(int))); + connect(m_channelCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotChannelChanged(int))); - connect(m_scaleBG, TQT_SIGNAL(released(int)), - this, TQT_SLOT(slotScaleChanged(int))); + connect(m_scaleBG, TQ_SIGNAL(released(int)), + this, TQ_SLOT(slotScaleChanged(int))); - connect(m_previewWidget, TQT_SIGNAL(spotPositionChangedFromTarget(const Digikam::DColor&, const TQPoint&)), - this, TQT_SLOT(slotColorSelectedFromTarget(const Digikam::DColor&))); + connect(m_previewWidget, TQ_SIGNAL(spotPositionChangedFromTarget(const Digikam::DColor&, const TQPoint&)), + this, TQ_SLOT(slotColorSelectedFromTarget(const Digikam::DColor&))); - connect(m_previewWidget, TQT_SIGNAL(signalResized()), - this, TQT_SLOT(slotEffect())); + connect(m_previewWidget, TQ_SIGNAL(signalResized()), + this, TQ_SLOT(slotEffect())); - connect(m_redThreshold, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_redThreshold, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); - connect(m_smoothLevel, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_smoothLevel, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); - connect(m_HSSelector, TQT_SIGNAL(valueChanged(int, int)), - this, TQT_SLOT(slotHSChanged(int, int))); + connect(m_HSSelector, TQ_SIGNAL(valueChanged(int, int)), + this, TQ_SLOT(slotHSChanged(int, int))); - connect(m_VSelector, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_VSelector, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); - connect(m_tintLevel, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_tintLevel, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); } ImageEffect_RedEye::~ImageEffect_RedEye() diff --git a/digikam/imageplugins/coreplugin/imageeffect_rgb.cpp b/digikam/imageplugins/coreplugin/imageeffect_rgb.cpp index 51849599..fcff9c41 100644 --- a/digikam/imageplugins/coreplugin/imageeffect_rgb.cpp +++ b/digikam/imageplugins/coreplugin/imageeffect_rgb.cpp @@ -204,38 +204,38 @@ ImageEffect_RGB::ImageEffect_RGB(TQWidget* parent) // ------------------------------------------------------------- - connect(m_channelCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotChannelChanged(int))); + connect(m_channelCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotChannelChanged(int))); - connect(m_scaleBG, TQT_SIGNAL(released(int)), - this, TQT_SLOT(slotScaleChanged(int))); + connect(m_scaleBG, TQ_SIGNAL(released(int)), + this, TQ_SLOT(slotScaleChanged(int))); - connect(m_previewWidget, TQT_SIGNAL(spotPositionChangedFromTarget( const Digikam::DColor &, const TQPoint & )), - this, TQT_SLOT(slotColorSelectedFromTarget( const Digikam::DColor & ))); + connect(m_previewWidget, TQ_SIGNAL(spotPositionChangedFromTarget( const Digikam::DColor &, const TQPoint & )), + this, TQ_SLOT(slotColorSelectedFromTarget( const Digikam::DColor & ))); - connect(m_rSlider, TQT_SIGNAL(valueChanged(int)), - m_rInput, TQT_SLOT(setValue(int))); - connect(m_rInput, TQT_SIGNAL(valueChanged (int)), - m_rSlider, TQT_SLOT(setValue(int))); - connect(m_rInput, TQT_SIGNAL(valueChanged (int)), - this, TQT_SLOT(slotTimer())); - - connect(m_gSlider, TQT_SIGNAL(valueChanged(int)), - m_gInput, TQT_SLOT(setValue(int))); - connect(m_gInput, TQT_SIGNAL(valueChanged (int)), - m_gSlider, TQT_SLOT(setValue(int))); - connect(m_gInput, TQT_SIGNAL(valueChanged (int)), - this, TQT_SLOT(slotTimer())); - - connect(m_bSlider, TQT_SIGNAL(valueChanged(int)), - m_bInput, TQT_SLOT(setValue(int))); - connect(m_bInput, TQT_SIGNAL(valueChanged (int)), - m_bSlider, TQT_SLOT(setValue(int))); - connect(m_bInput, TQT_SIGNAL(valueChanged (int)), - this, TQT_SLOT(slotTimer())); - - connect(m_previewWidget, TQT_SIGNAL(signalResized()), - this, TQT_SLOT(slotEffect())); + connect(m_rSlider, TQ_SIGNAL(valueChanged(int)), + m_rInput, TQ_SLOT(setValue(int))); + connect(m_rInput, TQ_SIGNAL(valueChanged (int)), + m_rSlider, TQ_SLOT(setValue(int))); + connect(m_rInput, TQ_SIGNAL(valueChanged (int)), + this, TQ_SLOT(slotTimer())); + + connect(m_gSlider, TQ_SIGNAL(valueChanged(int)), + m_gInput, TQ_SLOT(setValue(int))); + connect(m_gInput, TQ_SIGNAL(valueChanged (int)), + m_gSlider, TQ_SLOT(setValue(int))); + connect(m_gInput, TQ_SIGNAL(valueChanged (int)), + this, TQ_SLOT(slotTimer())); + + connect(m_bSlider, TQ_SIGNAL(valueChanged(int)), + m_bInput, TQ_SLOT(setValue(int))); + connect(m_bInput, TQ_SIGNAL(valueChanged (int)), + m_bSlider, TQ_SLOT(setValue(int))); + connect(m_bInput, TQ_SIGNAL(valueChanged (int)), + this, TQ_SLOT(slotTimer())); + + connect(m_previewWidget, TQ_SIGNAL(signalResized()), + this, TQ_SLOT(slotEffect())); // ------------------------------------------------------------- diff --git a/digikam/imageplugins/coreplugin/imageplugin_core.cpp b/digikam/imageplugins/coreplugin/imageplugin_core.cpp index 0bc4a18d..22c63b34 100644 --- a/digikam/imageplugins/coreplugin/imageplugin_core.cpp +++ b/digikam/imageplugins/coreplugin/imageplugin_core.cpp @@ -66,66 +66,66 @@ ImagePlugin_Core::ImagePlugin_Core(TQObject *parent, const char*, const TQString // Fix and Colors menu actions m_blurAction = new TDEAction(i18n("Blur..."), "blurimage", 0, - this, TQT_SLOT(slotBlur()), + this, TQ_SLOT(slotBlur()), actionCollection(), "implugcore_blur"); m_sharpenAction = new TDEAction(i18n("Sharpen..."), "sharpenimage", 0, - this, TQT_SLOT(slotSharpen()), + this, TQ_SLOT(slotSharpen()), actionCollection(), "implugcore_sharpen"); m_redeyeAction = new TDEAction(i18n("Red Eye..."), "redeyes", 0, - this, TQT_SLOT(slotRedEye()), + this, TQ_SLOT(slotRedEye()), actionCollection(), "implugcore_redeye"); m_redeyeAction->setWhatsThis( i18n( "This filter can be used to correct red eyes in a photo. " "Select a region including the eyes to use this option.") ); m_BCGAction = new TDEAction(i18n("Brightness/Contrast/Gamma..."), "contrast", 0, - this, TQT_SLOT(slotBCG()), + this, TQ_SLOT(slotBCG()), actionCollection(), "implugcore_bcg"); m_HSLAction = new TDEAction(i18n("Hue/Saturation/Lightness..."), "adjusthsl", CTRL+Key_U, // NOTE: Photoshop 7 use CTRL+U. - this, TQT_SLOT(slotHSL()), + this, TQ_SLOT(slotHSL()), actionCollection(), "implugcore_hsl"); m_RGBAction = new TDEAction(i18n("Color Balance..."), "adjustrgb", CTRL+Key_B, // NOTE: Photoshop 7 use CTRL+B. - this, TQT_SLOT(slotRGB()), + this, TQ_SLOT(slotRGB()), actionCollection(), "implugcore_rgb"); m_autoCorrectionAction = new TDEAction(i18n("Auto-Correction..."), "autocorrection", CTRL+SHIFT+Key_B, // NOTE: Photoshop 7 use CTRL+SHIFT+B with 'Auto-Color' option. - this, TQT_SLOT(slotAutoCorrection()), + this, TQ_SLOT(slotAutoCorrection()), actionCollection(), "implugcore_autocorrection"); m_invertAction = new TDEAction(i18n("Invert"), "invertimage", CTRL+Key_I, // NOTE: Photoshop 7 use CTRL+I. - this, TQT_SLOT(slotInvert()), + this, TQ_SLOT(slotInvert()), actionCollection(), "implugcore_invert"); m_convertTo8Bits = new TDEAction(i18n("8 bits"), "depth16to8", 0, - this, TQT_SLOT(slotConvertTo8Bits()), + this, TQ_SLOT(slotConvertTo8Bits()), actionCollection(), "implugcore_convertto8bits"); m_convertTo16Bits = new TDEAction(i18n("16 bits"), "depth8to16", 0, - this, TQT_SLOT(slotConvertTo16Bits()), + this, TQ_SLOT(slotConvertTo16Bits()), actionCollection(), "implugcore_convertto16bits"); m_colorManagementAction = new TDEAction(i18n("Color Management..."), "colormanagement", 0, - this, TQT_SLOT(slotColorManagement()), + this, TQ_SLOT(slotColorManagement()), actionCollection(), "implugcore_colormanagement"); //------------------------------- // Filters menu actions. m_BWAction = new TDEAction(i18n("Black && White..."), "bwtonal", 0, - this, TQT_SLOT(slotBW()), + this, TQ_SLOT(slotBW()), actionCollection(), "implugcore_blackwhite"); //------------------------------- // Transform menu actions. m_aspectRatioCropAction = new TDEAction(i18n("Aspect Ratio Crop..."), "ratiocrop", 0, - this, TQT_SLOT(slotRatioCrop()), + this, TQ_SLOT(slotRatioCrop()), actionCollection(), "implugcore_ratiocrop"); //------------------------------- diff --git a/digikam/imageplugins/coreplugin/ratiocrop/imageeffect_ratiocrop.cpp b/digikam/imageplugins/coreplugin/ratiocrop/imageeffect_ratiocrop.cpp index b66f391c..64bc7a8e 100644 --- a/digikam/imageplugins/coreplugin/ratiocrop/imageeffect_ratiocrop.cpp +++ b/digikam/imageplugins/coreplugin/ratiocrop/imageeffect_ratiocrop.cpp @@ -262,77 +262,77 @@ ImageEffect_RatioCrop::ImageEffect_RatioCrop(TQWidget* parent) // ------------------------------------------------------------- - connect(m_ratioCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotRatioChanged(int))); + connect(m_ratioCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotRatioChanged(int))); - connect(m_preciseCrop, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotPreciseCropChanged(bool))); + connect(m_preciseCrop, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotPreciseCropChanged(bool))); - connect(m_orientCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotOrientChanged(int))); + connect(m_orientCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotOrientChanged(int))); - connect(m_autoOrientation, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotAutoOrientChanged(bool))); + connect(m_autoOrientation, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotAutoOrientChanged(bool))); - connect(m_xInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotXChanged(int))); + connect(m_xInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotXChanged(int))); - connect(m_yInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotYChanged(int))); + connect(m_yInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotYChanged(int))); - connect(m_customRatioNInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotCustomNRatioChanged(int))); + connect(m_customRatioNInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotCustomNRatioChanged(int))); - connect(m_customRatioDInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotCustomDRatioChanged(int))); + connect(m_customRatioDInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotCustomDRatioChanged(int))); - connect(m_guideLinesCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotGuideTypeChanged(int))); + connect(m_guideLinesCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotGuideTypeChanged(int))); - connect(m_goldenSectionBox, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotGoldenGuideTypeChanged())); + connect(m_goldenSectionBox, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotGoldenGuideTypeChanged())); - connect(m_goldenSpiralSectionBox, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotGoldenGuideTypeChanged())); + connect(m_goldenSpiralSectionBox, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotGoldenGuideTypeChanged())); - connect(m_goldenSpiralBox, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotGoldenGuideTypeChanged())); + connect(m_goldenSpiralBox, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotGoldenGuideTypeChanged())); - connect(m_goldenTriangleBox, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotGoldenGuideTypeChanged())); + connect(m_goldenTriangleBox, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotGoldenGuideTypeChanged())); - connect(m_flipHorBox, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotGoldenGuideTypeChanged())); + connect(m_flipHorBox, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotGoldenGuideTypeChanged())); - connect(m_flipVerBox, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotGoldenGuideTypeChanged())); + connect(m_flipVerBox, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotGoldenGuideTypeChanged())); - connect(m_guideColorBt, TQT_SIGNAL(changed(const TQColor &)), - m_imageSelectionWidget, TQT_SLOT(slotChangeGuideColor(const TQColor &))); + connect(m_guideColorBt, TQ_SIGNAL(changed(const TQColor &)), + m_imageSelectionWidget, TQ_SLOT(slotChangeGuideColor(const TQColor &))); - connect(m_guideSize, TQT_SIGNAL(valueChanged(int)), - m_imageSelectionWidget, TQT_SLOT(slotChangeGuideSize(int))); + connect(m_guideSize, TQ_SIGNAL(valueChanged(int)), + m_imageSelectionWidget, TQ_SLOT(slotChangeGuideSize(int))); - connect(m_widthInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotWidthChanged(int))); + connect(m_widthInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotWidthChanged(int))); - connect(m_heightInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotHeightChanged(int))); + connect(m_heightInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotHeightChanged(int))); - connect(m_imageSelectionWidget, TQT_SIGNAL(signalSelectionChanged(TQRect)), - this, TQT_SLOT(slotSelectionChanged(TQRect))); + connect(m_imageSelectionWidget, TQ_SIGNAL(signalSelectionChanged(TQRect)), + this, TQ_SLOT(slotSelectionChanged(TQRect))); - connect(m_imageSelectionWidget, TQT_SIGNAL(signalSelectionMoved(TQRect)), - this, TQT_SLOT(slotSelectionChanged(TQRect))); + connect(m_imageSelectionWidget, TQ_SIGNAL(signalSelectionMoved(TQRect)), + this, TQ_SLOT(slotSelectionChanged(TQRect))); - connect(m_imageSelectionWidget, TQT_SIGNAL(signalSelectionOrientationChanged(int)), - this, TQT_SLOT(slotSelectionOrientationChanged(int))); + connect(m_imageSelectionWidget, TQ_SIGNAL(signalSelectionOrientationChanged(int)), + this, TQ_SLOT(slotSelectionOrientationChanged(int))); - connect(m_centerWidth, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotCenterWidth())); + connect(m_centerWidth, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotCenterWidth())); - connect(m_centerHeight, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotCenterHeight())); + connect(m_centerHeight, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotCenterHeight())); // ------------------------------------------------------------- diff --git a/digikam/imageplugins/coreplugin/ratiocrop/ratiocroptool.cpp b/digikam/imageplugins/coreplugin/ratiocrop/ratiocroptool.cpp index ad49e17c..ed0e670e 100644 --- a/digikam/imageplugins/coreplugin/ratiocrop/ratiocroptool.cpp +++ b/digikam/imageplugins/coreplugin/ratiocrop/ratiocroptool.cpp @@ -306,84 +306,84 @@ RatioCropTool::RatioCropTool(TQObject* parent) // ------------------------------------------------------------- - connect(m_ratioCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotRatioChanged(int))); + connect(m_ratioCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotRatioChanged(int))); - connect(m_preciseCrop, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotPreciseCropChanged(bool))); + connect(m_preciseCrop, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotPreciseCropChanged(bool))); - connect(m_orientCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotOrientChanged(int))); + connect(m_orientCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotOrientChanged(int))); - connect(m_autoOrientation, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotAutoOrientChanged(bool))); + connect(m_autoOrientation, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotAutoOrientChanged(bool))); - connect(m_xInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotXChanged(int))); + connect(m_xInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotXChanged(int))); - connect(m_yInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotYChanged(int))); + connect(m_yInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotYChanged(int))); - connect(m_customRatioNInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotCustomNRatioChanged(int))); + connect(m_customRatioNInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotCustomNRatioChanged(int))); - connect(m_customRatioDInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotCustomDRatioChanged(int))); + connect(m_customRatioDInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotCustomDRatioChanged(int))); - connect(m_guideLinesCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotGuideTypeChanged(int))); + connect(m_guideLinesCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotGuideTypeChanged(int))); - connect(m_goldenSectionBox, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotGoldenGuideTypeChanged())); + connect(m_goldenSectionBox, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotGoldenGuideTypeChanged())); - connect(m_goldenSpiralSectionBox, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotGoldenGuideTypeChanged())); + connect(m_goldenSpiralSectionBox, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotGoldenGuideTypeChanged())); - connect(m_goldenSpiralBox, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotGoldenGuideTypeChanged())); + connect(m_goldenSpiralBox, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotGoldenGuideTypeChanged())); - connect(m_goldenTriangleBox, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotGoldenGuideTypeChanged())); + connect(m_goldenTriangleBox, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotGoldenGuideTypeChanged())); - connect(m_flipHorBox, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotGoldenGuideTypeChanged())); + connect(m_flipHorBox, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotGoldenGuideTypeChanged())); - connect(m_flipVerBox, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotGoldenGuideTypeChanged())); + connect(m_flipVerBox, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotGoldenGuideTypeChanged())); - connect(m_guideColorBt, TQT_SIGNAL(changed(const TQColor&)), - m_imageSelectionWidget, TQT_SLOT(slotChangeGuideColor(const TQColor&))); + connect(m_guideColorBt, TQ_SIGNAL(changed(const TQColor&)), + m_imageSelectionWidget, TQ_SLOT(slotChangeGuideColor(const TQColor&))); - connect(m_guideSize, TQT_SIGNAL(valueChanged(int)), - m_imageSelectionWidget, TQT_SLOT(slotChangeGuideSize(int))); + connect(m_guideSize, TQ_SIGNAL(valueChanged(int)), + m_imageSelectionWidget, TQ_SLOT(slotChangeGuideSize(int))); - connect(m_widthInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotWidthChanged(int))); + connect(m_widthInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotWidthChanged(int))); - connect(m_heightInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotHeightChanged(int))); + connect(m_heightInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotHeightChanged(int))); - connect(m_imageSelectionWidget, TQT_SIGNAL(signalSelectionChanged(TQRect)), - this, TQT_SLOT(slotSelectionChanged(TQRect))); + connect(m_imageSelectionWidget, TQ_SIGNAL(signalSelectionChanged(TQRect)), + this, TQ_SLOT(slotSelectionChanged(TQRect))); - connect(m_imageSelectionWidget, TQT_SIGNAL(signalSelectionMoved(TQRect)), - this, TQT_SLOT(slotSelectionChanged(TQRect))); + connect(m_imageSelectionWidget, TQ_SIGNAL(signalSelectionMoved(TQRect)), + this, TQ_SLOT(slotSelectionChanged(TQRect))); - connect(m_imageSelectionWidget, TQT_SIGNAL(signalSelectionOrientationChanged(int)), - this, TQT_SLOT(slotSelectionOrientationChanged(int))); + connect(m_imageSelectionWidget, TQ_SIGNAL(signalSelectionOrientationChanged(int)), + this, TQ_SLOT(slotSelectionOrientationChanged(int))); - connect(m_centerWidth, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotCenterWidth())); + connect(m_centerWidth, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotCenterWidth())); - connect(m_centerHeight, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotCenterHeight())); + connect(m_centerHeight, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotCenterHeight())); // we need to disconnect the standard connection of the Try button first - disconnect(m_gboxSettings, TQT_SIGNAL(signalTryClicked()), - this, TQT_SLOT(slotEffect())); + disconnect(m_gboxSettings, TQ_SIGNAL(signalTryClicked()), + this, TQ_SLOT(slotEffect())); - connect(m_gboxSettings, TQT_SIGNAL(signalTryClicked()), - this, TQT_SLOT(slotMaxAspectRatio())); + connect(m_gboxSettings, TQ_SIGNAL(signalTryClicked()), + this, TQ_SLOT(slotMaxAspectRatio())); // ------------------------------------------------------------- diff --git a/digikam/imageplugins/coreplugin/redeyetool.cpp b/digikam/imageplugins/coreplugin/redeyetool.cpp index b1e55797..5b5af7e7 100644 --- a/digikam/imageplugins/coreplugin/redeyetool.cpp +++ b/digikam/imageplugins/coreplugin/redeyetool.cpp @@ -208,32 +208,32 @@ RedEyeTool::RedEyeTool(TQObject* parent) // ------------------------------------------------------------- - connect(m_channelCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotChannelChanged(int))); + connect(m_channelCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotChannelChanged(int))); - connect(m_scaleBG, TQT_SIGNAL(released(int)), - this, TQT_SLOT(slotScaleChanged(int))); + connect(m_scaleBG, TQ_SIGNAL(released(int)), + this, TQ_SLOT(slotScaleChanged(int))); - connect(m_previewWidget, TQT_SIGNAL(spotPositionChangedFromTarget(const Digikam::DColor&, const TQPoint&)), - this, TQT_SLOT(slotColorSelectedFromTarget(const Digikam::DColor&))); + connect(m_previewWidget, TQ_SIGNAL(spotPositionChangedFromTarget(const Digikam::DColor&, const TQPoint&)), + this, TQ_SLOT(slotColorSelectedFromTarget(const Digikam::DColor&))); - connect(m_previewWidget, TQT_SIGNAL(signalResized()), - this, TQT_SLOT(slotEffect())); + connect(m_previewWidget, TQ_SIGNAL(signalResized()), + this, TQ_SLOT(slotEffect())); - connect(m_redThreshold, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_redThreshold, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); - connect(m_smoothLevel, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_smoothLevel, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); - connect(m_HSSelector, TQT_SIGNAL(valueChanged(int, int)), - this, TQT_SLOT(slotHSChanged(int, int))); + connect(m_HSSelector, TQ_SIGNAL(valueChanged(int, int)), + this, TQ_SLOT(slotHSChanged(int, int))); - connect(m_VSelector, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_VSelector, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); - connect(m_tintLevel, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_tintLevel, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); } RedEyeTool::~RedEyeTool() diff --git a/digikam/imageplugins/coreplugin/rgbtool.cpp b/digikam/imageplugins/coreplugin/rgbtool.cpp index 457458ff..e27e396e 100644 --- a/digikam/imageplugins/coreplugin/rgbtool.cpp +++ b/digikam/imageplugins/coreplugin/rgbtool.cpp @@ -224,38 +224,38 @@ RGBTool::RGBTool(TQObject* parent) // ------------------------------------------------------------- - connect(m_channelCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotChannelChanged(int))); - - connect(m_scaleBG, TQT_SIGNAL(released(int)), - this, TQT_SLOT(slotScaleChanged(int))); - - connect(m_previewWidget, TQT_SIGNAL(spotPositionChangedFromTarget( const Digikam::DColor &, const TQPoint & )), - this, TQT_SLOT(slotColorSelectedFromTarget( const Digikam::DColor & ))); - - connect(m_rSlider, TQT_SIGNAL(valueChanged(int)), - m_rInput, TQT_SLOT(setValue(int))); - connect(m_rInput, TQT_SIGNAL(valueChanged (int)), - m_rSlider, TQT_SLOT(setValue(int))); - connect(m_rInput, TQT_SIGNAL(valueChanged (int)), - this, TQT_SLOT(slotTimer())); - - connect(m_gSlider, TQT_SIGNAL(valueChanged(int)), - m_gInput, TQT_SLOT(setValue(int))); - connect(m_gInput, TQT_SIGNAL(valueChanged (int)), - m_gSlider, TQT_SLOT(setValue(int))); - connect(m_gInput, TQT_SIGNAL(valueChanged (int)), - this, TQT_SLOT(slotTimer())); - - connect(m_bSlider, TQT_SIGNAL(valueChanged(int)), - m_bInput, TQT_SLOT(setValue(int))); - connect(m_bInput, TQT_SIGNAL(valueChanged (int)), - m_bSlider, TQT_SLOT(setValue(int))); - connect(m_bInput, TQT_SIGNAL(valueChanged (int)), - this, TQT_SLOT(slotTimer())); - - connect(m_previewWidget, TQT_SIGNAL(signalResized()), - this, TQT_SLOT(slotEffect())); + connect(m_channelCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotChannelChanged(int))); + + connect(m_scaleBG, TQ_SIGNAL(released(int)), + this, TQ_SLOT(slotScaleChanged(int))); + + connect(m_previewWidget, TQ_SIGNAL(spotPositionChangedFromTarget( const Digikam::DColor &, const TQPoint & )), + this, TQ_SLOT(slotColorSelectedFromTarget( const Digikam::DColor & ))); + + connect(m_rSlider, TQ_SIGNAL(valueChanged(int)), + m_rInput, TQ_SLOT(setValue(int))); + connect(m_rInput, TQ_SIGNAL(valueChanged (int)), + m_rSlider, TQ_SLOT(setValue(int))); + connect(m_rInput, TQ_SIGNAL(valueChanged (int)), + this, TQ_SLOT(slotTimer())); + + connect(m_gSlider, TQ_SIGNAL(valueChanged(int)), + m_gInput, TQ_SLOT(setValue(int))); + connect(m_gInput, TQ_SIGNAL(valueChanged (int)), + m_gSlider, TQ_SLOT(setValue(int))); + connect(m_gInput, TQ_SIGNAL(valueChanged (int)), + this, TQ_SLOT(slotTimer())); + + connect(m_bSlider, TQ_SIGNAL(valueChanged(int)), + m_bInput, TQ_SLOT(setValue(int))); + connect(m_bInput, TQ_SIGNAL(valueChanged (int)), + m_bSlider, TQ_SLOT(setValue(int))); + connect(m_bInput, TQ_SIGNAL(valueChanged (int)), + this, TQ_SLOT(slotTimer())); + + connect(m_previewWidget, TQ_SIGNAL(signalResized()), + this, TQ_SLOT(slotEffect())); // ------------------------------------------------------------- diff --git a/digikam/imageplugins/coreplugin/sharpnesseditor/imageeffect_sharpen.cpp b/digikam/imageplugins/coreplugin/sharpnesseditor/imageeffect_sharpen.cpp index 87926953..b2ae9a62 100644 --- a/digikam/imageplugins/coreplugin/sharpnesseditor/imageeffect_sharpen.cpp +++ b/digikam/imageplugins/coreplugin/sharpnesseditor/imageeffect_sharpen.cpp @@ -205,8 +205,8 @@ ImageEffect_Sharpen::ImageEffect_Sharpen(TQWidget* parent) // ------------------------------------------------------------- - connect(m_sharpMethod, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotSharpMethodActived(int))); + connect(m_sharpMethod, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotSharpMethodActived(int))); // ------------------------------------------------------------- diff --git a/digikam/imageplugins/coreplugin/sharpnesseditor/sharpentool.cpp b/digikam/imageplugins/coreplugin/sharpnesseditor/sharpentool.cpp index 7ec52f45..aee5d841 100644 --- a/digikam/imageplugins/coreplugin/sharpnesseditor/sharpentool.cpp +++ b/digikam/imageplugins/coreplugin/sharpnesseditor/sharpentool.cpp @@ -248,8 +248,8 @@ SharpenTool::SharpenTool(TQObject* parent) // ------------------------------------------------------------- - connect(m_sharpMethod, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotSharpMethodActived(int))); + connect(m_sharpMethod, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotSharpMethodActived(int))); // ------------------------------------------------------------- diff --git a/digikam/imageplugins/distortionfx/distortionfxtool.cpp b/digikam/imageplugins/distortionfx/distortionfxtool.cpp index 3be193c3..45ff0e45 100644 --- a/digikam/imageplugins/distortionfx/distortionfxtool.cpp +++ b/digikam/imageplugins/distortionfx/distortionfxtool.cpp @@ -164,17 +164,17 @@ DistortionFXTool::DistortionFXTool(TQObject* parent) // ------------------------------------------------------------- - connect(m_effectType, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotEffectTypeChanged(int))); + connect(m_effectType, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotEffectTypeChanged(int))); - connect(m_levelInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_levelInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); - connect(m_iterationInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_iterationInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); - connect(m_gboxSettings, TQT_SIGNAL(signalColorGuideChanged()), - this, TQT_SLOT(slotColorGuideChanged())); + connect(m_gboxSettings, TQ_SIGNAL(signalColorGuideChanged()), + this, TQ_SLOT(slotColorGuideChanged())); } DistortionFXTool::~DistortionFXTool() diff --git a/digikam/imageplugins/distortionfx/imageeffect_distortionfx.cpp b/digikam/imageplugins/distortionfx/imageeffect_distortionfx.cpp index bf5fc9fc..695e7749 100644 --- a/digikam/imageplugins/distortionfx/imageeffect_distortionfx.cpp +++ b/digikam/imageplugins/distortionfx/imageeffect_distortionfx.cpp @@ -164,14 +164,14 @@ ImageEffect_DistortionFX::ImageEffect_DistortionFX(TQWidget* parent) // ------------------------------------------------------------- - connect(m_effectType, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotEffectTypeChanged(int))); + connect(m_effectType, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotEffectTypeChanged(int))); - connect(m_levelInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_levelInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); - connect(m_iterationInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_iterationInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); } ImageEffect_DistortionFX::~ImageEffect_DistortionFX() diff --git a/digikam/imageplugins/distortionfx/imageplugin_distortionfx.cpp b/digikam/imageplugins/distortionfx/imageplugin_distortionfx.cpp index c6e61082..582e1b99 100644 --- a/digikam/imageplugins/distortionfx/imageplugin_distortionfx.cpp +++ b/digikam/imageplugins/distortionfx/imageplugin_distortionfx.cpp @@ -48,7 +48,7 @@ ImagePlugin_DistortionFX::ImagePlugin_DistortionFX(TQObject *parent, const char* : Digikam::ImagePlugin(parent, "ImagePlugin_DistortionFX") { m_distortionfxAction = new TDEAction(i18n("Distortion Effects..."), "distortionfx", 0, - this, TQT_SLOT(slotDistortionFX()), + this, TQ_SLOT(slotDistortionFX()), actionCollection(), "imageplugin_distortionfx"); setXMLFile( "digikamimageplugin_distortionfx_ui.rc" ); diff --git a/digikam/imageplugins/emboss/embosstool.cpp b/digikam/imageplugins/emboss/embosstool.cpp index be03d077..f16ef4de 100644 --- a/digikam/imageplugins/emboss/embosstool.cpp +++ b/digikam/imageplugins/emboss/embosstool.cpp @@ -96,8 +96,8 @@ EmbossTool::EmbossTool(TQObject* parent) // ------------------------------------------------------------- - connect(m_depthInput, TQT_SIGNAL(valueChanged (int)), - this, TQT_SLOT(slotTimer())); + connect(m_depthInput, TQ_SIGNAL(valueChanged (int)), + this, TQ_SLOT(slotTimer())); } EmbossTool::~EmbossTool() diff --git a/digikam/imageplugins/emboss/imageeffect_emboss.cpp b/digikam/imageplugins/emboss/imageeffect_emboss.cpp index 9ec68b4c..b4557c80 100644 --- a/digikam/imageplugins/emboss/imageeffect_emboss.cpp +++ b/digikam/imageplugins/emboss/imageeffect_emboss.cpp @@ -95,8 +95,8 @@ ImageEffect_Emboss::ImageEffect_Emboss(TQWidget* parent) // ------------------------------------------------------------- - connect(m_depthInput, TQT_SIGNAL(valueChanged (int)), - this, TQT_SLOT(slotTimer())); + connect(m_depthInput, TQ_SIGNAL(valueChanged (int)), + this, TQ_SLOT(slotTimer())); } ImageEffect_Emboss::~ImageEffect_Emboss() diff --git a/digikam/imageplugins/emboss/imageplugin_emboss.cpp b/digikam/imageplugins/emboss/imageplugin_emboss.cpp index 95804805..6bd616d6 100644 --- a/digikam/imageplugins/emboss/imageplugin_emboss.cpp +++ b/digikam/imageplugins/emboss/imageplugin_emboss.cpp @@ -48,7 +48,7 @@ ImagePlugin_Emboss::ImagePlugin_Emboss(TQObject *parent, const char*, : Digikam::ImagePlugin(parent, "ImagePlugin_Emboss") { m_embossAction = new TDEAction(i18n("Emboss..."), "embosstool", 0, - this, TQT_SLOT(slotEmboss()), + this, TQ_SLOT(slotEmboss()), actionCollection(), "imageplugin_emboss"); setXMLFile( "digikamimageplugin_emboss_ui.rc" ); diff --git a/digikam/imageplugins/filmgrain/filmgraintool.cpp b/digikam/imageplugins/filmgrain/filmgraintool.cpp index 757ed80f..5799d814 100644 --- a/digikam/imageplugins/filmgrain/filmgraintool.cpp +++ b/digikam/imageplugins/filmgrain/filmgraintool.cpp @@ -108,16 +108,16 @@ FilmGrainTool::FilmGrainTool(TQObject* parent) // ------------------------------------------------------------- - connect( m_sensibilitySlider, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer()) ); + connect( m_sensibilitySlider, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer()) ); // this connection is necessary to change the LCD display when // the value is changed by single clicking on the slider - connect( m_sensibilitySlider, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotSliderMoved(int)) ); + connect( m_sensibilitySlider, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotSliderMoved(int)) ); - connect( m_sensibilitySlider, TQT_SIGNAL(sliderMoved(int)), - this, TQT_SLOT(slotSliderMoved(int)) ); + connect( m_sensibilitySlider, TQ_SIGNAL(sliderMoved(int)), + this, TQ_SLOT(slotSliderMoved(int)) ); } FilmGrainTool::~FilmGrainTool() diff --git a/digikam/imageplugins/filmgrain/imageeffect_filmgrain.cpp b/digikam/imageplugins/filmgrain/imageeffect_filmgrain.cpp index 51884798..e008095a 100644 --- a/digikam/imageplugins/filmgrain/imageeffect_filmgrain.cpp +++ b/digikam/imageplugins/filmgrain/imageeffect_filmgrain.cpp @@ -108,16 +108,16 @@ ImageEffect_FilmGrain::ImageEffect_FilmGrain(TQWidget* parent) // ------------------------------------------------------------- - connect( m_sensibilitySlider, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer()) ); + connect( m_sensibilitySlider, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer()) ); // this connection is necessary to change the LCD display when // the value is changed by single clicking on the slider - connect( m_sensibilitySlider, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotSliderMoved(int)) ); + connect( m_sensibilitySlider, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotSliderMoved(int)) ); - connect( m_sensibilitySlider, TQT_SIGNAL(sliderMoved(int)), - this, TQT_SLOT(slotSliderMoved(int)) ); + connect( m_sensibilitySlider, TQ_SIGNAL(sliderMoved(int)), + this, TQ_SLOT(slotSliderMoved(int)) ); } ImageEffect_FilmGrain::~ImageEffect_FilmGrain() diff --git a/digikam/imageplugins/filmgrain/imageplugin_filmgrain.cpp b/digikam/imageplugins/filmgrain/imageplugin_filmgrain.cpp index 2d4efe4e..efa2c35d 100644 --- a/digikam/imageplugins/filmgrain/imageplugin_filmgrain.cpp +++ b/digikam/imageplugins/filmgrain/imageplugin_filmgrain.cpp @@ -47,7 +47,7 @@ ImagePlugin_FilmGrain::ImagePlugin_FilmGrain(TQObject *parent, const char*, cons : Digikam::ImagePlugin(parent, "ImagePlugin_FilmGrain") { m_filmgrainAction = new TDEAction(i18n("Add Film Grain..."), "filmgrain", 0, - this, TQT_SLOT(slotFilmGrain()), + this, TQ_SLOT(slotFilmGrain()), actionCollection(), "imageplugin_filmgrain"); setXMLFile( "digikamimageplugin_filmgrain_ui.rc" ); diff --git a/digikam/imageplugins/freerotation/freerotationtool.cpp b/digikam/imageplugins/freerotation/freerotationtool.cpp index 70c053ce..b25f2196 100644 --- a/digikam/imageplugins/freerotation/freerotationtool.cpp +++ b/digikam/imageplugins/freerotation/freerotationtool.cpp @@ -153,20 +153,20 @@ FreeRotationTool::FreeRotationTool(TQObject* parent) // ------------------------------------------------------------- - connect(m_angleInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_angleInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); - connect(m_fineAngleInput, TQT_SIGNAL(valueChanged(double)), - this, TQT_SLOT(slotTimer())); + connect(m_fineAngleInput, TQ_SIGNAL(valueChanged(double)), + this, TQ_SLOT(slotTimer())); - connect(m_antialiasInput, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotEffect())); + connect(m_antialiasInput, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotEffect())); - connect(m_autoCropCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotEffect())); + connect(m_autoCropCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotEffect())); - connect(m_gboxSettings, TQT_SIGNAL(signalColorGuideChanged()), - this, TQT_SLOT(slotColorGuideChanged())); + connect(m_gboxSettings, TQ_SIGNAL(signalColorGuideChanged()), + this, TQ_SLOT(slotColorGuideChanged())); } FreeRotationTool::~FreeRotationTool() diff --git a/digikam/imageplugins/freerotation/imageeffect_freerotation.cpp b/digikam/imageplugins/freerotation/imageeffect_freerotation.cpp index 9e546e04..bce50f07 100644 --- a/digikam/imageplugins/freerotation/imageeffect_freerotation.cpp +++ b/digikam/imageplugins/freerotation/imageeffect_freerotation.cpp @@ -156,17 +156,17 @@ ImageEffect_FreeRotation::ImageEffect_FreeRotation(TQWidget* parent) // ------------------------------------------------------------- - connect(m_angleInput, TQT_SIGNAL(valueChanged (int)), - this, TQT_SLOT(slotTimer())); + connect(m_angleInput, TQ_SIGNAL(valueChanged (int)), + this, TQ_SLOT(slotTimer())); - connect(m_fineAngleInput, TQT_SIGNAL(valueChanged (double)), - this, TQT_SLOT(slotTimer())); + connect(m_fineAngleInput, TQ_SIGNAL(valueChanged (double)), + this, TQ_SLOT(slotTimer())); - connect(m_antialiasInput, TQT_SIGNAL(toggled (bool)), - this, TQT_SLOT(slotEffect())); + connect(m_antialiasInput, TQ_SIGNAL(toggled (bool)), + this, TQ_SLOT(slotEffect())); - connect(m_autoCropCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotEffect())); + connect(m_autoCropCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotEffect())); } ImageEffect_FreeRotation::~ImageEffect_FreeRotation() diff --git a/digikam/imageplugins/freerotation/imageplugin_freerotation.cpp b/digikam/imageplugins/freerotation/imageplugin_freerotation.cpp index acf632b3..0c04a2ca 100644 --- a/digikam/imageplugins/freerotation/imageplugin_freerotation.cpp +++ b/digikam/imageplugins/freerotation/imageplugin_freerotation.cpp @@ -46,7 +46,7 @@ ImagePlugin_FreeRotation::ImagePlugin_FreeRotation(TQObject *parent, const char* : Digikam::ImagePlugin(parent, "ImagePlugin_FreeRotation") { m_freerotationAction = new TDEAction(i18n("Free Rotation..."), "freerotation", 0, - this, TQT_SLOT(slotFreeRotation()), + this, TQ_SLOT(slotFreeRotation()), actionCollection(), "imageplugin_freerotation"); setXMLFile("digikamimageplugin_freerotation_ui.rc"); diff --git a/digikam/imageplugins/hotpixels/blackframelistview.cpp b/digikam/imageplugins/hotpixels/blackframelistview.cpp index 20f8cbdb..1202b094 100644 --- a/digikam/imageplugins/hotpixels/blackframelistview.cpp +++ b/digikam/imageplugins/hotpixels/blackframelistview.cpp @@ -59,17 +59,17 @@ BlackFrameListViewItem::BlackFrameListViewItem(BlackFrameListView* parent, const m_parser = new BlackFrameParser(parent); m_parser->parseBlackFrame(url); - connect(m_parser, TQT_SIGNAL(parsed(TQValueList)), - this, TQT_SLOT(slotParsed(TQValueList))); + connect(m_parser, TQ_SIGNAL(parsed(TQValueList)), + this, TQ_SLOT(slotParsed(TQValueList))); - connect(this, TQT_SIGNAL(parsed(TQValueList, const KURL&)), - parent, TQT_SLOT(slotParsed(TQValueList, const KURL&))); + connect(this, TQ_SIGNAL(parsed(TQValueList, const KURL&)), + parent, TQ_SLOT(slotParsed(TQValueList, const KURL&))); - connect(m_parser, TQT_SIGNAL(signalLoadingProgress(float)), - this, TQT_SIGNAL(signalLoadingProgress(float))); + connect(m_parser, TQ_SIGNAL(signalLoadingProgress(float)), + this, TQ_SIGNAL(signalLoadingProgress(float))); - connect(m_parser, TQT_SIGNAL(signalLoadingComplete()), - this, TQT_SIGNAL(signalLoadingComplete())); + connect(m_parser, TQ_SIGNAL(signalLoadingComplete()), + this, TQ_SIGNAL(signalLoadingComplete())); } void BlackFrameListViewItem::activate() diff --git a/digikam/imageplugins/hotpixels/blackframeparser.cpp b/digikam/imageplugins/hotpixels/blackframeparser.cpp index b6e2c898..7306f4e6 100644 --- a/digikam/imageplugins/hotpixels/blackframeparser.cpp +++ b/digikam/imageplugins/hotpixels/blackframeparser.cpp @@ -84,11 +84,11 @@ void BlackFrameParser::parseBlackFrame(const KURL &url) { m_imageLoaderThread = new LoadSaveThread(); - connect(m_imageLoaderThread, TQT_SIGNAL(signalLoadingProgress(const LoadingDescription&, float)), - this, TQT_SLOT(slotLoadingProgress(const LoadingDescription&, float))); + connect(m_imageLoaderThread, TQ_SIGNAL(signalLoadingProgress(const LoadingDescription&, float)), + this, TQ_SLOT(slotLoadingProgress(const LoadingDescription&, float))); - connect(m_imageLoaderThread, TQT_SIGNAL(signalImageLoaded(const LoadingDescription&, const DImg&)), - this, TQT_SLOT(slotLoadImageFromUrlComplete(const LoadingDescription&, const DImg&))); + connect(m_imageLoaderThread, TQ_SIGNAL(signalImageLoaded(const LoadingDescription&, const DImg&)), + this, TQ_SLOT(slotLoadImageFromUrlComplete(const LoadingDescription&, const DImg&))); } LoadingDescription desc = LoadingDescription(m_localFile, DRawDecoding()); diff --git a/digikam/imageplugins/hotpixels/hotpixelstool.cpp b/digikam/imageplugins/hotpixels/hotpixelstool.cpp index 4cabb689..fbcc6c9f 100644 --- a/digikam/imageplugins/hotpixels/hotpixelstool.cpp +++ b/digikam/imageplugins/hotpixels/hotpixelstool.cpp @@ -119,14 +119,14 @@ HotPixelsTool::HotPixelsTool(TQObject* parent) // ------------------------------------------------------------- - connect(m_filterMethodCombo, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotEffect())); + connect(m_filterMethodCombo, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotEffect())); - connect(m_blackFrameButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotAddBlackFrame())); + connect(m_blackFrameButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotAddBlackFrame())); - connect(m_blackFrameListView, TQT_SIGNAL(blackFrameSelected(TQValueList, const KURL&)), - this, TQT_SLOT(slotBlackFrame(TQValueList, const KURL&))); + connect(m_blackFrameListView, TQ_SIGNAL(blackFrameSelected(TQValueList, const KURL&)), + this, TQ_SLOT(slotBlackFrame(TQValueList, const KURL&))); } HotPixelsTool::~HotPixelsTool() @@ -146,11 +146,11 @@ void HotPixelsTool::readSettings() EditorToolIface::editorToolIface()->setToolStartProgress(i18n("Loading: ")); BlackFrameListViewItem *item = new BlackFrameListViewItem(m_blackFrameListView, m_blackFrameURL); - connect(item, TQT_SIGNAL(signalLoadingProgress(float)), - this, TQT_SLOT(slotLoadingProgress(float))); + connect(item, TQ_SIGNAL(signalLoadingProgress(float)), + this, TQ_SLOT(slotLoadingProgress(float))); - connect(item, TQT_SIGNAL(signalLoadingComplete()), - this, TQT_SLOT(slotLoadingComplete())); + connect(item, TQ_SIGNAL(signalLoadingComplete()), + this, TQ_SLOT(slotLoadingComplete())); } } @@ -193,11 +193,11 @@ void HotPixelsTool::slotAddBlackFrame() m_blackFrameListView->clear(); BlackFrameListViewItem *item = new BlackFrameListViewItem(m_blackFrameListView, m_blackFrameURL); - connect(item, TQT_SIGNAL(signalLoadingProgress(float)), - this, TQT_SLOT(slotLoadingProgress(float))); + connect(item, TQ_SIGNAL(signalLoadingProgress(float)), + this, TQ_SLOT(slotLoadingProgress(float))); - connect(item, TQT_SIGNAL(signalLoadingComplete()), - this, TQT_SLOT(slotLoadingComplete())); + connect(item, TQ_SIGNAL(signalLoadingComplete()), + this, TQ_SLOT(slotLoadingComplete())); } } diff --git a/digikam/imageplugins/hotpixels/imageeffect_hotpixels.cpp b/digikam/imageplugins/hotpixels/imageeffect_hotpixels.cpp index b8b9b86f..67e9a1b2 100644 --- a/digikam/imageplugins/hotpixels/imageeffect_hotpixels.cpp +++ b/digikam/imageplugins/hotpixels/imageeffect_hotpixels.cpp @@ -117,14 +117,14 @@ ImageEffect_HotPixels::ImageEffect_HotPixels(TQWidget* parent) // ------------------------------------------------------------- - connect(m_filterMethodCombo, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotEffect())); + connect(m_filterMethodCombo, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotEffect())); - connect(m_blackFrameButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotAddBlackFrame())); + connect(m_blackFrameButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotAddBlackFrame())); - connect(m_blackFrameListView, TQT_SIGNAL(blackFrameSelected(TQValueList, const KURL&)), - this, TQT_SLOT(slotBlackFrame(TQValueList, const KURL&))); + connect(m_blackFrameListView, TQ_SIGNAL(blackFrameSelected(TQValueList, const KURL&)), + this, TQ_SLOT(slotBlackFrame(TQValueList, const KURL&))); } ImageEffect_HotPixels::~ImageEffect_HotPixels() @@ -143,11 +143,11 @@ void ImageEffect_HotPixels::readUserSettings() { BlackFrameListViewItem *item = new BlackFrameListViewItem(m_blackFrameListView, m_blackFrameURL); - connect(item, TQT_SIGNAL(signalLoadingProgress(float)), - this, TQT_SLOT(slotLoadingProgress(float))); + connect(item, TQ_SIGNAL(signalLoadingProgress(float)), + this, TQ_SLOT(slotLoadingProgress(float))); - connect(item, TQT_SIGNAL(signalLoadingComplete()), - this, TQT_SLOT(slotLoadingComplete())); + connect(item, TQ_SIGNAL(signalLoadingComplete()), + this, TQ_SLOT(slotLoadingComplete())); } } @@ -180,11 +180,11 @@ void ImageEffect_HotPixels::slotAddBlackFrame() m_blackFrameListView->clear(); BlackFrameListViewItem *item = new BlackFrameListViewItem(m_blackFrameListView, m_blackFrameURL); - connect(item, TQT_SIGNAL(signalLoadingProgress(float)), - this, TQT_SLOT(slotLoadingProgress(float))); + connect(item, TQ_SIGNAL(signalLoadingProgress(float)), + this, TQ_SLOT(slotLoadingProgress(float))); - connect(item, TQT_SIGNAL(signalLoadingComplete()), - this, TQT_SLOT(slotLoadingComplete())); + connect(item, TQ_SIGNAL(signalLoadingComplete()), + this, TQ_SLOT(slotLoadingComplete())); } } diff --git a/digikam/imageplugins/hotpixels/imageplugin_hotpixels.cpp b/digikam/imageplugins/hotpixels/imageplugin_hotpixels.cpp index aaf26a39..864b59dc 100644 --- a/digikam/imageplugins/hotpixels/imageplugin_hotpixels.cpp +++ b/digikam/imageplugins/hotpixels/imageplugin_hotpixels.cpp @@ -48,7 +48,7 @@ ImagePlugin_HotPixels::ImagePlugin_HotPixels(TQObject *parent, const char*, cons : Digikam::ImagePlugin(parent, "ImagePlugin_HotPixels") { m_hotpixelsAction = new TDEAction(i18n("Hot Pixels..."), "hotpixels", 0, - this, TQT_SLOT(slotHotPixels()), + this, TQ_SLOT(slotHotPixels()), actionCollection(), "imageplugin_hotpixels"); setXMLFile("digikamimageplugin_hotpixels_ui.rc"); diff --git a/digikam/imageplugins/infrared/imageeffect_infrared.cpp b/digikam/imageplugins/infrared/imageeffect_infrared.cpp index 73c52f70..f8069255 100644 --- a/digikam/imageplugins/infrared/imageeffect_infrared.cpp +++ b/digikam/imageplugins/infrared/imageeffect_infrared.cpp @@ -123,19 +123,19 @@ ImageEffect_Infrared::ImageEffect_Infrared(TQWidget* parent) // ------------------------------------------------------------- - connect( m_sensibilitySlider, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer()) ); + connect( m_sensibilitySlider, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer()) ); // this connection is necessary to change the LCD display when // the value is changed by single clicking on the slider - connect( m_sensibilitySlider, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotSliderMoved(int)) ); + connect( m_sensibilitySlider, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotSliderMoved(int)) ); - connect( m_sensibilitySlider, TQT_SIGNAL(sliderMoved(int)), - this, TQT_SLOT(slotSliderMoved(int)) ); + connect( m_sensibilitySlider, TQ_SIGNAL(sliderMoved(int)), + this, TQ_SLOT(slotSliderMoved(int)) ); - connect( m_addFilmGrain, TQT_SIGNAL(toggled (bool)), - this, TQT_SLOT(slotEffect()) ); + connect( m_addFilmGrain, TQ_SIGNAL(toggled (bool)), + this, TQ_SLOT(slotEffect()) ); } ImageEffect_Infrared::~ImageEffect_Infrared() diff --git a/digikam/imageplugins/infrared/imageplugin_infrared.cpp b/digikam/imageplugins/infrared/imageplugin_infrared.cpp index fcd991b4..4b845908 100644 --- a/digikam/imageplugins/infrared/imageplugin_infrared.cpp +++ b/digikam/imageplugins/infrared/imageplugin_infrared.cpp @@ -47,7 +47,7 @@ ImagePlugin_Infrared::ImagePlugin_Infrared(TQObject *parent, const char*, const : Digikam::ImagePlugin(parent, "ImagePlugin_Infrared") { m_infraredAction = new TDEAction(i18n("Infrared Film..."), "infrared", 0, - this, TQT_SLOT(slotInfrared()), + this, TQ_SLOT(slotInfrared()), actionCollection(), "imageplugin_infrared"); setXMLFile( "digikamimageplugin_infrared_ui.rc" ); diff --git a/digikam/imageplugins/infrared/infraredtool.cpp b/digikam/imageplugins/infrared/infraredtool.cpp index 7d1d4323..f34d1c8a 100644 --- a/digikam/imageplugins/infrared/infraredtool.cpp +++ b/digikam/imageplugins/infrared/infraredtool.cpp @@ -123,19 +123,19 @@ InfraredTool::InfraredTool(TQObject* parent) // ------------------------------------------------------------- - connect( m_sensibilitySlider, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer()) ); + connect( m_sensibilitySlider, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer()) ); // this connection is necessary to change the LCD display when // the value is changed by single clicking on the slider - connect( m_sensibilitySlider, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotSliderMoved(int)) ); + connect( m_sensibilitySlider, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotSliderMoved(int)) ); - connect( m_sensibilitySlider, TQT_SIGNAL(sliderMoved(int)), - this, TQT_SLOT(slotSliderMoved(int)) ); + connect( m_sensibilitySlider, TQ_SIGNAL(sliderMoved(int)), + this, TQ_SLOT(slotSliderMoved(int)) ); - connect( m_addFilmGrain, TQT_SIGNAL(toggled (bool)), - this, TQT_SLOT(slotEffect()) ); + connect( m_addFilmGrain, TQ_SIGNAL(toggled (bool)), + this, TQ_SLOT(slotEffect()) ); } InfraredTool::~InfraredTool() diff --git a/digikam/imageplugins/inpainting/imageeffect_inpainting.cpp b/digikam/imageplugins/inpainting/imageeffect_inpainting.cpp index f83ab76a..d7f2f5fe 100644 --- a/digikam/imageplugins/inpainting/imageeffect_inpainting.cpp +++ b/digikam/imageplugins/inpainting/imageeffect_inpainting.cpp @@ -200,11 +200,11 @@ ImageEffect_InPainting_Dialog::ImageEffect_InPainting_Dialog(TQWidget* parent) // ------------------------------------------------------------- - connect(cimgLogoLabel, TQT_SIGNAL(leftClickedURL(const TQString&)), - this, TQT_SLOT(processCImgURL(const TQString&))); + connect(cimgLogoLabel, TQ_SIGNAL(leftClickedURL(const TQString&)), + this, TQ_SLOT(processCImgURL(const TQString&))); - connect(m_inpaintingTypeCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotResetValues(int))); + connect(m_inpaintingTypeCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotResetValues(int))); } ImageEffect_InPainting_Dialog::~ImageEffect_InPainting_Dialog() diff --git a/digikam/imageplugins/inpainting/imageplugin_inpainting.cpp b/digikam/imageplugins/inpainting/imageplugin_inpainting.cpp index 34073dc1..2c1e30f3 100644 --- a/digikam/imageplugins/inpainting/imageplugin_inpainting.cpp +++ b/digikam/imageplugins/inpainting/imageplugin_inpainting.cpp @@ -50,7 +50,7 @@ ImagePlugin_InPainting::ImagePlugin_InPainting(TQObject *parent, const char*, co { m_inPaintingAction = new TDEAction(i18n("Inpainting..."), "inpainting", CTRL+Key_E, - this, TQT_SLOT(slotInPainting()), + this, TQ_SLOT(slotInPainting()), actionCollection(), "imageplugin_inpainting"); m_inPaintingAction->setWhatsThis( i18n( "This filter can be used to inpaint a part in a photo. " diff --git a/digikam/imageplugins/inpainting/inpaintingtool.cpp b/digikam/imageplugins/inpainting/inpaintingtool.cpp index 95190ab4..2ada52bf 100644 --- a/digikam/imageplugins/inpainting/inpaintingtool.cpp +++ b/digikam/imageplugins/inpainting/inpaintingtool.cpp @@ -155,11 +155,11 @@ InPaintingTool::InPaintingTool(TQObject* parent) // ------------------------------------------------------------- - connect(cimgLogoLabel, TQT_SIGNAL(leftClickedURL(const TQString&)), - this, TQT_SLOT(processCImgURL(const TQString&))); + connect(cimgLogoLabel, TQ_SIGNAL(leftClickedURL(const TQString&)), + this, TQ_SLOT(processCImgURL(const TQString&))); - connect(m_inpaintingTypeCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotResetValues(int))); + connect(m_inpaintingTypeCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotResetValues(int))); // ------------------------------------------------------------- diff --git a/digikam/imageplugins/inserttext/fontchooserwidget.cpp b/digikam/imageplugins/inserttext/fontchooserwidget.cpp index c4cd0c82..4fcce081 100644 --- a/digikam/imageplugins/inserttext/fontchooserwidget.cpp +++ b/digikam/imageplugins/inserttext/fontchooserwidget.cpp @@ -104,8 +104,8 @@ FontChooserWidget::FontChooserWidget(TQWidget *parent, const char *name, { familyCheckbox = new TQCheckBox(i18n("Font"), page); - connect(familyCheckbox, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(toggled_checkbox())); + connect(familyCheckbox, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(toggled_checkbox())); familyLayout->addWidget(familyCheckbox, 0, TQt::AlignLeft); TQString familyCBToolTipText = @@ -131,8 +131,8 @@ FontChooserWidget::FontChooserWidget(TQWidget *parent, const char *name, { styleCheckbox = new TQCheckBox(i18n("Style:"), page); - connect(styleCheckbox, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(toggled_checkbox())); + connect(styleCheckbox, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(toggled_checkbox())); styleLayout->addWidget(styleCheckbox, 0, TQt::AlignLeft); TQString styleCBToolTipText = @@ -159,8 +159,8 @@ FontChooserWidget::FontChooserWidget(TQWidget *parent, const char *name, { sizeCheckbox = new TQCheckBox(i18n("Size"),page); - connect(sizeCheckbox, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(toggled_checkbox())); + connect(sizeCheckbox, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(toggled_checkbox())); sizeLayout->addWidget(sizeCheckbox, 0, TQt::AlignLeft); TQString sizeCBToolTipText = @@ -193,8 +193,8 @@ FontChooserWidget::FontChooserWidget(TQWidget *parent, const char *name, TQWhatsThis::add( familyListBox, fontFamilyWhatsThisText ); TQWhatsThis::add(diff?(TQWidget *) familyCheckbox:(TQWidget *) familyLabel, fontFamilyWhatsThisText ); - connect(familyListBox, TQT_SIGNAL(highlighted(const TQString &)), - this, TQT_SLOT(family_chosen_slot(const TQString &))); + connect(familyListBox, TQ_SIGNAL(highlighted(const TQString &)), + this, TQ_SLOT(family_chosen_slot(const TQString &))); if(!fontList.isEmpty()) { @@ -220,8 +220,8 @@ FontChooserWidget::FontChooserWidget(TQWidget *parent, const char *name, styleListBox->setMinimumWidth( minimumListWidth( styleListBox ) ); styleListBox->setMinimumHeight( minimumListHeight( styleListBox, visibleListSize ) ); - connect(styleListBox, TQT_SIGNAL(highlighted(const TQString &)), - this, TQT_SLOT(style_chosen_slot(const TQString &))); + connect(styleListBox, TQ_SIGNAL(highlighted(const TQString &)), + this, TQ_SLOT(style_chosen_slot(const TQString &))); sizeListBox = new TDEListBox( page, "sizeListBox"); sizeOfFont = new KIntNumInput( page, "sizeOfFont"); @@ -271,11 +271,11 @@ FontChooserWidget::FontChooserWidget(TQWidget *parent, const char *name, sizeListBox->fontMetrics().maxWidth() ); sizeListBox->setMinimumHeight( minimumListHeight( sizeListBox, visibleListSize ) ); - connect( sizeOfFont, TQT_SIGNAL( valueChanged(int) ), - this, TQT_SLOT(size_value_slot(int))); + connect( sizeOfFont, TQ_SIGNAL( valueChanged(int) ), + this, TQ_SLOT(size_value_slot(int))); - connect( sizeListBox, TQT_SIGNAL(highlighted(const TQString&)), - this, TQT_SLOT(size_chosen_slot(const TQString&)) ); + connect( sizeListBox, TQ_SIGNAL(highlighted(const TQString&)), + this, TQ_SLOT(size_chosen_slot(const TQString&)) ); sizeListBox->setSelected(sizeListBox->findItem(TQString::number(10)), true); // default to 10pt. diff --git a/digikam/imageplugins/inserttext/imageeffect_inserttext.cpp b/digikam/imageplugins/inserttext/imageeffect_inserttext.cpp index b6c1e4e5..3f88644b 100644 --- a/digikam/imageplugins/inserttext/imageeffect_inserttext.cpp +++ b/digikam/imageplugins/inserttext/imageeffect_inserttext.cpp @@ -192,28 +192,28 @@ ImageEffect_InsertText::ImageEffect_InsertText(TQWidget* parent) // ------------------------------------------------------------- - connect(m_fontChooserWidget, TQT_SIGNAL(fontSelected (const TQFont &)), - this, TQT_SLOT(slotFontPropertiesChanged(const TQFont &))); + connect(m_fontChooserWidget, TQ_SIGNAL(fontSelected (const TQFont &)), + this, TQ_SLOT(slotFontPropertiesChanged(const TQFont &))); - connect(m_fontColorButton, TQT_SIGNAL(changed(const TQColor &)), - this, TQT_SLOT(slotUpdatePreview())); + connect(m_fontColorButton, TQ_SIGNAL(changed(const TQColor &)), + this, TQ_SLOT(slotUpdatePreview())); - connect(m_textEdit, TQT_SIGNAL(textChanged()), - this, TQT_SLOT(slotUpdatePreview())); + connect(m_textEdit, TQ_SIGNAL(textChanged()), + this, TQ_SLOT(slotUpdatePreview())); - connect(m_alignButtonGroup, TQT_SIGNAL(released(int)), - this, TQT_SLOT(slotAlignModeChanged(int))); + connect(m_alignButtonGroup, TQ_SIGNAL(released(int)), + this, TQ_SLOT(slotAlignModeChanged(int))); - connect(m_borderText, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotUpdatePreview())); + connect(m_borderText, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotUpdatePreview())); - connect(m_transparentText, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotUpdatePreview())); + connect(m_transparentText, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotUpdatePreview())); - connect(m_textRotation, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotUpdatePreview())); + connect(m_textRotation, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotUpdatePreview())); - connect(this, TQT_SIGNAL(signalUpdatePreview()), TQT_SLOT(slotUpdatePreview())); + connect(this, TQ_SIGNAL(signalUpdatePreview()), TQ_SLOT(slotUpdatePreview())); // ------------------------------------------------------------- slotUpdatePreview(); diff --git a/digikam/imageplugins/inserttext/imageplugin_inserttext.cpp b/digikam/imageplugins/inserttext/imageplugin_inserttext.cpp index 6ee59943..a7a5ab6b 100644 --- a/digikam/imageplugins/inserttext/imageplugin_inserttext.cpp +++ b/digikam/imageplugins/inserttext/imageplugin_inserttext.cpp @@ -46,7 +46,7 @@ ImagePlugin_InsertText::ImagePlugin_InsertText(TQObject *parent, const char*, co { m_insertTextAction = new TDEAction(i18n("Insert Text..."), "inserttext", SHIFT+CTRL+Key_T, - this, TQT_SLOT(slotInsertText()), + this, TQ_SLOT(slotInsertText()), actionCollection(), "imageplugin_inserttext"); setXMLFile("digikamimageplugin_inserttext_ui.rc"); diff --git a/digikam/imageplugins/inserttext/inserttexttool.cpp b/digikam/imageplugins/inserttext/inserttexttool.cpp index af66a974..3c854896 100644 --- a/digikam/imageplugins/inserttext/inserttexttool.cpp +++ b/digikam/imageplugins/inserttext/inserttexttool.cpp @@ -180,29 +180,29 @@ InsertTextTool::InsertTextTool(TQObject* parent) // ------------------------------------------------------------- - connect(m_fontChooserWidget, TQT_SIGNAL(fontSelected (const TQFont&)), - this, TQT_SLOT(slotFontPropertiesChanged(const TQFont&))); + connect(m_fontChooserWidget, TQ_SIGNAL(fontSelected (const TQFont&)), + this, TQ_SLOT(slotFontPropertiesChanged(const TQFont&))); - connect(m_fontColorButton, TQT_SIGNAL(changed(const TQColor&)), - this, TQT_SLOT(slotUpdatePreview())); + connect(m_fontColorButton, TQ_SIGNAL(changed(const TQColor&)), + this, TQ_SLOT(slotUpdatePreview())); - connect(m_textEdit, TQT_SIGNAL(textChanged()), - this, TQT_SLOT(slotUpdatePreview())); + connect(m_textEdit, TQ_SIGNAL(textChanged()), + this, TQ_SLOT(slotUpdatePreview())); - connect(m_alignButtonGroup, TQT_SIGNAL(released(int)), - this, TQT_SLOT(slotAlignModeChanged(int))); + connect(m_alignButtonGroup, TQ_SIGNAL(released(int)), + this, TQ_SLOT(slotAlignModeChanged(int))); - connect(m_borderText, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotUpdatePreview())); + connect(m_borderText, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotUpdatePreview())); - connect(m_transparentText, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotUpdatePreview())); + connect(m_transparentText, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotUpdatePreview())); - connect(m_textRotation, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotUpdatePreview())); + connect(m_textRotation, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotUpdatePreview())); - connect(this, TQT_SIGNAL(signalUpdatePreview()), - this, TQT_SLOT(slotUpdatePreview())); + connect(this, TQ_SIGNAL(signalUpdatePreview()), + this, TQ_SLOT(slotUpdatePreview())); // ------------------------------------------------------------- diff --git a/digikam/imageplugins/lensdistortion/imageeffect_lensdistortion.cpp b/digikam/imageplugins/lensdistortion/imageeffect_lensdistortion.cpp index 5d9dbf15..89420a9c 100644 --- a/digikam/imageplugins/lensdistortion/imageeffect_lensdistortion.cpp +++ b/digikam/imageplugins/lensdistortion/imageeffect_lensdistortion.cpp @@ -155,17 +155,17 @@ ImageEffect_LensDistortion::ImageEffect_LensDistortion(TQWidget* parent) // ------------------------------------------------------------- - connect(m_mainInput, TQT_SIGNAL(valueChanged (double)), - this, TQT_SLOT(slotTimer())); + connect(m_mainInput, TQ_SIGNAL(valueChanged (double)), + this, TQ_SLOT(slotTimer())); - connect(m_edgeInput, TQT_SIGNAL(valueChanged (double)), - this, TQT_SLOT(slotTimer())); + connect(m_edgeInput, TQ_SIGNAL(valueChanged (double)), + this, TQ_SLOT(slotTimer())); - connect(m_rescaleInput, TQT_SIGNAL(valueChanged (double)), - this, TQT_SLOT(slotTimer())); + connect(m_rescaleInput, TQ_SIGNAL(valueChanged (double)), + this, TQ_SLOT(slotTimer())); - connect(m_brightenInput, TQT_SIGNAL(valueChanged (double)), - this, TQT_SLOT(slotTimer())); + connect(m_brightenInput, TQ_SIGNAL(valueChanged (double)), + this, TQ_SLOT(slotTimer())); // ------------------------------------------------------------- diff --git a/digikam/imageplugins/lensdistortion/imageplugin_lensdistortion.cpp b/digikam/imageplugins/lensdistortion/imageplugin_lensdistortion.cpp index dd1d022d..73403fa7 100644 --- a/digikam/imageplugins/lensdistortion/imageplugin_lensdistortion.cpp +++ b/digikam/imageplugins/lensdistortion/imageplugin_lensdistortion.cpp @@ -45,7 +45,7 @@ ImagePlugin_LensDistortion::ImagePlugin_LensDistortion(TQObject *parent, const c : Digikam::ImagePlugin(parent, "ImagePlugin_LensDistortion") { m_lensdistortionAction = new TDEAction(i18n("Lens Distortion..."), "lensdistortion", 0, - this, TQT_SLOT(slotLensDistortion()), + this, TQ_SLOT(slotLensDistortion()), actionCollection(), "imageplugin_lensdistortion"); setXMLFile("digikamimageplugin_lensdistortion_ui.rc"); diff --git a/digikam/imageplugins/lensdistortion/lensdistortiontool.cpp b/digikam/imageplugins/lensdistortion/lensdistortiontool.cpp index dde7aab7..8d33e1df 100644 --- a/digikam/imageplugins/lensdistortion/lensdistortiontool.cpp +++ b/digikam/imageplugins/lensdistortion/lensdistortiontool.cpp @@ -154,20 +154,20 @@ LensDistortionTool::LensDistortionTool(TQObject* parent) // ------------------------------------------------------------- - connect(m_mainInput, TQT_SIGNAL(valueChanged(double)), - this, TQT_SLOT(slotTimer())); + connect(m_mainInput, TQ_SIGNAL(valueChanged(double)), + this, TQ_SLOT(slotTimer())); - connect(m_edgeInput, TQT_SIGNAL(valueChanged(double)), - this, TQT_SLOT(slotTimer())); + connect(m_edgeInput, TQ_SIGNAL(valueChanged(double)), + this, TQ_SLOT(slotTimer())); - connect(m_rescaleInput, TQT_SIGNAL(valueChanged(double)), - this, TQT_SLOT(slotTimer())); + connect(m_rescaleInput, TQ_SIGNAL(valueChanged(double)), + this, TQ_SLOT(slotTimer())); - connect(m_brightenInput, TQT_SIGNAL(valueChanged(double)), - this, TQT_SLOT(slotTimer())); + connect(m_brightenInput, TQ_SIGNAL(valueChanged(double)), + this, TQ_SLOT(slotTimer())); - connect(m_gboxSettings, TQT_SIGNAL(signalColorGuideChanged()), - this, TQT_SLOT(slotColorGuideChanged())); + connect(m_gboxSettings, TQ_SIGNAL(signalColorGuideChanged()), + this, TQ_SLOT(slotColorGuideChanged())); // ------------------------------------------------------------- diff --git a/digikam/imageplugins/noisereduction/imageeffect_noisereduction.cpp b/digikam/imageplugins/noisereduction/imageeffect_noisereduction.cpp index 9072855e..707b05db 100644 --- a/digikam/imageplugins/noisereduction/imageeffect_noisereduction.cpp +++ b/digikam/imageplugins/noisereduction/imageeffect_noisereduction.cpp @@ -265,35 +265,35 @@ ImageEffect_NoiseReduction::ImageEffect_NoiseReduction(TQWidget* parent) // ------------------------------------------------------------- -// connect(m_radiusInput, TQT_SIGNAL(valueChanged(double)), -// this, TQT_SLOT(slotTimer())); +// connect(m_radiusInput, TQ_SIGNAL(valueChanged(double)), +// this, TQ_SLOT(slotTimer())); // -// connect(m_lumToleranceInput, TQT_SIGNAL(valueChanged(double)), -// this, TQT_SLOT(slotTimer())); +// connect(m_lumToleranceInput, TQ_SIGNAL(valueChanged(double)), +// this, TQ_SLOT(slotTimer())); // -// connect(m_thresholdInput, TQT_SIGNAL(valueChanged(double)), -// this, TQT_SLOT(slotTimer())); +// connect(m_thresholdInput, TQ_SIGNAL(valueChanged(double)), +// this, TQ_SLOT(slotTimer())); // -// connect(m_textureInput, TQT_SIGNAL(valueChanged(double)), -// this, TQT_SLOT(slotTimer())); +// connect(m_textureInput, TQ_SIGNAL(valueChanged(double)), +// this, TQ_SLOT(slotTimer())); // -// connect(m_sharpnessInput, TQT_SIGNAL(valueChanged(double)), -// this, TQT_SLOT(slotTimer())); +// connect(m_sharpnessInput, TQ_SIGNAL(valueChanged(double)), +// this, TQ_SLOT(slotTimer())); // -// connect(m_csmoothInput, TQT_SIGNAL(valueChanged(double)), -// this, TQT_SLOT(slotTimer())); +// connect(m_csmoothInput, TQ_SIGNAL(valueChanged(double)), +// this, TQ_SLOT(slotTimer())); // -// connect(m_lookaheadInput, TQT_SIGNAL(valueChanged(double)), -// this, TQT_SLOT(slotTimer())); +// connect(m_lookaheadInput, TQ_SIGNAL(valueChanged(double)), +// this, TQ_SLOT(slotTimer())); // -// connect(m_gammaInput, TQT_SIGNAL(valueChanged(double)), -// this, TQT_SLOT(slotTimer())); +// connect(m_gammaInput, TQ_SIGNAL(valueChanged(double)), +// this, TQ_SLOT(slotTimer())); // -// connect(m_dampingInput, TQT_SIGNAL(valueChanged(double)), -// this, TQT_SLOT(slotTimer())); +// connect(m_dampingInput, TQ_SIGNAL(valueChanged(double)), +// this, TQ_SLOT(slotTimer())); // -// connect(m_phaseInput, TQT_SIGNAL(valueChanged(double)), -// this, TQT_SLOT(slotTimer())); +// connect(m_phaseInput, TQ_SIGNAL(valueChanged(double)), +// this, TQ_SLOT(slotTimer())); } ImageEffect_NoiseReduction::~ImageEffect_NoiseReduction() diff --git a/digikam/imageplugins/noisereduction/imageplugin_noisereduction.cpp b/digikam/imageplugins/noisereduction/imageplugin_noisereduction.cpp index 01d05a5b..8392933d 100644 --- a/digikam/imageplugins/noisereduction/imageplugin_noisereduction.cpp +++ b/digikam/imageplugins/noisereduction/imageplugin_noisereduction.cpp @@ -46,7 +46,7 @@ ImagePlugin_NoiseReduction::ImagePlugin_NoiseReduction(TQObject *parent, const c : Digikam::ImagePlugin(parent, "ImagePlugin_NoiseReduction") { m_noiseReductionAction = new TDEAction(i18n("Noise Reduction..."), "noisereduction", 0, - this, TQT_SLOT(slotNoiseReduction()), + this, TQ_SLOT(slotNoiseReduction()), actionCollection(), "imageplugin_noisereduction"); setXMLFile("digikamimageplugin_noisereduction_ui.rc"); diff --git a/digikam/imageplugins/oilpaint/imageeffect_oilpaint.cpp b/digikam/imageplugins/oilpaint/imageeffect_oilpaint.cpp index ea20ab11..da07be05 100644 --- a/digikam/imageplugins/oilpaint/imageeffect_oilpaint.cpp +++ b/digikam/imageplugins/oilpaint/imageeffect_oilpaint.cpp @@ -111,11 +111,11 @@ ImageEffect_OilPaint::ImageEffect_OilPaint(TQWidget* parent) // ------------------------------------------------------------- - connect(m_brushSizeInput, TQT_SIGNAL(valueChanged (int)), - this, TQT_SLOT(slotTimer())); + connect(m_brushSizeInput, TQ_SIGNAL(valueChanged (int)), + this, TQ_SLOT(slotTimer())); - connect(m_smoothInput, TQT_SIGNAL(valueChanged (int)), - this, TQT_SLOT(slotTimer())); + connect(m_smoothInput, TQ_SIGNAL(valueChanged (int)), + this, TQ_SLOT(slotTimer())); } ImageEffect_OilPaint::~ImageEffect_OilPaint() diff --git a/digikam/imageplugins/oilpaint/imageplugin_oilpaint.cpp b/digikam/imageplugins/oilpaint/imageplugin_oilpaint.cpp index 7d44dd46..740e89fc 100644 --- a/digikam/imageplugins/oilpaint/imageplugin_oilpaint.cpp +++ b/digikam/imageplugins/oilpaint/imageplugin_oilpaint.cpp @@ -46,7 +46,7 @@ ImagePlugin_OilPaint::ImagePlugin_OilPaint(TQObject *parent, const char*, const : Digikam::ImagePlugin(parent, "ImagePlugin_OilPaint") { m_oilpaintAction = new TDEAction(i18n("Oil Paint..."), "oilpaint", 0, - this, TQT_SLOT(slotOilPaint()), + this, TQ_SLOT(slotOilPaint()), actionCollection(), "imageplugin_oilpaint"); setXMLFile( "digikamimageplugin_oilpaint_ui.rc" ); diff --git a/digikam/imageplugins/oilpaint/oilpainttool.cpp b/digikam/imageplugins/oilpaint/oilpainttool.cpp index 80a6cd62..25bea302 100644 --- a/digikam/imageplugins/oilpaint/oilpainttool.cpp +++ b/digikam/imageplugins/oilpaint/oilpainttool.cpp @@ -115,11 +115,11 @@ OilPaintTool::OilPaintTool(TQObject* parent) // this filter is relative slow, so we should use the try button instead right now - // connect(m_brushSizeInput, TQT_SIGNAL(valueChanged (int)), - // this, TQT_SLOT(slotTimer())); + // connect(m_brushSizeInput, TQ_SIGNAL(valueChanged (int)), + // this, TQ_SLOT(slotTimer())); // - // connect(m_smoothInput, TQT_SIGNAL(valueChanged (int)), - // this, TQT_SLOT(slotTimer())); + // connect(m_smoothInput, TQ_SIGNAL(valueChanged (int)), + // this, TQ_SLOT(slotTimer())); } OilPaintTool::~OilPaintTool() diff --git a/digikam/imageplugins/perspective/imageeffect_perspective.cpp b/digikam/imageplugins/perspective/imageeffect_perspective.cpp index cf03ebcb..15bef877 100644 --- a/digikam/imageplugins/perspective/imageeffect_perspective.cpp +++ b/digikam/imageplugins/perspective/imageeffect_perspective.cpp @@ -176,20 +176,20 @@ ImageEffect_Perspective::ImageEffect_Perspective(TQWidget* parent) // ------------------------------------------------------------- - connect(m_previewWidget, TQT_SIGNAL(signalPerspectiveChanged(TQRect, float, float, float, float)), - this, TQT_SLOT(slotUpdateInfo(TQRect, float, float, float, float))); + connect(m_previewWidget, TQ_SIGNAL(signalPerspectiveChanged(TQRect, float, float, float, float)), + this, TQ_SLOT(slotUpdateInfo(TQRect, float, float, float, float))); - connect(m_drawWhileMovingCheckBox, TQT_SIGNAL(toggled(bool)), - m_previewWidget, TQT_SLOT(slotToggleDrawWhileMoving(bool))); + connect(m_drawWhileMovingCheckBox, TQ_SIGNAL(toggled(bool)), + m_previewWidget, TQ_SLOT(slotToggleDrawWhileMoving(bool))); - connect(m_drawGridCheckBox, TQT_SIGNAL(toggled(bool)), - m_previewWidget, TQT_SLOT(slotToggleDrawGrid(bool))); + connect(m_drawGridCheckBox, TQ_SIGNAL(toggled(bool)), + m_previewWidget, TQ_SLOT(slotToggleDrawGrid(bool))); - connect(m_guideColorBt, TQT_SIGNAL(changed(const TQColor &)), - m_previewWidget, TQT_SLOT(slotChangeGuideColor(const TQColor &))); + connect(m_guideColorBt, TQ_SIGNAL(changed(const TQColor &)), + m_previewWidget, TQ_SLOT(slotChangeGuideColor(const TQColor &))); - connect(m_guideSize, TQT_SIGNAL(valueChanged(int)), - m_previewWidget, TQT_SLOT(slotChangeGuideSize(int))); + connect(m_guideSize, TQ_SIGNAL(valueChanged(int)), + m_previewWidget, TQ_SLOT(slotChangeGuideSize(int))); } ImageEffect_Perspective::~ImageEffect_Perspective() diff --git a/digikam/imageplugins/perspective/imageplugin_perspective.cpp b/digikam/imageplugins/perspective/imageplugin_perspective.cpp index f99fd370..bb5d0444 100644 --- a/digikam/imageplugins/perspective/imageplugin_perspective.cpp +++ b/digikam/imageplugins/perspective/imageplugin_perspective.cpp @@ -45,7 +45,7 @@ ImagePlugin_Perspective::ImagePlugin_Perspective(TQObject *parent, const char*, : Digikam::ImagePlugin(parent, "ImagePlugin_Perspective") { m_perspectiveAction = new TDEAction(i18n("Perspective Adjustment..."), "perspective", 0, - this, TQT_SLOT(slotPerspective()), + this, TQ_SLOT(slotPerspective()), actionCollection(), "imageplugin_perspective"); setXMLFile("digikamimageplugin_perspective_ui.rc"); diff --git a/digikam/imageplugins/perspective/perspectivetool.cpp b/digikam/imageplugins/perspective/perspectivetool.cpp index eadf9a7b..30d0a2cf 100644 --- a/digikam/imageplugins/perspective/perspectivetool.cpp +++ b/digikam/imageplugins/perspective/perspectivetool.cpp @@ -170,20 +170,20 @@ PerspectiveTool::PerspectiveTool(TQObject* parent) // ------------------------------------------------------------- - connect(m_previewWidget, TQT_SIGNAL(signalPerspectiveChanged(TQRect, float, float, float, float)), - this, TQT_SLOT(slotUpdateInfo(TQRect, float, float, float, float))); + connect(m_previewWidget, TQ_SIGNAL(signalPerspectiveChanged(TQRect, float, float, float, float)), + this, TQ_SLOT(slotUpdateInfo(TQRect, float, float, float, float))); - connect(m_drawWhileMovingCheckBox, TQT_SIGNAL(toggled(bool)), - m_previewWidget, TQT_SLOT(slotToggleDrawWhileMoving(bool))); + connect(m_drawWhileMovingCheckBox, TQ_SIGNAL(toggled(bool)), + m_previewWidget, TQ_SLOT(slotToggleDrawWhileMoving(bool))); - connect(m_drawGridCheckBox, TQT_SIGNAL(toggled(bool)), - m_previewWidget, TQT_SLOT(slotToggleDrawGrid(bool))); + connect(m_drawGridCheckBox, TQ_SIGNAL(toggled(bool)), + m_previewWidget, TQ_SLOT(slotToggleDrawGrid(bool))); - connect(m_guideColorBt, TQT_SIGNAL(changed(const TQColor&)), - m_previewWidget, TQT_SLOT(slotChangeGuideColor(const TQColor&))); + connect(m_guideColorBt, TQ_SIGNAL(changed(const TQColor&)), + m_previewWidget, TQ_SLOT(slotChangeGuideColor(const TQColor&))); - connect(m_guideSize, TQT_SIGNAL(valueChanged(int)), - m_previewWidget, TQT_SLOT(slotChangeGuideSize(int))); + connect(m_guideSize, TQ_SIGNAL(valueChanged(int)), + m_previewWidget, TQ_SLOT(slotChangeGuideSize(int))); } PerspectiveTool::~PerspectiveTool() diff --git a/digikam/imageplugins/raindrop/imageeffect_raindrop.cpp b/digikam/imageplugins/raindrop/imageeffect_raindrop.cpp index 07101f59..8a82829d 100644 --- a/digikam/imageplugins/raindrop/imageeffect_raindrop.cpp +++ b/digikam/imageplugins/raindrop/imageeffect_raindrop.cpp @@ -130,14 +130,14 @@ ImageEffect_RainDrop::ImageEffect_RainDrop(TQWidget* parent) // ------------------------------------------------------------- - connect(m_dropInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_dropInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); - connect(m_amountInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_amountInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); - connect(m_coeffInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_coeffInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); } ImageEffect_RainDrop::~ImageEffect_RainDrop() diff --git a/digikam/imageplugins/raindrop/imageplugin_raindrop.cpp b/digikam/imageplugins/raindrop/imageplugin_raindrop.cpp index d309b851..20744961 100644 --- a/digikam/imageplugins/raindrop/imageplugin_raindrop.cpp +++ b/digikam/imageplugins/raindrop/imageplugin_raindrop.cpp @@ -45,7 +45,7 @@ ImagePlugin_RainDrop::ImagePlugin_RainDrop(TQObject *parent, const char*, const : Digikam::ImagePlugin(parent, "ImagePlugin_RainDrop") { m_raindropAction = new TDEAction(i18n("Raindrops..."), "raindrop", 0, - this, TQT_SLOT(slotRainDrop()), + this, TQ_SLOT(slotRainDrop()), actionCollection(), "imageplugin_raindrop"); setXMLFile( "digikamimageplugin_raindrop_ui.rc" ); diff --git a/digikam/imageplugins/raindrop/raindroptool.cpp b/digikam/imageplugins/raindrop/raindroptool.cpp index 3c153a45..3d19238d 100644 --- a/digikam/imageplugins/raindrop/raindroptool.cpp +++ b/digikam/imageplugins/raindrop/raindroptool.cpp @@ -123,14 +123,14 @@ RainDropTool::RainDropTool(TQObject* parent) // ------------------------------------------------------------- - connect(m_dropInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_dropInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); - connect(m_amountInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_amountInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); - connect(m_coeffInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_coeffInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); } RainDropTool::~RainDropTool() diff --git a/digikam/imageplugins/restoration/imageeffect_restoration.cpp b/digikam/imageplugins/restoration/imageeffect_restoration.cpp index 7edf075d..825ef23d 100644 --- a/digikam/imageplugins/restoration/imageeffect_restoration.cpp +++ b/digikam/imageplugins/restoration/imageeffect_restoration.cpp @@ -130,11 +130,11 @@ ImageEffect_Restoration::ImageEffect_Restoration(TQWidget* parent) // ------------------------------------------------------------- - connect(cimgLogoLabel, TQT_SIGNAL(leftClickedURL(const TQString&)), - this, TQT_SLOT(processCImgURL(const TQString&))); + connect(cimgLogoLabel, TQ_SIGNAL(leftClickedURL(const TQString&)), + this, TQ_SLOT(processCImgURL(const TQString&))); - connect(m_restorationTypeCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotResetValues(int))); + connect(m_restorationTypeCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotResetValues(int))); } ImageEffect_Restoration::~ImageEffect_Restoration() diff --git a/digikam/imageplugins/restoration/imageplugin_restoration.cpp b/digikam/imageplugins/restoration/imageplugin_restoration.cpp index 4bcb9ad6..01cd52f7 100644 --- a/digikam/imageplugins/restoration/imageplugin_restoration.cpp +++ b/digikam/imageplugins/restoration/imageplugin_restoration.cpp @@ -47,7 +47,7 @@ ImagePlugin_Restoration::ImagePlugin_Restoration(TQObject *parent, const char*, : Digikam::ImagePlugin(parent, "ImagePlugin_Restoration") { m_restorationAction = new TDEAction(i18n("Restoration..."), "restoration", 0, - this, TQT_SLOT(slotRestoration()), + this, TQ_SLOT(slotRestoration()), actionCollection(), "imageplugin_restoration"); setXMLFile( "digikamimageplugin_restoration_ui.rc" ); diff --git a/digikam/imageplugins/restoration/restorationtool.cpp b/digikam/imageplugins/restoration/restorationtool.cpp index 977633ed..a6896135 100644 --- a/digikam/imageplugins/restoration/restorationtool.cpp +++ b/digikam/imageplugins/restoration/restorationtool.cpp @@ -134,11 +134,11 @@ RestorationTool::RestorationTool(TQObject* parent) // ------------------------------------------------------------- - connect(cimgLogoLabel, TQT_SIGNAL(leftClickedURL(const TQString&)), - this, TQT_SLOT(processCImgURL(const TQString&))); + connect(cimgLogoLabel, TQ_SIGNAL(leftClickedURL(const TQString&)), + this, TQ_SLOT(processCImgURL(const TQString&))); - connect(m_restorationTypeCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotResetValues(int))); + connect(m_restorationTypeCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotResetValues(int))); // ------------------------------------------------------------- diff --git a/digikam/imageplugins/sheartool/imageeffect_sheartool.cpp b/digikam/imageplugins/sheartool/imageeffect_sheartool.cpp index dba6d20e..e65bd91b 100644 --- a/digikam/imageplugins/sheartool/imageeffect_sheartool.cpp +++ b/digikam/imageplugins/sheartool/imageeffect_sheartool.cpp @@ -159,20 +159,20 @@ ImageEffect_ShearTool::ImageEffect_ShearTool(TQWidget* parent) // ------------------------------------------------------------- - connect(m_mainHAngleInput, TQT_SIGNAL(valueChanged (int)), - this, TQT_SLOT(slotTimer())); + connect(m_mainHAngleInput, TQ_SIGNAL(valueChanged (int)), + this, TQ_SLOT(slotTimer())); - connect(m_fineHAngleInput, TQT_SIGNAL(valueChanged (double)), - this, TQT_SLOT(slotTimer())); + connect(m_fineHAngleInput, TQ_SIGNAL(valueChanged (double)), + this, TQ_SLOT(slotTimer())); - connect(m_mainVAngleInput, TQT_SIGNAL(valueChanged (int)), - this, TQT_SLOT(slotTimer())); + connect(m_mainVAngleInput, TQ_SIGNAL(valueChanged (int)), + this, TQ_SLOT(slotTimer())); - connect(m_fineVAngleInput, TQT_SIGNAL(valueChanged (double)), - this, TQT_SLOT(slotTimer())); + connect(m_fineVAngleInput, TQ_SIGNAL(valueChanged (double)), + this, TQ_SLOT(slotTimer())); - connect(m_antialiasInput, TQT_SIGNAL(toggled (bool)), - this, TQT_SLOT(slotEffect())); + connect(m_antialiasInput, TQ_SIGNAL(toggled (bool)), + this, TQ_SLOT(slotEffect())); } ImageEffect_ShearTool::~ImageEffect_ShearTool() diff --git a/digikam/imageplugins/sheartool/imageplugin_sheartool.cpp b/digikam/imageplugins/sheartool/imageplugin_sheartool.cpp index e0490a28..34030899 100644 --- a/digikam/imageplugins/sheartool/imageplugin_sheartool.cpp +++ b/digikam/imageplugins/sheartool/imageplugin_sheartool.cpp @@ -45,7 +45,7 @@ ImagePlugin_ShearTool::ImagePlugin_ShearTool(TQObject *parent, const char*, cons : Digikam::ImagePlugin(parent, "ImagePlugin_ShearTool") { m_sheartoolAction = new TDEAction(i18n("Shear..."), "shear", 0, - this, TQT_SLOT(slotShearTool()), + this, TQ_SLOT(slotShearTool()), actionCollection(), "imageplugin_sheartool"); setXMLFile("digikamimageplugin_sheartool_ui.rc"); diff --git a/digikam/imageplugins/sheartool/sheartool.cpp b/digikam/imageplugins/sheartool/sheartool.cpp index 4e2538a0..9f65b6d3 100644 --- a/digikam/imageplugins/sheartool/sheartool.cpp +++ b/digikam/imageplugins/sheartool/sheartool.cpp @@ -155,23 +155,23 @@ ShearTool::ShearTool(TQObject* parent) // ------------------------------------------------------------- - connect(m_mainHAngleInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_mainHAngleInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); - connect(m_fineHAngleInput, TQT_SIGNAL(valueChanged(double)), - this, TQT_SLOT(slotTimer())); + connect(m_fineHAngleInput, TQ_SIGNAL(valueChanged(double)), + this, TQ_SLOT(slotTimer())); - connect(m_mainVAngleInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_mainVAngleInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); - connect(m_fineVAngleInput, TQT_SIGNAL(valueChanged(double)), - this, TQT_SLOT(slotTimer())); + connect(m_fineVAngleInput, TQ_SIGNAL(valueChanged(double)), + this, TQ_SLOT(slotTimer())); - connect(m_antialiasInput, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotEffect())); + connect(m_antialiasInput, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotEffect())); - connect(m_gboxSettings, TQT_SIGNAL(signalColorGuideChanged()), - this, TQT_SLOT(slotColorGuideChanged())); + connect(m_gboxSettings, TQ_SIGNAL(signalColorGuideChanged()), + this, TQ_SLOT(slotColorGuideChanged())); } ShearTool::~ShearTool() diff --git a/digikam/imageplugins/superimpose/dirselectwidget.cpp b/digikam/imageplugins/superimpose/dirselectwidget.cpp index 858bbd2d..4856d73c 100644 --- a/digikam/imageplugins/superimpose/dirselectwidget.cpp +++ b/digikam/imageplugins/superimpose/dirselectwidget.cpp @@ -93,8 +93,8 @@ void DirSelectWidget::load() { if ( d->m_pendingPath.isEmpty() ) { - disconnect( d->m_item, TQT_SIGNAL( populateFinished(KFileTreeViewItem *) ), - this, TQT_SLOT( load() ) ); + disconnect( d->m_item, TQ_SIGNAL( populateFinished(KFileTreeViewItem *) ), + this, TQ_SLOT( load() ) ); emit folderItemSelected(currentURL()); return; @@ -135,8 +135,8 @@ void DirSelectWidget::setCurrentPath(KURL currentUrl) if ( !d->m_pendingPath[0].isEmpty() ) d->m_pendingPath.prepend( "" ); // ensure we open the root first. - connect( d->m_item, TQT_SIGNAL( populateFinished(KFileTreeViewItem *) ), - this, TQT_SLOT( load() ) ); + connect( d->m_item, TQ_SIGNAL( populateFinished(KFileTreeViewItem *) ), + this, TQ_SLOT( load() ) ); load(); } @@ -159,13 +159,13 @@ void DirSelectWidget::setRootPath(KURL rootUrl, KURL currentUrl) if ( !d->m_pendingPath[0].isEmpty() ) d->m_pendingPath.prepend( "" ); // ensure we open the root first. - connect( d->m_item, TQT_SIGNAL( populateFinished(KFileTreeViewItem *) ), - this, TQT_SLOT( load() ) ); + connect( d->m_item, TQ_SIGNAL( populateFinished(KFileTreeViewItem *) ), + this, TQ_SLOT( load() ) ); load(); - connect( this, TQT_SIGNAL( executed(TQListViewItem *) ), - this, TQT_SLOT( slotFolderSelected(TQListViewItem *) ) ); + connect( this, TQ_SIGNAL( executed(TQListViewItem *) ), + this, TQ_SLOT( slotFolderSelected(TQListViewItem *) ) ); } KURL DirSelectWidget::rootPath(void) diff --git a/digikam/imageplugins/superimpose/imageeffect_superimpose.cpp b/digikam/imageplugins/superimpose/imageeffect_superimpose.cpp index 05bce111..1cea3e08 100644 --- a/digikam/imageplugins/superimpose/imageeffect_superimpose.cpp +++ b/digikam/imageplugins/superimpose/imageeffect_superimpose.cpp @@ -160,17 +160,17 @@ ImageEffect_SuperImpose::ImageEffect_SuperImpose(TQWidget* parent) // ------------------------------------------------------------- - connect(bGroup, TQT_SIGNAL(released(int)), - m_previewWidget, TQT_SLOT(slotEditModeChanged(int))); + connect(bGroup, TQ_SIGNAL(released(int)), + m_previewWidget, TQ_SLOT(slotEditModeChanged(int))); - connect(m_thumbnailsBar, TQT_SIGNAL(signalURLSelected(const KURL&)), - m_previewWidget, TQT_SLOT(slotSetCurrentTemplate(const KURL&))); + connect(m_thumbnailsBar, TQ_SIGNAL(signalURLSelected(const KURL&)), + m_previewWidget, TQ_SLOT(slotSetCurrentTemplate(const KURL&))); - connect(m_dirSelect, TQT_SIGNAL(folderItemSelected(const KURL &)), - this, TQT_SLOT(slotTemplateDirChanged(const KURL &))); + connect(m_dirSelect, TQ_SIGNAL(folderItemSelected(const KURL &)), + this, TQ_SLOT(slotTemplateDirChanged(const KURL &))); - connect(templateDirButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotRootTemplateDirChanged())); + connect(templateDirButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotRootTemplateDirChanged())); // ------------------------------------------------------------- diff --git a/digikam/imageplugins/superimpose/imageplugin_superimpose.cpp b/digikam/imageplugins/superimpose/imageplugin_superimpose.cpp index 96724718..ceba44ef 100644 --- a/digikam/imageplugins/superimpose/imageplugin_superimpose.cpp +++ b/digikam/imageplugins/superimpose/imageplugin_superimpose.cpp @@ -47,7 +47,7 @@ ImagePlugin_SuperImpose::ImagePlugin_SuperImpose(TQObject *parent, const char*, : Digikam::ImagePlugin(parent, "ImagePlugin_SuperImpose") { m_superimposeAction = new TDEAction(i18n("Template Superimpose..."), "superimpose", 0, - this, TQT_SLOT(slotSuperImpose()), + this, TQ_SLOT(slotSuperImpose()), actionCollection(), "imageplugin_superimpose"); setXMLFile("digikamimageplugin_superimpose_ui.rc"); diff --git a/digikam/imageplugins/superimpose/superimposetool.cpp b/digikam/imageplugins/superimpose/superimposetool.cpp index 6d3686f6..f035559c 100644 --- a/digikam/imageplugins/superimpose/superimposetool.cpp +++ b/digikam/imageplugins/superimpose/superimposetool.cpp @@ -152,17 +152,17 @@ SuperImposeTool::SuperImposeTool(TQObject* parent) // ------------------------------------------------------------- - connect(bGroup, TQT_SIGNAL(released(int)), - m_previewWidget, TQT_SLOT(slotEditModeChanged(int))); + connect(bGroup, TQ_SIGNAL(released(int)), + m_previewWidget, TQ_SLOT(slotEditModeChanged(int))); - connect(m_thumbnailsBar, TQT_SIGNAL(signalURLSelected(const KURL&)), - m_previewWidget, TQT_SLOT(slotSetCurrentTemplate(const KURL&))); + connect(m_thumbnailsBar, TQ_SIGNAL(signalURLSelected(const KURL&)), + m_previewWidget, TQ_SLOT(slotSetCurrentTemplate(const KURL&))); - connect(m_dirSelect, TQT_SIGNAL(folderItemSelected(const KURL &)), - this, TQT_SLOT(slotTemplateDirChanged(const KURL &))); + connect(m_dirSelect, TQ_SIGNAL(folderItemSelected(const KURL &)), + this, TQ_SLOT(slotTemplateDirChanged(const KURL &))); - connect(templateDirButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotRootTemplateDirChanged())); + connect(templateDirButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotRootTemplateDirChanged())); // ------------------------------------------------------------- diff --git a/digikam/imageplugins/texture/imageeffect_texture.cpp b/digikam/imageplugins/texture/imageeffect_texture.cpp index 56f08d73..5f5d7e9f 100644 --- a/digikam/imageplugins/texture/imageeffect_texture.cpp +++ b/digikam/imageplugins/texture/imageeffect_texture.cpp @@ -124,11 +124,11 @@ ImageEffect_Texture::ImageEffect_Texture(TQWidget* parent) // ------------------------------------------------------------- - connect(m_textureType, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotEffect())); + connect(m_textureType, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotEffect())); - connect(m_blendGain, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_blendGain, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); } ImageEffect_Texture::~ImageEffect_Texture() diff --git a/digikam/imageplugins/texture/imageplugin_texture.cpp b/digikam/imageplugins/texture/imageplugin_texture.cpp index 7114fa6a..ec0e3ba8 100644 --- a/digikam/imageplugins/texture/imageplugin_texture.cpp +++ b/digikam/imageplugins/texture/imageplugin_texture.cpp @@ -46,7 +46,7 @@ ImagePlugin_Texture::ImagePlugin_Texture(TQObject *parent, const char*, const TQ : Digikam::ImagePlugin(parent, "ImagePlugin_Texture") { m_textureAction = new TDEAction(i18n("Apply Texture..."), "texture", 0, - this, TQT_SLOT(slotTexture()), + this, TQ_SLOT(slotTexture()), actionCollection(), "imageplugin_texture"); setXMLFile( "digikamimageplugin_texture_ui.rc" ); diff --git a/digikam/imageplugins/texture/texturetool.cpp b/digikam/imageplugins/texture/texturetool.cpp index 143cf146..71e29aea 100644 --- a/digikam/imageplugins/texture/texturetool.cpp +++ b/digikam/imageplugins/texture/texturetool.cpp @@ -125,11 +125,11 @@ TextureTool::TextureTool(TQObject* parent) // ------------------------------------------------------------- - connect(m_textureType, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotEffect())); + connect(m_textureType, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotEffect())); - connect(m_blendGain, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimer())); + connect(m_blendGain, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimer())); } TextureTool::~TextureTool() diff --git a/digikam/imageplugins/whitebalance/imageeffect_whitebalance.cpp b/digikam/imageplugins/whitebalance/imageeffect_whitebalance.cpp index afae201b..f72609dd 100644 --- a/digikam/imageplugins/whitebalance/imageeffect_whitebalance.cpp +++ b/digikam/imageplugins/whitebalance/imageeffect_whitebalance.cpp @@ -333,59 +333,59 @@ ImageEffect_WhiteBalance::ImageEffect_WhiteBalance(TQWidget* parent) // ------------------------------------------------------------- - connect(m_channelCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotChannelChanged(int))); + connect(m_channelCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotChannelChanged(int))); - connect(m_scaleBG, TQT_SIGNAL(released(int)), - this, TQT_SLOT(slotScaleChanged(int))); + connect(m_scaleBG, TQ_SIGNAL(released(int)), + this, TQ_SLOT(slotScaleChanged(int))); - connect(m_previewWidget, TQT_SIGNAL(spotPositionChangedFromOriginal( const Digikam::DColor &, const TQPoint & )), - this, TQT_SLOT(slotColorSelectedFromOriginal( const Digikam::DColor & ))); + connect(m_previewWidget, TQ_SIGNAL(spotPositionChangedFromOriginal( const Digikam::DColor &, const TQPoint & )), + this, TQ_SLOT(slotColorSelectedFromOriginal( const Digikam::DColor & ))); - connect(m_previewWidget, TQT_SIGNAL(spotPositionChangedFromTarget( const Digikam::DColor &, const TQPoint & )), - this, TQT_SLOT(slotColorSelectedFromTarget( const Digikam::DColor & ))); + connect(m_previewWidget, TQ_SIGNAL(spotPositionChangedFromTarget( const Digikam::DColor &, const TQPoint & )), + this, TQ_SLOT(slotColorSelectedFromTarget( const Digikam::DColor & ))); - connect(m_previewWidget, TQT_SIGNAL(signalResized()), - this, TQT_SLOT(slotEffect())); + connect(m_previewWidget, TQ_SIGNAL(signalResized()), + this, TQ_SLOT(slotEffect())); // ------------------------------------------------------------- // Correction Filter Slider controls. - connect(m_temperaturePresetCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotTemperaturePresetChanged(int))); + connect(m_temperaturePresetCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotTemperaturePresetChanged(int))); - connect(m_temperatureInput, TQT_SIGNAL(valueChanged (double)), - this, TQT_SLOT(slotTemperatureChanged(double))); + connect(m_temperatureInput, TQ_SIGNAL(valueChanged (double)), + this, TQ_SLOT(slotTemperatureChanged(double))); - connect(m_darkInput, TQT_SIGNAL(valueChanged (double)), - this, TQT_SLOT(slotTimer())); + connect(m_darkInput, TQ_SIGNAL(valueChanged (double)), + this, TQ_SLOT(slotTimer())); - connect(m_blackInput, TQT_SIGNAL(valueChanged (double)), - this, TQT_SLOT(slotTimer())); + connect(m_blackInput, TQ_SIGNAL(valueChanged (double)), + this, TQ_SLOT(slotTimer())); - connect(m_mainExposureInput, TQT_SIGNAL(valueChanged (double)), - this, TQT_SLOT(slotTimer())); + connect(m_mainExposureInput, TQ_SIGNAL(valueChanged (double)), + this, TQ_SLOT(slotTimer())); - connect(m_fineExposureInput, TQT_SIGNAL(valueChanged (double)), - this, TQT_SLOT(slotTimer())); + connect(m_fineExposureInput, TQ_SIGNAL(valueChanged (double)), + this, TQ_SLOT(slotTimer())); - connect(m_gammaInput, TQT_SIGNAL(valueChanged (double)), - this, TQT_SLOT(slotTimer())); + connect(m_gammaInput, TQ_SIGNAL(valueChanged (double)), + this, TQ_SLOT(slotTimer())); - connect(m_saturationInput, TQT_SIGNAL(valueChanged (double)), - this, TQT_SLOT(slotTimer())); + connect(m_saturationInput, TQ_SIGNAL(valueChanged (double)), + this, TQ_SLOT(slotTimer())); - connect(m_greenInput, TQT_SIGNAL(valueChanged (double)), - this, TQT_SLOT(slotTimer())); + connect(m_greenInput, TQ_SIGNAL(valueChanged (double)), + this, TQ_SLOT(slotTimer())); // ------------------------------------------------------------- // Bouttons slots. - connect(m_autoAdjustExposure, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotAutoAdjustExposure())); + connect(m_autoAdjustExposure, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotAutoAdjustExposure())); - connect(m_pickTemperature, TQT_SIGNAL(released()), - this, TQT_SLOT(slotPickerColorButtonActived())); + connect(m_pickTemperature, TQ_SIGNAL(released()), + this, TQ_SLOT(slotPickerColorButtonActived())); } ImageEffect_WhiteBalance::~ImageEffect_WhiteBalance() diff --git a/digikam/imageplugins/whitebalance/imageplugin_whitebalance.cpp b/digikam/imageplugins/whitebalance/imageplugin_whitebalance.cpp index ada29aed..071097fe 100644 --- a/digikam/imageplugins/whitebalance/imageplugin_whitebalance.cpp +++ b/digikam/imageplugins/whitebalance/imageplugin_whitebalance.cpp @@ -47,7 +47,7 @@ ImagePlugin_WhiteBalance::ImagePlugin_WhiteBalance(TQObject *parent, const char* { m_whitebalanceAction = new TDEAction(i18n("White Balance..."), "whitebalance", CTRL+SHIFT+Key_W, - this, TQT_SLOT(slotWhiteBalance()), + this, TQ_SLOT(slotWhiteBalance()), actionCollection(), "imageplugin_whitebalance"); setXMLFile("digikamimageplugin_whitebalance_ui.rc"); diff --git a/digikam/imageplugins/whitebalance/whitebalancetool.cpp b/digikam/imageplugins/whitebalance/whitebalancetool.cpp index 47aa8a38..fdbe723a 100644 --- a/digikam/imageplugins/whitebalance/whitebalancetool.cpp +++ b/digikam/imageplugins/whitebalance/whitebalancetool.cpp @@ -342,59 +342,59 @@ WhiteBalanceTool::WhiteBalanceTool(TQObject* parent) // ------------------------------------------------------------- - connect(m_channelCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotChannelChanged(int))); + connect(m_channelCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotChannelChanged(int))); - connect(m_scaleBG, TQT_SIGNAL(released(int)), - this, TQT_SLOT(slotScaleChanged(int))); + connect(m_scaleBG, TQ_SIGNAL(released(int)), + this, TQ_SLOT(slotScaleChanged(int))); - connect(m_previewWidget, TQT_SIGNAL(spotPositionChangedFromOriginal(const Digikam::DColor&, const TQPoint&)), - this, TQT_SLOT(slotColorSelectedFromOriginal(const Digikam::DColor&))); + connect(m_previewWidget, TQ_SIGNAL(spotPositionChangedFromOriginal(const Digikam::DColor&, const TQPoint&)), + this, TQ_SLOT(slotColorSelectedFromOriginal(const Digikam::DColor&))); - connect(m_previewWidget, TQT_SIGNAL(spotPositionChangedFromTarget(const Digikam::DColor&, const TQPoint&)), - this, TQT_SLOT(slotColorSelectedFromTarget(const Digikam::DColor&))); + connect(m_previewWidget, TQ_SIGNAL(spotPositionChangedFromTarget(const Digikam::DColor&, const TQPoint&)), + this, TQ_SLOT(slotColorSelectedFromTarget(const Digikam::DColor&))); - connect(m_previewWidget, TQT_SIGNAL(signalResized()), - this, TQT_SLOT(slotEffect())); + connect(m_previewWidget, TQ_SIGNAL(signalResized()), + this, TQ_SLOT(slotEffect())); // ------------------------------------------------------------- // Correction Filter Slider controls. - connect(m_temperaturePresetCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotTemperaturePresetChanged(int))); + connect(m_temperaturePresetCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotTemperaturePresetChanged(int))); - connect(m_temperatureInput, TQT_SIGNAL(valueChanged (double)), - this, TQT_SLOT(slotTemperatureChanged(double))); + connect(m_temperatureInput, TQ_SIGNAL(valueChanged (double)), + this, TQ_SLOT(slotTemperatureChanged(double))); - connect(m_darkInput, TQT_SIGNAL(valueChanged (double)), - this, TQT_SLOT(slotTimer())); + connect(m_darkInput, TQ_SIGNAL(valueChanged (double)), + this, TQ_SLOT(slotTimer())); - connect(m_blackInput, TQT_SIGNAL(valueChanged (double)), - this, TQT_SLOT(slotTimer())); + connect(m_blackInput, TQ_SIGNAL(valueChanged (double)), + this, TQ_SLOT(slotTimer())); - connect(m_mainExposureInput, TQT_SIGNAL(valueChanged (double)), - this, TQT_SLOT(slotTimer())); + connect(m_mainExposureInput, TQ_SIGNAL(valueChanged (double)), + this, TQ_SLOT(slotTimer())); - connect(m_fineExposureInput, TQT_SIGNAL(valueChanged (double)), - this, TQT_SLOT(slotTimer())); + connect(m_fineExposureInput, TQ_SIGNAL(valueChanged (double)), + this, TQ_SLOT(slotTimer())); - connect(m_gammaInput, TQT_SIGNAL(valueChanged (double)), - this, TQT_SLOT(slotTimer())); + connect(m_gammaInput, TQ_SIGNAL(valueChanged (double)), + this, TQ_SLOT(slotTimer())); - connect(m_saturationInput, TQT_SIGNAL(valueChanged (double)), - this, TQT_SLOT(slotTimer())); + connect(m_saturationInput, TQ_SIGNAL(valueChanged (double)), + this, TQ_SLOT(slotTimer())); - connect(m_greenInput, TQT_SIGNAL(valueChanged (double)), - this, TQT_SLOT(slotTimer())); + connect(m_greenInput, TQ_SIGNAL(valueChanged (double)), + this, TQ_SLOT(slotTimer())); // ------------------------------------------------------------- // Bouttons slots. - connect(m_autoAdjustExposure, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotAutoAdjustExposure())); + connect(m_autoAdjustExposure, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotAutoAdjustExposure())); - connect(m_pickTemperature, TQT_SIGNAL(released()), - this, TQT_SLOT(slotPickerColorButtonActived())); + connect(m_pickTemperature, TQ_SIGNAL(released()), + this, TQ_SLOT(slotPickerColorButtonActived())); } WhiteBalanceTool::~WhiteBalanceTool() diff --git a/digikam/libs/dialogs/ctrlpaneldlg.cpp b/digikam/libs/dialogs/ctrlpaneldlg.cpp index a40dc681..450d380f 100644 --- a/digikam/libs/dialogs/ctrlpaneldlg.cpp +++ b/digikam/libs/dialogs/ctrlpaneldlg.cpp @@ -142,7 +142,7 @@ CtrlPanelDlg::CtrlPanelDlg(TQWidget* parent, TQString title, TQString name, // ------------------------------------------------------------- - TQTimer::singleShot(0, this, TQT_SLOT(slotInit())); + TQTimer::singleShot(0, this, TQ_SLOT(slotInit())); kapp->restoreOverrideCursor(); } @@ -163,17 +163,17 @@ CtrlPanelDlg::~CtrlPanelDlg() void CtrlPanelDlg::slotInit() { // Reset values to defaults. - TQTimer::singleShot(0, this, TQT_SLOT(readUserSettings())); + TQTimer::singleShot(0, this, TQ_SLOT(readUserSettings())); if (!d->tryAction) { - connect(m_imagePreviewWidget, TQT_SIGNAL(signalOriginalClipFocusChanged()), - this, TQT_SLOT(slotFocusChanged())); + connect(m_imagePreviewWidget, TQ_SIGNAL(signalOriginalClipFocusChanged()), + this, TQ_SLOT(slotFocusChanged())); } else { - connect(m_imagePreviewWidget, TQT_SIGNAL(signalResized()), - this, TQT_SLOT(slotFocusChanged())); + connect(m_imagePreviewWidget, TQ_SIGNAL(signalResized()), + this, TQ_SLOT(slotFocusChanged())); } } @@ -183,7 +183,7 @@ void CtrlPanelDlg::setAboutData(TDEAboutData *about) TQPushButton *helpButton = actionButton( Help ); KHelpMenu* helpMenu = new KHelpMenu(this, d->aboutData, false); helpMenu->menu()->removeItemAt(0); - helpMenu->menu()->insertItem(i18n("digiKam Handbook"), this, TQT_SLOT(slotHelp()), 0, -1, 0); + helpMenu->menu()->insertItem(i18n("digiKam Handbook"), this, TQ_SLOT(slotHelp()), 0, -1, 0); helpButton->setPopup( helpMenu->menu() ); } @@ -262,7 +262,7 @@ void CtrlPanelDlg::slotFocusChanged(void) m_threadedFilter->stopComputation(); } - TQTimer::singleShot(0, this, TQT_SLOT(slotEffect())); + TQTimer::singleShot(0, this, TQ_SLOT(slotEffect())); } void CtrlPanelDlg::slotHelp() @@ -285,8 +285,8 @@ void CtrlPanelDlg::slotTimer() } d->timer = new TQTimer( this ); - connect( d->timer, TQT_SIGNAL(timeout()), - this, TQT_SLOT(slotEffect()) ); + connect( d->timer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(slotEffect()) ); d->timer->start(500, true); } diff --git a/digikam/libs/dialogs/deletedialog.cpp b/digikam/libs/dialogs/deletedialog.cpp index bbe70411..1db9b9c4 100644 --- a/digikam/libs/dialogs/deletedialog.cpp +++ b/digikam/libs/dialogs/deletedialog.cpp @@ -199,8 +199,8 @@ DeleteDialog::DeleteDialog(TQWidget *parent, const char *name) adjustSize(); slotShouldDelete(shouldDelete()); - connect(m_widget->ddShouldDelete, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotShouldDelete(bool))); + connect(m_widget->ddShouldDelete, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotShouldDelete(bool))); actionButton(Ok)->setFocus(); } diff --git a/digikam/libs/dialogs/imagedialog.cpp b/digikam/libs/dialogs/imagedialog.cpp index 5304126f..d052a2af 100644 --- a/digikam/libs/dialogs/imagedialog.cpp +++ b/digikam/libs/dialogs/imagedialog.cpp @@ -104,8 +104,8 @@ ImageDialogPreview::ImageDialogPreview(TQWidget *parent) d->timer = new TQTimer(this); - connect(d->timer, TQT_SIGNAL(timeout()), - this, TQT_SLOT(showPreview()) ); + connect(d->timer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(showPreview()) ); } ImageDialogPreview::~ImageDialogPreview() @@ -156,11 +156,11 @@ void ImageDialogPreview::showPreview(const KURL& url) d->thumbJob = new ThumbnailJob(url, ThumbnailSize::Huge, true, true); - connect(d->thumbJob, TQT_SIGNAL(signalThumbnail(const KURL&, const TQPixmap&)), - this, TQT_SLOT(slotGotThumbnail(const KURL&, const TQPixmap&))); + connect(d->thumbJob, TQ_SIGNAL(signalThumbnail(const KURL&, const TQPixmap&)), + this, TQ_SLOT(slotGotThumbnail(const KURL&, const TQPixmap&))); - connect(d->thumbJob, TQT_SIGNAL(signalFailed(const KURL&)), - this, TQT_SLOT(slotFailedThumbnail(const KURL&))); + connect(d->thumbJob, TQ_SIGNAL(signalFailed(const KURL&)), + this, TQ_SLOT(slotFailedThumbnail(const KURL&))); d->metaIface.load(d->currentURL.path()); PhotoInfoContainer info = d->metaIface.getPhotographInformations(); diff --git a/digikam/libs/dialogs/imagedlgbase.cpp b/digikam/libs/dialogs/imagedlgbase.cpp index fbc2b864..61666406 100644 --- a/digikam/libs/dialogs/imagedlgbase.cpp +++ b/digikam/libs/dialogs/imagedlgbase.cpp @@ -219,7 +219,7 @@ void ImageDlgBase::setAboutData(TDEAboutData *about) TQPushButton *helpButton = actionButton( Help ); KHelpMenu* helpMenu = new KHelpMenu(this, d->aboutData, false); helpMenu->menu()->removeItemAt(0); - helpMenu->menu()->insertItem(i18n("digiKam Handbook"), this, TQT_SLOT(slotHelp()), 0, -1, 0); + helpMenu->menu()->insertItem(i18n("digiKam Handbook"), this, TQ_SLOT(slotHelp()), 0, -1, 0); helpButton->setPopup( helpMenu->menu() ); } @@ -252,8 +252,8 @@ void ImageDlgBase::slotTimer() } d->timer = new TQTimer( this ); - connect( d->timer, TQT_SIGNAL(timeout()), - this, TQT_SLOT(slotEffect()) ); + connect( d->timer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(slotEffect()) ); d->timer->start(500, true); } diff --git a/digikam/libs/dialogs/imageguidedlg.cpp b/digikam/libs/dialogs/imageguidedlg.cpp index e0fc2314..9713a872 100644 --- a/digikam/libs/dialogs/imageguidedlg.cpp +++ b/digikam/libs/dialogs/imageguidedlg.cpp @@ -260,7 +260,7 @@ ImageGuideDlg::ImageGuideDlg(TQWidget* parent, TQString title, TQString name, // ------------------------------------------------------------- - TQTimer::singleShot(0, this, TQT_SLOT(slotInit())); + TQTimer::singleShot(0, this, TQ_SLOT(slotInit())); kapp->restoreOverrideCursor(); } @@ -305,19 +305,19 @@ void ImageGuideDlg::slotInit() { readSettings(); // Reset values to defaults. - TQTimer::singleShot(0, this, TQT_SLOT(readUserSettings())); + TQTimer::singleShot(0, this, TQ_SLOT(readUserSettings())); if (!d->tryAction) { - connect(m_imagePreviewWidget, TQT_SIGNAL(signalResized()), - this, TQT_SLOT(slotResized())); + connect(m_imagePreviewWidget, TQ_SIGNAL(signalResized()), + this, TQ_SLOT(slotResized())); } - connect(d->guideColorBt, TQT_SIGNAL(changed(const TQColor &)), - m_imagePreviewWidget, TQT_SLOT(slotChangeGuideColor(const TQColor &))); + connect(d->guideColorBt, TQ_SIGNAL(changed(const TQColor &)), + m_imagePreviewWidget, TQ_SLOT(slotChangeGuideColor(const TQColor &))); - connect(d->guideSize, TQT_SIGNAL(valueChanged(int)), - m_imagePreviewWidget, TQT_SLOT(slotChangeGuideSize(int))); + connect(d->guideSize, TQ_SIGNAL(valueChanged(int)), + m_imagePreviewWidget, TQ_SLOT(slotChangeGuideSize(int))); } void ImageGuideDlg::setUserAreaWidget(TQWidget *w) @@ -334,7 +334,7 @@ void ImageGuideDlg::setAboutData(TDEAboutData *about) TQPushButton *helpButton = actionButton( Help ); KHelpMenu* helpMenu = new KHelpMenu(this, d->aboutData, false); helpMenu->menu()->removeItemAt(0); - helpMenu->menu()->insertItem(i18n("digiKam Handbook"), this, TQT_SLOT(slotHelp()), 0, -1, 0); + helpMenu->menu()->insertItem(i18n("digiKam Handbook"), this, TQ_SLOT(slotHelp()), 0, -1, 0); helpButton->setPopup( helpMenu->menu() ); } @@ -378,7 +378,7 @@ void ImageGuideDlg::slotResized(void) m_threadedFilter->stopComputation(); } - TQTimer::singleShot(0, this, TQT_SLOT(slotEffect())); + TQTimer::singleShot(0, this, TQ_SLOT(slotEffect())); } void ImageGuideDlg::slotUser1() @@ -442,8 +442,8 @@ void ImageGuideDlg::slotTimer() } d->timer = new TQTimer( this ); - connect( d->timer, TQT_SIGNAL(timeout()), - this, TQT_SLOT(slotEffect()) ); + connect( d->timer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(slotEffect()) ); d->timer->start(500, true); } diff --git a/digikam/libs/dialogs/rawcameradlg.cpp b/digikam/libs/dialogs/rawcameradlg.cpp index e67a565c..298b47d4 100644 --- a/digikam/libs/dialogs/rawcameradlg.cpp +++ b/digikam/libs/dialogs/rawcameradlg.cpp @@ -139,8 +139,8 @@ RawCameraDlg::RawCameraDlg(TQWidget *parent) // -------------------------------------------------------- - connect(d->searchBar, TQT_SIGNAL(signalTextChanged(const TQString&)), - this, TQT_SLOT(slotSearchTextChanged(const TQString&))); + connect(d->searchBar, TQ_SIGNAL(signalTextChanged(const TQString&)), + this, TQ_SLOT(slotSearchTextChanged(const TQString&))); resize(500, 500); } diff --git a/digikam/libs/dimg/loaders/jp2ksettings.cpp b/digikam/libs/dimg/loaders/jp2ksettings.cpp index ca5c473a..af0737c1 100644 --- a/digikam/libs/dimg/loaders/jp2ksettings.cpp +++ b/digikam/libs/dimg/loaders/jp2ksettings.cpp @@ -96,11 +96,11 @@ JP2KSettings::JP2KSettings(TQWidget *parent) d->JPEG2000Grid->addMultiCellWidget(d->JPEG2000compression, 1, 1, 1, 1); d->JPEG2000Grid->setColStretch(1, 10); - connect(d->JPEG2000LossLess, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotToggleJPEG2000LossLess(bool))); + connect(d->JPEG2000LossLess, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotToggleJPEG2000LossLess(bool))); - connect(d->JPEG2000LossLess, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotToggleJPEG2000LossLess(bool))); + connect(d->JPEG2000LossLess, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotToggleJPEG2000LossLess(bool))); } JP2KSettings::~JP2KSettings() diff --git a/digikam/libs/imageproperties/imagedescedittab.cpp b/digikam/libs/imageproperties/imagedescedittab.cpp index e0463559..f79b1d7c 100644 --- a/digikam/libs/imageproperties/imagedescedittab.cpp +++ b/digikam/libs/imageproperties/imagedescedittab.cpp @@ -234,50 +234,50 @@ ImageDescEditTab::ImageDescEditTab(TQWidget *parent, bool navBar) // -------------------------------------------------- - connect(d->tagsView, TQT_SIGNAL(signalProgressBarMode(int, const TQString&)), - this, TQT_SIGNAL(signalProgressBarMode(int, const TQString&))); + connect(d->tagsView, TQ_SIGNAL(signalProgressBarMode(int, const TQString&)), + this, TQ_SIGNAL(signalProgressBarMode(int, const TQString&))); - connect(d->tagsView, TQT_SIGNAL(signalProgressValue(int)), - this, TQT_SIGNAL(signalProgressValue(int))); + connect(d->tagsView, TQ_SIGNAL(signalProgressValue(int)), + this, TQ_SIGNAL(signalProgressValue(int))); - connect(popupMenu, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotRecentTagsMenuActivated(int))); + connect(popupMenu, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotRecentTagsMenuActivated(int))); - connect(d->tagsView, TQT_SIGNAL(signalItemStateChanged(TAlbumCheckListItem *)), - this, TQT_SLOT(slotItemStateChanged(TAlbumCheckListItem *))); + connect(d->tagsView, TQ_SIGNAL(signalItemStateChanged(TAlbumCheckListItem *)), + this, TQ_SLOT(slotItemStateChanged(TAlbumCheckListItem *))); - connect(d->commentsEdit, TQT_SIGNAL(textChanged()), - this, TQT_SLOT(slotCommentChanged())); + connect(d->commentsEdit, TQ_SIGNAL(textChanged()), + this, TQ_SLOT(slotCommentChanged())); - connect(d->dateTimeEdit, TQT_SIGNAL(dateTimeChanged(const TQDateTime& )), - this, TQT_SLOT(slotDateTimeChanged(const TQDateTime&))); + connect(d->dateTimeEdit, TQ_SIGNAL(dateTimeChanged(const TQDateTime& )), + this, TQ_SLOT(slotDateTimeChanged(const TQDateTime&))); - connect(d->ratingWidget, TQT_SIGNAL(signalRatingChanged(int)), - this, TQT_SLOT(slotRatingChanged(int))); + connect(d->ratingWidget, TQ_SIGNAL(signalRatingChanged(int)), + this, TQ_SLOT(slotRatingChanged(int))); - connect(d->tagsView, TQT_SIGNAL(rightButtonClicked(TQListViewItem*, const TQPoint &, int)), - this, TQT_SLOT(slotRightButtonClicked(TQListViewItem*, const TQPoint&, int))); + connect(d->tagsView, TQ_SIGNAL(rightButtonClicked(TQListViewItem*, const TQPoint &, int)), + this, TQ_SLOT(slotRightButtonClicked(TQListViewItem*, const TQPoint&, int))); - connect(d->tagsSearchBar, TQT_SIGNAL(signalTextChanged(const TQString&)), - this, TQT_SLOT(slotTagsSearchChanged(const TQString&))); + connect(d->tagsSearchBar, TQ_SIGNAL(signalTextChanged(const TQString&)), + this, TQ_SLOT(slotTagsSearchChanged(const TQString&))); - connect(this, TQT_SIGNAL(signalTagFilterMatch(bool)), - d->tagsSearchBar, TQT_SLOT(slotSearchResult(bool))); + connect(this, TQ_SIGNAL(signalTagFilterMatch(bool)), + d->tagsSearchBar, TQ_SLOT(slotSearchResult(bool))); - connect(d->assignedTagsBtn, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotAssignedTagsToggled(bool))); + connect(d->assignedTagsBtn, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotAssignedTagsToggled(bool))); - connect(d->newTagEdit->lineEdit(), TQT_SIGNAL(returnPressed(const TQString&)), - this, TQT_SLOT(slotCreateNewTag())); + connect(d->newTagEdit->lineEdit(), TQ_SIGNAL(returnPressed(const TQString&)), + this, TQ_SLOT(slotCreateNewTag())); - connect(d->applyBtn, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotApplyAllChanges())); + connect(d->applyBtn, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotApplyAllChanges())); - connect(d->revertBtn, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotRevertAllChanges())); + connect(d->revertBtn, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotRevertAllChanges())); - connect(d->moreMenu, TQT_SIGNAL(aboutToShow()), - this, TQT_SLOT(slotMoreMenu())); + connect(d->moreMenu, TQ_SIGNAL(aboutToShow()), + this, TQ_SLOT(slotMoreMenu())); // Initialize --------------------------------------------- @@ -291,55 +291,55 @@ ImageDescEditTab::ImageDescEditTab(TQWidget *parent, bool navBar) AlbumManager* man = AlbumManager::instance(); - connect(man, TQT_SIGNAL(signalAlbumAdded(Album*)), - this, TQT_SLOT(slotAlbumAdded(Album*))); + connect(man, TQ_SIGNAL(signalAlbumAdded(Album*)), + this, TQ_SLOT(slotAlbumAdded(Album*))); - connect(man, TQT_SIGNAL(signalAlbumDeleted(Album*)), - this, TQT_SLOT(slotAlbumDeleted(Album*))); + connect(man, TQ_SIGNAL(signalAlbumDeleted(Album*)), + this, TQ_SLOT(slotAlbumDeleted(Album*))); - connect(man, TQT_SIGNAL(signalAlbumRenamed(Album*)), - this, TQT_SLOT(slotAlbumRenamed(Album*))); + connect(man, TQ_SIGNAL(signalAlbumRenamed(Album*)), + this, TQ_SLOT(slotAlbumRenamed(Album*))); - connect(man, TQT_SIGNAL(signalAlbumsCleared()), - this, TQT_SLOT(slotAlbumsCleared())); + connect(man, TQ_SIGNAL(signalAlbumsCleared()), + this, TQ_SLOT(slotAlbumsCleared())); - connect(man, TQT_SIGNAL(signalAlbumIconChanged(Album*)), - this, TQT_SLOT(slotAlbumIconChanged(Album*))); + connect(man, TQ_SIGNAL(signalAlbumIconChanged(Album*)), + this, TQ_SLOT(slotAlbumIconChanged(Album*))); - connect(man, TQT_SIGNAL(signalTAlbumMoved(TAlbum*, TAlbum*)), - this, TQT_SLOT(slotAlbumMoved(TAlbum*, TAlbum*))); + connect(man, TQ_SIGNAL(signalTAlbumMoved(TAlbum*, TAlbum*)), + this, TQ_SLOT(slotAlbumMoved(TAlbum*, TAlbum*))); // Connect to thumbnail loader ----------------------------- AlbumThumbnailLoader *loader = AlbumThumbnailLoader::instance(); - connect(loader, TQT_SIGNAL(signalThumbnail(Album *, const TQPixmap&)), - this, TQT_SLOT(slotGotThumbnailFromIcon(Album *, const TQPixmap&))); + connect(loader, TQ_SIGNAL(signalThumbnail(Album *, const TQPixmap&)), + this, TQ_SLOT(slotGotThumbnailFromIcon(Album *, const TQPixmap&))); - connect(loader, TQT_SIGNAL(signalFailed(Album *)), - this, TQT_SLOT(slotThumbnailLost(Album *))); + connect(loader, TQ_SIGNAL(signalFailed(Album *)), + this, TQ_SLOT(slotThumbnailLost(Album *))); - connect(loader, TQT_SIGNAL(signalReloadThumbnails()), - this, TQT_SLOT(slotReloadThumbnails())); + connect(loader, TQ_SIGNAL(signalReloadThumbnails()), + this, TQ_SLOT(slotReloadThumbnails())); // Connect to attribute watch ------------------------------ ImageAttributesWatch *watch = ImageAttributesWatch::instance(); - connect(watch, TQT_SIGNAL(signalImageTagsChanged(TQ_LLONG)), - this, TQT_SLOT(slotImageTagsChanged(TQ_LLONG))); + connect(watch, TQ_SIGNAL(signalImageTagsChanged(TQ_LLONG)), + this, TQ_SLOT(slotImageTagsChanged(TQ_LLONG))); - connect(watch, TQT_SIGNAL(signalImagesChanged(int)), - this, TQT_SLOT(slotImagesChanged(int))); + connect(watch, TQ_SIGNAL(signalImagesChanged(int)), + this, TQ_SLOT(slotImagesChanged(int))); - connect(watch, TQT_SIGNAL(signalImageRatingChanged(TQ_LLONG)), - this, TQT_SLOT(slotImageRatingChanged(TQ_LLONG))); + connect(watch, TQ_SIGNAL(signalImageRatingChanged(TQ_LLONG)), + this, TQ_SLOT(slotImageRatingChanged(TQ_LLONG))); - connect(watch, TQT_SIGNAL(signalImageDateChanged(TQ_LLONG)), - this, TQT_SLOT(slotImageDateChanged(TQ_LLONG))); + connect(watch, TQ_SIGNAL(signalImageDateChanged(TQ_LLONG)), + this, TQ_SLOT(slotImageDateChanged(TQ_LLONG))); - connect(watch, TQT_SIGNAL(signalImageCaptionChanged(TQ_LLONG)), - this, TQT_SLOT(slotImageCaptionChanged(TQ_LLONG))); + connect(watch, TQ_SIGNAL(signalImageCaptionChanged(TQ_LLONG)), + this, TQ_SLOT(slotImageCaptionChanged(TQ_LLONG))); // -- read config --------------------------------------------------------- @@ -819,8 +819,8 @@ void ImageDescEditTab::slotRightButtonClicked(TQListViewItem *item, const TQPoin d->ABCMenu = new TQPopupMenu; - connect(d->ABCMenu, TQT_SIGNAL( aboutToShow() ), - this, TQT_SLOT( slotABCContextMenu() )); + connect(d->ABCMenu, TQ_SIGNAL( aboutToShow() ), + this, TQ_SLOT( slotABCContextMenu() )); TDEPopupMenu popmenu(this); popmenu.insertTitle(SmallIcon("digikam"), i18n("Tags")); @@ -1043,8 +1043,8 @@ void ImageDescEditTab::slotMoreMenu() if (singleSelection()) { - d->moreMenu->insertItem(i18n("Read metadata from file to database"), this, TQT_SLOT(slotReadFromFileMetadataToDatabase())); - int writeActionId = d->moreMenu->insertItem(i18n("Write metadata to each file"), this, TQT_SLOT(slotWriteToFileMetadataFromDatabase())); + d->moreMenu->insertItem(i18n("Read metadata from file to database"), this, TQ_SLOT(slotReadFromFileMetadataToDatabase())); + int writeActionId = d->moreMenu->insertItem(i18n("Write metadata to each file"), this, TQ_SLOT(slotWriteToFileMetadataFromDatabase())); // we do not need a "Write to file" action here because the apply button will do just that // if selection is a single file. // Adding the option will confuse users: Does the apply button not write to file? @@ -1056,8 +1056,8 @@ void ImageDescEditTab::slotMoreMenu() { // We need to make clear that this action is different from the Apply button, // which saves the same changes to all files. These batch operations operate on each single file. - d->moreMenu->insertItem(i18n("Read metadata from each file to database"), this, TQT_SLOT(slotReadFromFileMetadataToDatabase())); - d->moreMenu->insertItem(i18n("Write metadata to each file"), this, TQT_SLOT(slotWriteToFileMetadataFromDatabase())); + d->moreMenu->insertItem(i18n("Read metadata from each file to database"), this, TQ_SLOT(slotReadFromFileMetadataToDatabase())); + d->moreMenu->insertItem(i18n("Write metadata to each file"), this, TQ_SLOT(slotWriteToFileMetadataFromDatabase())); } } diff --git a/digikam/libs/imageproperties/imagepropertiescolorstab.cpp b/digikam/libs/imageproperties/imagepropertiescolorstab.cpp index a30c69ca..af85953b 100644 --- a/digikam/libs/imageproperties/imagepropertiescolorstab.cpp +++ b/digikam/libs/imageproperties/imagepropertiescolorstab.cpp @@ -349,35 +349,35 @@ ImagePropertiesColorsTab::ImagePropertiesColorsTab(TQWidget* parent, bool navBar // ------------------------------------------------------------- - connect(d->channelCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotChannelChanged(int))); + connect(d->channelCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotChannelChanged(int))); - connect(d->scaleBG, TQT_SIGNAL(released(int)), - this, TQT_SLOT(slotScaleChanged(int))); + connect(d->scaleBG, TQ_SIGNAL(released(int)), + this, TQ_SLOT(slotScaleChanged(int))); - connect(d->colorsCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotColorsChanged(int))); + connect(d->colorsCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotColorsChanged(int))); - connect(d->regionBG, TQT_SIGNAL(released(int)), - this, TQT_SLOT(slotRenderingChanged(int))); + connect(d->regionBG, TQ_SIGNAL(released(int)), + this, TQ_SLOT(slotRenderingChanged(int))); - connect(d->histogramWidget, TQT_SIGNAL(signalIntervalChanged( int, int )), - this, TQT_SLOT(slotUpdateInterval(int, int))); + connect(d->histogramWidget, TQ_SIGNAL(signalIntervalChanged( int, int )), + this, TQ_SLOT(slotUpdateInterval(int, int))); - connect(d->histogramWidget, TQT_SIGNAL(signalMaximumValueChanged( int )), - this, TQT_SLOT(slotUpdateIntervRange(int))); + connect(d->histogramWidget, TQ_SIGNAL(signalMaximumValueChanged( int )), + this, TQ_SLOT(slotUpdateIntervRange(int))); - connect(d->histogramWidget, TQT_SIGNAL(signalHistogramComputationDone(bool)), - this, TQT_SLOT(slotRefreshOptions(bool))); + connect(d->histogramWidget, TQ_SIGNAL(signalHistogramComputationDone(bool)), + this, TQ_SLOT(slotRefreshOptions(bool))); - connect(d->histogramWidget, TQT_SIGNAL(signalHistogramComputationFailed(void)), - this, TQT_SLOT(slotHistogramComputationFailed(void))); + connect(d->histogramWidget, TQ_SIGNAL(signalHistogramComputationFailed(void)), + this, TQ_SLOT(slotHistogramComputationFailed(void))); - connect(d->minInterv, TQT_SIGNAL(valueChanged (int)), - this, TQT_SLOT(slotMinValueChanged(int))); + connect(d->minInterv, TQ_SIGNAL(valueChanged (int)), + this, TQ_SLOT(slotMinValueChanged(int))); - connect(d->maxInterv, TQT_SIGNAL(valueChanged (int)), - this, TQT_SLOT(slotMaxValueChanged(int))); + connect(d->maxInterv, TQ_SIGNAL(valueChanged (int)), + this, TQ_SLOT(slotMaxValueChanged(int))); // -- read config --------------------------------------------------------- @@ -509,11 +509,11 @@ void ImagePropertiesColorsTab::loadImageFromUrl(const KURL& url) { d->imageLoaderThread = new SharedLoadSaveThread(); - connect(d->imageLoaderThread, TQT_SIGNAL(signalImageLoaded(const LoadingDescription &, const DImg&)), - this, TQT_SLOT(slotLoadImageFromUrlComplete(const LoadingDescription &, const DImg&))); + connect(d->imageLoaderThread, TQ_SIGNAL(signalImageLoaded(const LoadingDescription &, const DImg&)), + this, TQ_SLOT(slotLoadImageFromUrlComplete(const LoadingDescription &, const DImg&))); - connect(d->imageLoaderThread, TQT_SIGNAL(signalMoreCompleteLoadingAvailable(const LoadingDescription &, const LoadingDescription &)), - this, TQT_SLOT(slotMoreCompleteLoadingAvailable(const LoadingDescription &, const LoadingDescription &))); + connect(d->imageLoaderThread, TQ_SIGNAL(signalMoreCompleteLoadingAvailable(const LoadingDescription &, const LoadingDescription &)), + this, TQ_SLOT(slotMoreCompleteLoadingAvailable(const LoadingDescription &, const LoadingDescription &))); } LoadingDescription desc = LoadingDescription(url.path()); diff --git a/digikam/libs/imageproperties/imagepropertiessidebar.cpp b/digikam/libs/imageproperties/imagepropertiessidebar.cpp index c54721c1..67254388 100644 --- a/digikam/libs/imageproperties/imagepropertiessidebar.cpp +++ b/digikam/libs/imageproperties/imagepropertiessidebar.cpp @@ -70,8 +70,8 @@ ImagePropertiesSideBar::ImagePropertiesSideBar(TQWidget *parent, const char *nam appendTab(m_metadataTab, SmallIcon("exifinfo"), i18n("Metadata")); appendTab(m_colorTab, SmallIcon("blend"), i18n("Colors")); - connect(this, TQT_SIGNAL(signalChangedTab(TQWidget*)), - this, TQT_SLOT(slotChangedTab(TQWidget*))); + connect(this, TQ_SIGNAL(signalChangedTab(TQWidget*)), + this, TQ_SLOT(slotChangedTab(TQWidget*))); } ImagePropertiesSideBar::~ImagePropertiesSideBar() diff --git a/digikam/libs/imageproperties/imagepropertiessidebarcamgui.cpp b/digikam/libs/imageproperties/imagepropertiessidebarcamgui.cpp index f69b7f45..942c33e5 100644 --- a/digikam/libs/imageproperties/imagepropertiessidebarcamgui.cpp +++ b/digikam/libs/imageproperties/imagepropertiessidebarcamgui.cpp @@ -106,8 +106,8 @@ ImagePropertiesSideBarCamGui::ImagePropertiesSideBarCamGui(TQWidget *parent, con connectNavigateSignals(d->cameraItemTab); connectNavigateSignals(d->metadataTab); - connect(this, TQT_SIGNAL(signalChangedTab(TQWidget*)), - this, TQT_SLOT(slotChangedTab(TQWidget*))); + connect(this, TQ_SIGNAL(signalChangedTab(TQWidget*)), + this, TQ_SLOT(slotChangedTab(TQWidget*))); } ImagePropertiesSideBarCamGui::~ImagePropertiesSideBarCamGui() @@ -117,17 +117,17 @@ ImagePropertiesSideBarCamGui::~ImagePropertiesSideBarCamGui() void ImagePropertiesSideBarCamGui::connectNavigateSignals(NavigateBarTab *tab) { - connect(tab, TQT_SIGNAL(signalFirstItem()), - this, TQT_SIGNAL(signalFirstItem())); + connect(tab, TQ_SIGNAL(signalFirstItem()), + this, TQ_SIGNAL(signalFirstItem())); - connect(tab, TQT_SIGNAL(signalPrevItem()), - this, TQT_SIGNAL(signalPrevItem())); + connect(tab, TQ_SIGNAL(signalPrevItem()), + this, TQ_SIGNAL(signalPrevItem())); - connect(tab, TQT_SIGNAL(signalNextItem()), - this, TQT_SIGNAL(signalNextItem())); + connect(tab, TQ_SIGNAL(signalNextItem()), + this, TQ_SIGNAL(signalNextItem())); - connect(tab, TQT_SIGNAL(signalLastItem()), - this, TQT_SIGNAL(signalLastItem())); + connect(tab, TQ_SIGNAL(signalLastItem()), + this, TQ_SIGNAL(signalLastItem())); } void ImagePropertiesSideBarCamGui::itemChanged(GPItemInfo* itemInfo, const KURL& url, diff --git a/digikam/libs/imageproperties/imagepropertiessidebardb.cpp b/digikam/libs/imageproperties/imagepropertiessidebardb.cpp index e3606224..f3dc5f7a 100644 --- a/digikam/libs/imageproperties/imagepropertiessidebardb.cpp +++ b/digikam/libs/imageproperties/imagepropertiessidebardb.cpp @@ -92,19 +92,19 @@ ImagePropertiesSideBarDB::ImagePropertiesSideBarDB(TQWidget *parent, const char // ---------------------------------------------------------- - connect(this, TQT_SIGNAL(signalChangedTab(TQWidget*)), - this, TQT_SLOT(slotChangedTab(TQWidget*))); + connect(this, TQ_SIGNAL(signalChangedTab(TQWidget*)), + this, TQ_SLOT(slotChangedTab(TQWidget*))); - connect(d->desceditTab, TQT_SIGNAL(signalProgressBarMode(int, const TQString&)), - this, TQT_SIGNAL(signalProgressBarMode(int, const TQString&))); + connect(d->desceditTab, TQ_SIGNAL(signalProgressBarMode(int, const TQString&)), + this, TQ_SIGNAL(signalProgressBarMode(int, const TQString&))); - connect(d->desceditTab, TQT_SIGNAL(signalProgressValue(int)), - this, TQT_SIGNAL(signalProgressValue(int))); + connect(d->desceditTab, TQ_SIGNAL(signalProgressValue(int)), + this, TQ_SIGNAL(signalProgressValue(int))); ImageAttributesWatch *watch = ImageAttributesWatch::instance(); - connect(watch, TQT_SIGNAL(signalFileMetadataChanged(const KURL &)), - this, TQT_SLOT(slotFileMetadataChanged(const KURL &))); + connect(watch, TQ_SIGNAL(signalFileMetadataChanged(const KURL &)), + this, TQ_SLOT(slotFileMetadataChanged(const KURL &))); } ImagePropertiesSideBarDB::~ImagePropertiesSideBarDB() diff --git a/digikam/libs/imageproperties/navigatebartab.cpp b/digikam/libs/imageproperties/navigatebartab.cpp index 87540cd9..d40ae134 100644 --- a/digikam/libs/imageproperties/navigatebartab.cpp +++ b/digikam/libs/imageproperties/navigatebartab.cpp @@ -80,17 +80,17 @@ void NavigateBarTab::setupNavigateBar(bool withBar) d->navigateBar = new NavigateBarWidget(d->stack, withBar); d->stack->addWidget(d->navigateBar); - connect(d->navigateBar, TQT_SIGNAL(signalFirstItem()), - this, TQT_SIGNAL(signalFirstItem())); + connect(d->navigateBar, TQ_SIGNAL(signalFirstItem()), + this, TQ_SIGNAL(signalFirstItem())); - connect(d->navigateBar, TQT_SIGNAL(signalPrevItem()), - this, TQT_SIGNAL(signalPrevItem())); + connect(d->navigateBar, TQ_SIGNAL(signalPrevItem()), + this, TQ_SIGNAL(signalPrevItem())); - connect(d->navigateBar, TQT_SIGNAL(signalNextItem()), - this, TQT_SIGNAL(signalNextItem())); + connect(d->navigateBar, TQ_SIGNAL(signalNextItem()), + this, TQ_SIGNAL(signalNextItem())); - connect(d->navigateBar, TQT_SIGNAL(signalLastItem()), - this, TQT_SIGNAL(signalLastItem())); + connect(d->navigateBar, TQ_SIGNAL(signalLastItem()), + this, TQ_SIGNAL(signalLastItem())); d->label = new TQLabel(d->stack); d->label->setAlignment(TQt::AlignCenter); diff --git a/digikam/libs/imageproperties/navigatebarwidget.cpp b/digikam/libs/imageproperties/navigatebarwidget.cpp index ba923cfd..9232c55e 100644 --- a/digikam/libs/imageproperties/navigatebarwidget.cpp +++ b/digikam/libs/imageproperties/navigatebarwidget.cpp @@ -70,17 +70,17 @@ NavigateBarWidget::NavigateBarWidget(TQWidget *parent, bool show) if (!show) hide(); - connect(d->navBar, TQT_SIGNAL(signalFirstItem()), - this, TQT_SIGNAL(signalFirstItem())); + connect(d->navBar, TQ_SIGNAL(signalFirstItem()), + this, TQ_SIGNAL(signalFirstItem())); - connect(d->navBar, TQT_SIGNAL(signalPrevItem()), - this, TQT_SIGNAL(signalPrevItem())); + connect(d->navBar, TQ_SIGNAL(signalPrevItem()), + this, TQ_SIGNAL(signalPrevItem())); - connect(d->navBar, TQT_SIGNAL(signalNextItem()), - this, TQT_SIGNAL(signalNextItem())); + connect(d->navBar, TQ_SIGNAL(signalNextItem()), + this, TQ_SIGNAL(signalNextItem())); - connect(d->navBar, TQT_SIGNAL(signalLastItem()), - this, TQT_SIGNAL(signalLastItem())); + connect(d->navBar, TQ_SIGNAL(signalLastItem()), + this, TQ_SIGNAL(signalLastItem())); } NavigateBarWidget::~NavigateBarWidget() diff --git a/digikam/libs/imageproperties/talbumlistview.cpp b/digikam/libs/imageproperties/talbumlistview.cpp index 4191962a..1369d228 100644 --- a/digikam/libs/imageproperties/talbumlistview.cpp +++ b/digikam/libs/imageproperties/talbumlistview.cpp @@ -178,8 +178,8 @@ TAlbumListView::TAlbumListView(TQWidget* parent) setAcceptDrops(true); viewport()->setAcceptDrops(true); - connect(AlbumManager::instance(), TQT_SIGNAL(signalTAlbumsDirty(const TQMap&)), - this, TQT_SLOT(slotRefresh(const TQMap&))); + connect(AlbumManager::instance(), TQ_SIGNAL(signalTAlbumsDirty(const TQMap&)), + this, TQ_SLOT(slotRefresh(const TQMap&))); } TAlbumListView::~TAlbumListView() diff --git a/digikam/libs/themeengine/themeengine.cpp b/digikam/libs/themeengine/themeengine.cpp index f788defa..331ffa5d 100644 --- a/digikam/libs/themeengine/themeengine.cpp +++ b/digikam/libs/themeengine/themeengine.cpp @@ -248,7 +248,7 @@ void ThemeEngine::setCurrentTheme(const TQString& name) changePalette(); - TQTimer::singleShot(0, this, TQT_SIGNAL(signalThemeChanged())); + TQTimer::singleShot(0, this, TQ_SIGNAL(signalThemeChanged())); } void ThemeEngine::setCurrentTheme(const Theme& theme, const TQString& name, bool loadFromDisk) @@ -271,7 +271,7 @@ void ThemeEngine::setCurrentTheme(const Theme& theme, const TQString& name, bool changePalette(); - TQTimer::singleShot(0, this, TQT_SIGNAL(signalThemeChanged())); + TQTimer::singleShot(0, this, TQ_SIGNAL(signalThemeChanged())); } void ThemeEngine::changePalette() diff --git a/digikam/libs/threadimageio/loadingcache.cpp b/digikam/libs/threadimageio/loadingcache.cpp index e2b39fee..04dd3e4f 100644 --- a/digikam/libs/threadimageio/loadingcache.cpp +++ b/digikam/libs/threadimageio/loadingcache.cpp @@ -78,8 +78,8 @@ LoadingCache::LoadingCache() d->watch = new KDirWatch; - connect(d->watch, TQT_SIGNAL(dirty(const TQString &)), - this, TQT_SLOT(slotFileDirty(const TQString &))); + connect(d->watch, TQ_SIGNAL(dirty(const TQString &)), + this, TQ_SLOT(slotFileDirty(const TQString &))); } LoadingCache::~LoadingCache() diff --git a/digikam/libs/thumbbar/thumbbar.cpp b/digikam/libs/thumbbar/thumbbar.cpp index 4de25670..f5b32767 100644 --- a/digikam/libs/thumbbar/thumbbar.cpp +++ b/digikam/libs/thumbbar/thumbbar.cpp @@ -163,8 +163,8 @@ ThumbBarView::ThumbBarView(TQWidget* parent, int orientation, bool exifRotate, d->toolTip = new ThumbBarToolTip(this); d->timer = new TQTimer(this); - connect(d->timer, TQT_SIGNAL(timeout()), - this, TQT_SLOT(slotUpdate())); + connect(d->timer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(slotUpdate())); viewport()->setBackgroundMode(TQt::NoBackground); viewport()->setMouseTracking(true); @@ -442,11 +442,11 @@ void ThumbBarView::invalidateThumb(ThumbBarItem* item) d->thumbJob = new ThumbnailJob(item->url(), ThumbnailSize::Huge, true, d->exifRotate); - connect(d->thumbJob, TQT_SIGNAL(signalThumbnail(const KURL&, const TQPixmap&)), - this, TQT_SLOT(slotGotThumbnail(const KURL&, const TQPixmap&))); + connect(d->thumbJob, TQ_SIGNAL(signalThumbnail(const KURL&, const TQPixmap&)), + this, TQ_SLOT(slotGotThumbnail(const KURL&, const TQPixmap&))); - connect(d->thumbJob, TQT_SIGNAL(signalFailed(const KURL&)), - this, TQT_SLOT(slotFailedThumbnail(const KURL&))); + connect(d->thumbJob, TQ_SIGNAL(signalFailed(const KURL&)), + this, TQ_SLOT(slotFailedThumbnail(const KURL&))); } void ThumbBarView::viewportPaintEvent(TQPaintEvent* e) @@ -751,11 +751,11 @@ void ThumbBarView::rearrangeItems() d->thumbJob = new ThumbnailJob(urlList, ThumbnailSize::Huge, true, d->exifRotate); - connect(d->thumbJob, TQT_SIGNAL(signalThumbnail(const KURL&, const TQPixmap&)), - this, TQT_SLOT(slotGotThumbnail(const KURL&, const TQPixmap&))); + connect(d->thumbJob, TQ_SIGNAL(signalThumbnail(const KURL&, const TQPixmap&)), + this, TQ_SLOT(slotGotThumbnail(const KURL&, const TQPixmap&))); - connect(d->thumbJob, TQT_SIGNAL(signalFailed(const KURL&)), - this, TQT_SLOT(slotFailedThumbnail(const KURL&))); + connect(d->thumbJob, TQ_SIGNAL(signalFailed(const KURL&)), + this, TQ_SLOT(slotFailedThumbnail(const KURL&))); } } diff --git a/digikam/libs/thumbbar/thumbnailjob.cpp b/digikam/libs/thumbbar/thumbnailjob.cpp index 46d4e466..dcabb393 100644 --- a/digikam/libs/thumbbar/thumbnailjob.cpp +++ b/digikam/libs/thumbbar/thumbnailjob.cpp @@ -206,8 +206,8 @@ void ThumbnailJob::processNext() if (d->exifRotate) job->addMetaData("exif", "yes"); - connect(job, TQT_SIGNAL(data(TDEIO::Job *, const TQByteArray &)), - this, TQT_SLOT(slotThumbData(TDEIO::Job *, const TQByteArray &))); + connect(job, TQ_SIGNAL(data(TDEIO::Job *, const TQByteArray &)), + this, TQ_SLOT(slotThumbData(TDEIO::Job *, const TQByteArray &))); addSubjob(job); d->running = true; diff --git a/digikam/libs/widgets/common/curveswidget.cpp b/digikam/libs/widgets/common/curveswidget.cpp index 632fa04b..281aecc9 100644 --- a/digikam/libs/widgets/common/curveswidget.cpp +++ b/digikam/libs/widgets/common/curveswidget.cpp @@ -153,8 +153,8 @@ void CurvesWidget::setup(int w, int h, bool readOnly) d->blinkTimer = new TQTimer( this ); - connect(d->blinkTimer, TQT_SIGNAL(timeout()), - this, TQT_SLOT(slotBlinkTimerDone())); + connect(d->blinkTimer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(slotBlinkTimerDone())); } void CurvesWidget::updateData(uchar *i_data, uint i_w, uint i_h, bool i_sixteenBits) diff --git a/digikam/libs/widgets/common/dlogoaction.cpp b/digikam/libs/widgets/common/dlogoaction.cpp index 26e37fc5..60cfd77f 100644 --- a/digikam/libs/widgets/common/dlogoaction.cpp +++ b/digikam/libs/widgets/common/dlogoaction.cpp @@ -74,11 +74,11 @@ int DLogoAction::plug(TQWidget *widget, int index) addContainer(bar, id); - connect(bar, TQT_SIGNAL(destroyed()), - this, TQT_SLOT(slotDestroyed())); + connect(bar, TQ_SIGNAL(destroyed()), + this, TQ_SLOT(slotDestroyed())); - connect(pixmapLogo, TQT_SIGNAL(leftClickedURL(const TQString&)), - this, TQT_SLOT(slotProcessURL(const TQString&))); + connect(pixmapLogo, TQ_SIGNAL(leftClickedURL(const TQString&)), + this, TQ_SLOT(slotProcessURL(const TQString&))); return containerCount() - 1; } diff --git a/digikam/libs/widgets/common/histogramwidget.cpp b/digikam/libs/widgets/common/histogramwidget.cpp index b93af0ac..b3017201 100644 --- a/digikam/libs/widgets/common/histogramwidget.cpp +++ b/digikam/libs/widgets/common/histogramwidget.cpp @@ -184,8 +184,8 @@ void HistogramWidget::setup(int w, int h, bool selectMode, bool showProgress, bo d->blinkTimer = new TQTimer( this ); - connect( d->blinkTimer, TQT_SIGNAL(timeout()), - this, TQT_SLOT(slotBlinkTimerDone()) ); + connect( d->blinkTimer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(slotBlinkTimerDone()) ); } void HistogramWidget::setHistogramGuideByColor(const DColor& color) diff --git a/digikam/libs/widgets/common/searchtextbar.cpp b/digikam/libs/widgets/common/searchtextbar.cpp index 1eb4c273..1a81c03b 100644 --- a/digikam/libs/widgets/common/searchtextbar.cpp +++ b/digikam/libs/widgets/common/searchtextbar.cpp @@ -179,11 +179,11 @@ SearchTextBar::SearchTextBar(TQWidget *parent, const char* name, const TQString hlay->addWidget(d->searchEdit); hlay->addWidget(d->clearButton); - connect(d->clearButton, TQT_SIGNAL(clicked()), - d->searchEdit, TQT_SLOT(clear())); + connect(d->clearButton, TQ_SIGNAL(clicked()), + d->searchEdit, TQ_SLOT(clear())); - connect(d->searchEdit, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(slotTextChanged(const TQString&))); + connect(d->searchEdit, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(slotTextChanged(const TQString&))); TDEConfig *config = kapp->config(); config->setGroup(name + TQString(" Search Text Tool")); diff --git a/digikam/libs/widgets/common/sidebar.cpp b/digikam/libs/widgets/common/sidebar.cpp index f4b10696..a1bcd752 100644 --- a/digikam/libs/widgets/common/sidebar.cpp +++ b/digikam/libs/widgets/common/sidebar.cpp @@ -94,8 +94,8 @@ Sidebar::Sidebar(TQWidget *parent, const char *name, Side side, bool minimizedDe d->side = side; d->dragSwitchTimer = new TQTimer(this); - connect(d->dragSwitchTimer, TQT_SIGNAL(timeout()), - this, TQT_SLOT(slotDragSwitchTimer())); + connect(d->dragSwitchTimer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(slotDragSwitchTimer())); } Sidebar::~Sidebar() @@ -201,8 +201,8 @@ void Sidebar::appendTab(TQWidget *w, const TQPixmap &pic, const TQString &title) tab(d->tabs)->setAcceptDrops(true); tab(d->tabs)->installEventFilter(this); - connect(tab(d->tabs), TQT_SIGNAL(clicked(int)), - this, TQT_SLOT(clicked(int))); + connect(tab(d->tabs), TQ_SIGNAL(clicked(int)), + this, TQ_SLOT(clicked(int))); d->tabs++; } diff --git a/digikam/libs/widgets/common/splashscreen.cpp b/digikam/libs/widgets/common/splashscreen.cpp index 20abac78..7a8cbba1 100644 --- a/digikam/libs/widgets/common/splashscreen.cpp +++ b/digikam/libs/widgets/common/splashscreen.cpp @@ -72,8 +72,8 @@ SplashScreen::SplashScreen(const TQString& splash, WFlags f) TQTimer *timer = new TQTimer(this); - connect(timer, TQT_SIGNAL(timeout()), - this, TQT_SLOT(animate())); + connect(timer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(animate())); timer->start(150); } diff --git a/digikam/libs/widgets/common/squeezedcombobox.cpp b/digikam/libs/widgets/common/squeezedcombobox.cpp index e200f9be..b70da094 100644 --- a/digikam/libs/widgets/common/squeezedcombobox.cpp +++ b/digikam/libs/widgets/common/squeezedcombobox.cpp @@ -75,11 +75,11 @@ SqueezedComboBox::SqueezedComboBox(TQWidget *parent, const char *name) d->tooltip = new SqueezedComboBoxTip(listBox()->viewport(), this); setMinimumWidth(100); - connect(d->timer, TQT_SIGNAL(timeout()), - this, TQT_SLOT(slotTimeOut())); + connect(d->timer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(slotTimeOut())); - connect(this, TQT_SIGNAL(activated( int )), - this, TQT_SLOT(slotUpdateToolTip( int ))); + connect(this, TQ_SIGNAL(activated( int )), + this, TQ_SLOT(slotUpdateToolTip( int ))); } SqueezedComboBox::~SqueezedComboBox() diff --git a/digikam/libs/widgets/common/statusnavigatebar.cpp b/digikam/libs/widgets/common/statusnavigatebar.cpp index 2eb43c55..0ebcaf84 100644 --- a/digikam/libs/widgets/common/statusnavigatebar.cpp +++ b/digikam/libs/widgets/common/statusnavigatebar.cpp @@ -99,17 +99,17 @@ StatusNavigateBar::StatusNavigateBar(TQWidget *parent) lay->addWidget(d->nextButton); lay->addWidget(d->lastButton); - connect(d->firstButton, TQT_SIGNAL(clicked()), - this, TQT_SIGNAL(signalFirstItem())); + connect(d->firstButton, TQ_SIGNAL(clicked()), + this, TQ_SIGNAL(signalFirstItem())); - connect(d->prevButton, TQT_SIGNAL(clicked()), - this, TQT_SIGNAL(signalPrevItem())); + connect(d->prevButton, TQ_SIGNAL(clicked()), + this, TQ_SIGNAL(signalPrevItem())); - connect(d->nextButton, TQT_SIGNAL(clicked()), - this, TQT_SIGNAL(signalNextItem())); + connect(d->nextButton, TQ_SIGNAL(clicked()), + this, TQ_SIGNAL(signalNextItem())); - connect(d->lastButton, TQT_SIGNAL(clicked()), - this, TQT_SIGNAL(signalLastItem())); + connect(d->lastButton, TQ_SIGNAL(clicked()), + this, TQ_SIGNAL(signalLastItem())); } StatusNavigateBar::~StatusNavigateBar() diff --git a/digikam/libs/widgets/common/statusprogressbar.cpp b/digikam/libs/widgets/common/statusprogressbar.cpp index c4991d3b..215f81fe 100644 --- a/digikam/libs/widgets/common/statusprogressbar.cpp +++ b/digikam/libs/widgets/common/statusprogressbar.cpp @@ -99,8 +99,8 @@ StatusProgressBar::StatusProgressBar(TQWidget *parent) addWidget(d->textLabel, StatusProgressBarPriv::TextLabel); addWidget(d->progressWidget, StatusProgressBarPriv::ProgressBar); - connect( d->cancelButton, TQT_SIGNAL( clicked() ), - this, TQT_SIGNAL( signalCancelButtonPressed() ) ); + connect( d->cancelButton, TQ_SIGNAL( clicked() ), + this, TQ_SIGNAL( signalCancelButtonPressed() ) ); progressBarMode(TextMode); } diff --git a/digikam/libs/widgets/common/statuszoombar.cpp b/digikam/libs/widgets/common/statuszoombar.cpp index bef37de8..44302481 100644 --- a/digikam/libs/widgets/common/statuszoombar.cpp +++ b/digikam/libs/widgets/common/statuszoombar.cpp @@ -133,20 +133,20 @@ StatusZoomBar::StatusZoomBar(TQWidget *parent) // ------------------------------------------------------------- - connect(d->zoomMinusButton, TQT_SIGNAL(clicked()), - this, TQT_SIGNAL(signalZoomMinusClicked())); + connect(d->zoomMinusButton, TQ_SIGNAL(clicked()), + this, TQ_SIGNAL(signalZoomMinusClicked())); - connect(d->zoomPlusButton, TQT_SIGNAL(clicked()), - this, TQT_SIGNAL(signalZoomPlusClicked())); + connect(d->zoomPlusButton, TQ_SIGNAL(clicked()), + this, TQ_SIGNAL(signalZoomPlusClicked())); - connect(d->zoomSlider, TQT_SIGNAL(valueChanged(int)), - this, TQT_SIGNAL(signalZoomSliderChanged(int))); + connect(d->zoomSlider, TQ_SIGNAL(valueChanged(int)), + this, TQ_SIGNAL(signalZoomSliderChanged(int))); - connect(d->zoomSlider, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotZoomSliderChanged(int))); + connect(d->zoomSlider, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotZoomSliderChanged(int))); - connect(d->zoomSlider, TQT_SIGNAL(sliderReleased()), - this, TQT_SLOT(slotZoomSliderReleased())); + connect(d->zoomSlider, TQ_SIGNAL(sliderReleased()), + this, TQ_SLOT(slotZoomSliderReleased())); } StatusZoomBar::~StatusZoomBar() @@ -167,8 +167,8 @@ void StatusZoomBar::slotZoomSliderChanged(int) } d->zoomTimer = new TQTimer( this ); - connect(d->zoomTimer, TQT_SIGNAL(timeout()), - this, TQT_SLOT(slotDelayedZoomSliderChanged()) ); + connect(d->zoomTimer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(slotDelayedZoomSliderChanged()) ); d->zoomTimer->start(300, true); } diff --git a/digikam/libs/widgets/iccprofiles/cietonguewidget.cpp b/digikam/libs/widgets/iccprofiles/cietonguewidget.cpp index 233e9a07..2ec738b3 100644 --- a/digikam/libs/widgets/iccprofiles/cietonguewidget.cpp +++ b/digikam/libs/widgets/iccprofiles/cietonguewidget.cpp @@ -213,8 +213,8 @@ CIETongueWidget::CIETongueWidget(int w, int h, TQWidget *parent, cmsHPROFILE hMo d->hMonitorProfile, TYPE_RGB_8, INTENT_PERCEPTUAL, 0); - connect(d->blinkTimer, TQT_SIGNAL(timeout()), - this, TQT_SLOT(slotBlinkTimerDone())); + connect(d->blinkTimer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(slotBlinkTimerDone())); } CIETongueWidget::~CIETongueWidget() diff --git a/digikam/libs/widgets/imageplugins/imagepanelwidget.cpp b/digikam/libs/widgets/imageplugins/imagepanelwidget.cpp index 4b6ab95f..4551e09e 100644 --- a/digikam/libs/widgets/imageplugins/imagepanelwidget.cpp +++ b/digikam/libs/widgets/imageplugins/imagepanelwidget.cpp @@ -179,24 +179,24 @@ ImagePanelWidget::ImagePanelWidget(uint w, uint h, const TQString& settingsSecti // ------------------------------------------------------------- - TQTimer::singleShot(0, this, TQT_SLOT(slotInitGui())); + TQTimer::singleShot(0, this, TQ_SLOT(slotInitGui())); // ------------------------------------------------------------- - connect(d->imageRegionWidget, TQT_SIGNAL(signalContentsMovedEvent(bool)), - this, TQT_SLOT(slotOriginalImageRegionChanged(bool))); + connect(d->imageRegionWidget, TQ_SIGNAL(signalContentsMovedEvent(bool)), + this, TQ_SLOT(slotOriginalImageRegionChanged(bool))); - connect(d->imagePanIconWidget, TQT_SIGNAL(signalSelectionMoved(const TQRect&, bool)), - this, TQT_SLOT(slotSetImageRegionPosition(const TQRect&, bool))); + connect(d->imagePanIconWidget, TQ_SIGNAL(signalSelectionMoved(const TQRect&, bool)), + this, TQ_SLOT(slotSetImageRegionPosition(const TQRect&, bool))); - connect(d->imagePanIconWidget, TQT_SIGNAL(signalSelectionTakeFocus()), - this, TQT_SLOT(slotPanIconTakeFocus())); + connect(d->imagePanIconWidget, TQ_SIGNAL(signalSelectionTakeFocus()), + this, TQ_SLOT(slotPanIconTakeFocus())); - connect(d->separateView, TQT_SIGNAL(released(int)), - d->imagePanIconWidget, TQT_SLOT(slotSeparateViewToggled(int))); + connect(d->separateView, TQ_SIGNAL(released(int)), + d->imagePanIconWidget, TQ_SLOT(slotSeparateViewToggled(int))); - connect(d->separateView, TQT_SIGNAL(released(int)), - d->imageRegionWidget, TQT_SLOT(slotSeparateViewToggled(int))); + connect(d->separateView, TQ_SIGNAL(released(int)), + d->imageRegionWidget, TQ_SLOT(slotSeparateViewToggled(int))); } ImagePanelWidget::~ImagePanelWidget() diff --git a/digikam/libs/widgets/imageplugins/imagepannelwidget.cpp b/digikam/libs/widgets/imageplugins/imagepannelwidget.cpp index 27444a02..cebf0f3c 100644 --- a/digikam/libs/widgets/imageplugins/imagepannelwidget.cpp +++ b/digikam/libs/widgets/imageplugins/imagepannelwidget.cpp @@ -253,33 +253,33 @@ ImagePannelWidget::ImagePannelWidget(uint w, uint h, const TQString& settingsSec // ------------------------------------------------------------- setProgressVisible(false); - TQTimer::singleShot(0, this, TQT_SLOT(slotInitGui())); + TQTimer::singleShot(0, this, TQ_SLOT(slotInitGui())); // ------------------------------------------------------------- - connect(d->imageRegionWidget, TQT_SIGNAL(signalContentsMovedEvent(bool)), - this, TQT_SLOT(slotOriginalImageRegionChanged(bool))); + connect(d->imageRegionWidget, TQ_SIGNAL(signalContentsMovedEvent(bool)), + this, TQ_SLOT(slotOriginalImageRegionChanged(bool))); - connect(d->imagePanIconWidget, TQT_SIGNAL(signalSelectionMoved(const TQRect&, bool)), - this, TQT_SLOT(slotSetImageRegionPosition(const TQRect&, bool))); + connect(d->imagePanIconWidget, TQ_SIGNAL(signalSelectionMoved(const TQRect&, bool)), + this, TQ_SLOT(slotSetImageRegionPosition(const TQRect&, bool))); - connect(d->imagePanIconWidget, TQT_SIGNAL(signalSelectionTakeFocus()), - this, TQT_SLOT(slotPanIconTakeFocus())); + connect(d->imagePanIconWidget, TQ_SIGNAL(signalSelectionTakeFocus()), + this, TQ_SLOT(slotPanIconTakeFocus())); - connect(d->separateView, TQT_SIGNAL(released(int)), - d->imageRegionWidget, TQT_SLOT(slotSeparateViewToggled(int))); + connect(d->separateView, TQ_SIGNAL(released(int)), + d->imageRegionWidget, TQ_SLOT(slotSeparateViewToggled(int))); - connect(d->separateView, TQT_SIGNAL(released(int)), - d->imagePanIconWidget, TQT_SLOT(slotSeparateViewToggled(int))); + connect(d->separateView, TQ_SIGNAL(released(int)), + d->imagePanIconWidget, TQ_SLOT(slotSeparateViewToggled(int))); - connect(d->zoomBar, TQT_SIGNAL(signalZoomMinusClicked()), - d->imageRegionWidget, TQT_SLOT(slotDecreaseZoom())); + connect(d->zoomBar, TQ_SIGNAL(signalZoomMinusClicked()), + d->imageRegionWidget, TQ_SLOT(slotDecreaseZoom())); - connect(d->zoomBar, TQT_SIGNAL(signalZoomPlusClicked()), - d->imageRegionWidget, TQT_SLOT(slotIncreaseZoom())); + connect(d->zoomBar, TQ_SIGNAL(signalZoomPlusClicked()), + d->imageRegionWidget, TQ_SLOT(slotIncreaseZoom())); - connect(d->zoomBar, TQT_SIGNAL(signalZoomSliderReleased(int)), - this, TQT_SLOT(slotZoomSliderChanged(int))); + connect(d->zoomBar, TQ_SIGNAL(signalZoomSliderReleased(int)), + this, TQ_SLOT(slotZoomSliderChanged(int))); } ImagePannelWidget::~ImagePannelWidget() diff --git a/digikam/libs/widgets/imageplugins/imageregionwidget.cpp b/digikam/libs/widgets/imageplugins/imageregionwidget.cpp index db80604b..c1392cc2 100644 --- a/digikam/libs/widgets/imageplugins/imageregionwidget.cpp +++ b/digikam/libs/widgets/imageplugins/imageregionwidget.cpp @@ -95,8 +95,8 @@ ImageRegionWidget::ImageRegionWidget(int wp, int hp, TQWidget *parent, bool scro setHScrollBarMode( TQScrollView::AlwaysOff ); } - connect(this, TQT_SIGNAL(signalZoomFactorChanged(double)), - this, TQT_SLOT(slotZoomFactorChanged())); + connect(this, TQ_SIGNAL(signalZoomFactorChanged(double)), + this, TQ_SLOT(slotZoomFactorChanged())); } ImageRegionWidget::~ImageRegionWidget() diff --git a/digikam/libs/widgets/imageplugins/imagewidget.cpp b/digikam/libs/widgets/imageplugins/imagewidget.cpp index 909dba9b..ab73bbf7 100644 --- a/digikam/libs/widgets/imageplugins/imagewidget.cpp +++ b/digikam/libs/widgets/imageplugins/imagewidget.cpp @@ -217,29 +217,29 @@ ImageWidget::ImageWidget(const TQString& settingsSection, TQWidget *parent, // ------------------------------------------------------------- - connect(d->previewWidget, TQT_SIGNAL(signalResized()), - this, TQT_SIGNAL(signalResized())); + connect(d->previewWidget, TQ_SIGNAL(signalResized()), + this, TQ_SIGNAL(signalResized())); - connect(d->previewWidget, TQT_SIGNAL(spotPositionChangedFromOriginal( const Digikam::DColor &, const TQPoint & )), - this, TQT_SIGNAL(spotPositionChangedFromOriginal( const Digikam::DColor &, const TQPoint & ))); + connect(d->previewWidget, TQ_SIGNAL(spotPositionChangedFromOriginal( const Digikam::DColor &, const TQPoint & )), + this, TQ_SIGNAL(spotPositionChangedFromOriginal( const Digikam::DColor &, const TQPoint & ))); - connect(d->previewWidget, TQT_SIGNAL(spotPositionChangedFromOriginal( const Digikam::DColor &, const TQPoint & )), - this, TQT_SLOT(slotUpdateSpotInfo( const Digikam::DColor &, const TQPoint & ))); + connect(d->previewWidget, TQ_SIGNAL(spotPositionChangedFromOriginal( const Digikam::DColor &, const TQPoint & )), + this, TQ_SLOT(slotUpdateSpotInfo( const Digikam::DColor &, const TQPoint & ))); - connect(d->previewWidget, TQT_SIGNAL(spotPositionChangedFromTarget( const Digikam::DColor &, const TQPoint & )), - this, TQT_SIGNAL(spotPositionChangedFromTarget( const Digikam::DColor &, const TQPoint & ))); + connect(d->previewWidget, TQ_SIGNAL(spotPositionChangedFromTarget( const Digikam::DColor &, const TQPoint & )), + this, TQ_SIGNAL(spotPositionChangedFromTarget( const Digikam::DColor &, const TQPoint & ))); - connect(d->previewWidget, TQT_SIGNAL(spotPositionChangedFromTarget( const Digikam::DColor &, const TQPoint & )), - this, TQT_SLOT(slotUpdateSpotInfo( const Digikam::DColor &, const TQPoint & ))); + connect(d->previewWidget, TQ_SIGNAL(spotPositionChangedFromTarget( const Digikam::DColor &, const TQPoint & )), + this, TQ_SLOT(slotUpdateSpotInfo( const Digikam::DColor &, const TQPoint & ))); - connect(d->previewButtons, TQT_SIGNAL(released(int)), - d->previewWidget, TQT_SLOT(slotChangeRenderingPreviewMode(int))); + connect(d->previewButtons, TQ_SIGNAL(released(int)), + d->previewWidget, TQ_SLOT(slotChangeRenderingPreviewMode(int))); - connect(d->underExposureButton, TQT_SIGNAL(toggled(bool)), - d->previewWidget, TQT_SLOT(slotToggleUnderExposure(bool))); + connect(d->underExposureButton, TQ_SIGNAL(toggled(bool)), + d->previewWidget, TQ_SLOT(slotToggleUnderExposure(bool))); - connect(d->overExposureButton, TQT_SIGNAL(toggled(bool)), - d->previewWidget, TQT_SLOT(slotToggleOverExposure(bool))); + connect(d->overExposureButton, TQ_SIGNAL(toggled(bool)), + d->previewWidget, TQ_SLOT(slotToggleOverExposure(bool))); // ------------------------------------------------------------- diff --git a/digikam/libs/widgets/metadata/gpswidget.cpp b/digikam/libs/widgets/metadata/gpswidget.cpp index a7c1f9f7..033423e9 100644 --- a/digikam/libs/widgets/metadata/gpswidget.cpp +++ b/digikam/libs/widgets/metadata/gpswidget.cpp @@ -138,8 +138,8 @@ GPSWidget::GPSWidget(TQWidget* parent, const char* name) // -------------------------------------------------------- - connect(d->detailsButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotGPSDetails())); + connect(d->detailsButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotGPSDetails())); setUserAreaWidget(gpsInfo); decodeMetadata(); diff --git a/digikam/libs/widgets/metadata/metadatalistview.cpp b/digikam/libs/widgets/metadata/metadatalistview.cpp index f2cd4149..612eed1e 100644 --- a/digikam/libs/widgets/metadata/metadatalistview.cpp +++ b/digikam/libs/widgets/metadata/metadatalistview.cpp @@ -59,8 +59,8 @@ MetadataListView::MetadataListView(TQWidget* parent) m_parent = dynamic_cast(parent); - connect(this, TQT_SIGNAL(selectionChanged(TQListViewItem*)), - this, TQT_SLOT(slotSelectionChanged(TQListViewItem*))); + connect(this, TQ_SIGNAL(selectionChanged(TQListViewItem*)), + this, TQ_SLOT(slotSelectionChanged(TQListViewItem*))); } MetadataListView::~MetadataListView() @@ -185,7 +185,7 @@ void MetadataListView::setIfdList(const DMetadata::MetaDataMap& ifds, const TQSt delete parentifDItem; setCurrentItemByKey(m_selectedItemKey); - TQTimer::singleShot( 0, this, TQT_SLOT( triggerUpdate() ) ); + TQTimer::singleShot( 0, this, TQ_SLOT( triggerUpdate() ) ); } void MetadataListView::setIfdList(const DMetadata::MetaDataMap& ifds, const TQStringList& keysFilter, @@ -244,13 +244,13 @@ void MetadataListView::setIfdList(const DMetadata::MetaDataMap& ifds, const TQSt } setCurrentItemByKey(m_selectedItemKey); - TQTimer::singleShot( 0, this, TQT_SLOT( triggerUpdate() ) ); + TQTimer::singleShot( 0, this, TQ_SLOT( triggerUpdate() ) ); } void MetadataListView::viewportResizeEvent(TQResizeEvent* e) { TQListView::viewportResizeEvent(e); - TQTimer::singleShot( 0, this, TQT_SLOT( triggerUpdate() ) ); + TQTimer::singleShot( 0, this, TQ_SLOT( triggerUpdate() ) ); } void MetadataListView::slotSearchTextChanged(const TQString& filter) diff --git a/digikam/libs/widgets/metadata/metadatawidget.cpp b/digikam/libs/widgets/metadata/metadatawidget.cpp index 525effd6..d0bd5b19 100644 --- a/digikam/libs/widgets/metadata/metadatawidget.cpp +++ b/digikam/libs/widgets/metadata/metadatawidget.cpp @@ -158,23 +158,23 @@ MetadataWidget::MetadataWidget(TQWidget* parent, const char* name) // ----------------------------------------------------------------- - connect(d->levelButtons, TQT_SIGNAL(released(int)), - this, TQT_SLOT(slotModeChanged(int))); + connect(d->levelButtons, TQ_SIGNAL(released(int)), + this, TQ_SLOT(slotModeChanged(int))); - connect(copy2ClipBoard, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotCopy2Clipboard())); + connect(copy2ClipBoard, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotCopy2Clipboard())); - connect(printMetadata, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotPrintMetadata())); + connect(printMetadata, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotPrintMetadata())); - connect(saveMetadata, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotSaveMetadataToFile())); + connect(saveMetadata, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotSaveMetadataToFile())); - connect(d->searchBar, TQT_SIGNAL(signalTextChanged(const TQString&)), - d->view, TQT_SLOT(slotSearchTextChanged(const TQString&))); + connect(d->searchBar, TQ_SIGNAL(signalTextChanged(const TQString&)), + d->view, TQ_SLOT(slotSearchTextChanged(const TQString&))); - connect(d->view, TQT_SIGNAL(signalTextFilterMatch(bool)), - d->searchBar, TQT_SLOT(slotSearchResult(bool))); + connect(d->view, TQ_SIGNAL(signalTextFilterMatch(bool)), + d->searchBar, TQ_SLOT(slotSearchResult(bool))); } MetadataWidget::~MetadataWidget() diff --git a/digikam/showfoto/setup/setup.cpp b/digikam/showfoto/setup/setup.cpp index 698fb206..85ec82d2 100644 --- a/digikam/showfoto/setup/setup.cpp +++ b/digikam/showfoto/setup/setup.cpp @@ -115,8 +115,8 @@ Setup::Setup(TQWidget* parent, const char* name, Setup::Page page) BarIcon("slideshow", TDEIcon::SizeMedium)); d->slideshowPage = new Digikam::SetupSlideShow(d->page_slideshow); - connect(this, TQT_SIGNAL(okClicked()), - this, TQT_SLOT(slotOkClicked()) ); + connect(this, TQ_SIGNAL(okClicked()), + this, TQ_SLOT(slotOkClicked()) ); if (page != LastPageUsed) showPage((int) page); diff --git a/digikam/showfoto/setup/setupeditor.cpp b/digikam/showfoto/setup/setupeditor.cpp index dcb51e0f..19bab8fb 100644 --- a/digikam/showfoto/setup/setupeditor.cpp +++ b/digikam/showfoto/setup/setupeditor.cpp @@ -184,8 +184,8 @@ SetupEditor::SetupEditor(TQWidget* parent ) // -------------------------------------------------------- - connect(d->themebackgroundColor, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotThemeBackgroundColor(bool))); + connect(d->themebackgroundColor, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotThemeBackgroundColor(bool))); readSettings(); } diff --git a/digikam/showfoto/setup/setuptooltip.cpp b/digikam/showfoto/setup/setuptooltip.cpp index 3fb1f3c6..d3a08678 100644 --- a/digikam/showfoto/setup/setuptooltip.cpp +++ b/digikam/showfoto/setup/setuptooltip.cpp @@ -158,11 +158,11 @@ SetupToolTip::SetupToolTip(TQWidget* parent) // -------------------------------------------------------- - connect(d->showToolTipsBox, TQT_SIGNAL(toggled(bool)), - d->fileSettingBox, TQT_SLOT(setEnabled(bool))); + connect(d->showToolTipsBox, TQ_SIGNAL(toggled(bool)), + d->fileSettingBox, TQ_SLOT(setEnabled(bool))); - connect(d->showToolTipsBox, TQT_SIGNAL(toggled(bool)), - d->photoSettingBox, TQT_SLOT(setEnabled(bool))); + connect(d->showToolTipsBox, TQ_SIGNAL(toggled(bool)), + d->photoSettingBox, TQ_SLOT(setEnabled(bool))); // -------------------------------------------------------- diff --git a/digikam/showfoto/showfoto.cpp b/digikam/showfoto/showfoto.cpp index 2ebde81d..42575833 100644 --- a/digikam/showfoto/showfoto.cpp +++ b/digikam/showfoto/showfoto.cpp @@ -215,22 +215,22 @@ ShowFoto::ShowFoto(const KURL::List& urlList) d->BCGAction->setDelayed(false); TDEAction *incGammaAction = new TDEAction(i18n("Increase Gamma"), 0, ALT+Key_G, - this, TQT_SLOT(slotChangeBCG()), + this, TQ_SLOT(slotChangeBCG()), actionCollection(), "gamma_plus"); TDEAction *decGammaAction = new TDEAction(i18n("Decrease Gamma"), 0, ALT+SHIFT+Key_G, - this, TQT_SLOT(slotChangeBCG()), + this, TQ_SLOT(slotChangeBCG()), actionCollection(), "gamma_minus"); TDEAction *incBrightAction = new TDEAction(i18n("Increase Brightness"), 0, ALT+Key_B, - this, TQT_SLOT(slotChangeBCG()), + this, TQ_SLOT(slotChangeBCG()), actionCollection(), "brightness_plus"); TDEAction *decBrightAction = new TDEAction(i18n("Decrease Brightness"), 0, ALT+SHIFT+Key_B, - this, TQT_SLOT(slotChangeBCG()), + this, TQ_SLOT(slotChangeBCG()), actionCollection(), "brightness_minus"); TDEAction *incContrastAction = new TDEAction(i18n("Increase Contrast"), 0, ALT+Key_C, - this, TQT_SLOT(slotChangeBCG()), + this, TQ_SLOT(slotChangeBCG()), actionCollection(), "contrast_plus"); TDEAction *decContrastAction = new TDEAction(i18n("Decrease Contrast"), 0, ALT+SHIFT+Key_C, - this, TQT_SLOT(slotChangeBCG()), + this, TQ_SLOT(slotChangeBCG()), actionCollection(), "contrast_minus"); d->BCGAction->insert(incBrightAction); @@ -392,17 +392,17 @@ void ShowFoto::setupConnections() { setupStandardConnections(); - connect(d->thumbBar, TQT_SIGNAL(signalURLSelected(const KURL&)), - this, TQT_SLOT(slotOpenURL(const KURL&))); + connect(d->thumbBar, TQ_SIGNAL(signalURLSelected(const KURL&)), + this, TQ_SLOT(slotOpenURL(const KURL&))); - connect(d->thumbBar, TQT_SIGNAL(signalItemAdded()), - this, TQT_SLOT(slotUpdateItemInfo())); + connect(d->thumbBar, TQ_SIGNAL(signalItemAdded()), + this, TQ_SLOT(slotUpdateItemInfo())); - connect(this, TQT_SIGNAL(signalSelectionChanged(const TQRect &)), - d->rightSidebar, TQT_SLOT(slotImageSelectionChanged(const TQRect &))); + connect(this, TQ_SIGNAL(signalSelectionChanged(const TQRect &)), + d->rightSidebar, TQ_SLOT(slotImageSelectionChanged(const TQRect &))); - connect(this, TQT_SIGNAL(signalNoCurrentItem()), - d->rightSidebar, TQT_SLOT(slotNoCurrentItem())); + connect(this, TQ_SIGNAL(signalNoCurrentItem()), + d->rightSidebar, TQ_SLOT(slotNoCurrentItem())); } void ShowFoto::setupUserArea() @@ -478,24 +478,24 @@ void ShowFoto::setupActions() // Extra 'File' menu actions --------------------------------------------- - d->fileOpenAction = KStdAction::open(this, TQT_SLOT(slotOpenFile()), + d->fileOpenAction = KStdAction::open(this, TQ_SLOT(slotOpenFile()), actionCollection(), "showfoto_open_file"); d->openFilesInFolderAction = new TDEAction(i18n("Open folder"), "folder_image", CTRL+SHIFT+Key_O, this, - TQT_SLOT(slotOpenFilesInFolder()), + TQ_SLOT(slotOpenFilesInFolder()), actionCollection(), "showfoto_open_folder"); - KStdAction::quit(this, TQT_SLOT(close()), actionCollection(), "showfoto_quit"); + KStdAction::quit(this, TQ_SLOT(close()), actionCollection(), "showfoto_quit"); // Extra 'View' menu actions --------------------------------------------- d->showBarAction = new TDEToggleAction(i18n("Show Thumbnails"), 0, CTRL+Key_T, - this, TQT_SLOT(slotToggleShowBar()), + this, TQ_SLOT(slotToggleShowBar()), actionCollection(), "shofoto_showthumbs"); // --- Create the gui -------------------------------------------------------------- @@ -1114,8 +1114,8 @@ void ShowFoto::slotDeleteCurrentItem() else { TDEIO::Job* job = TDEIO::del( urlCurrent ); - connect( job, TQT_SIGNAL(result( TDEIO::Job* )), - this, TQT_SLOT(slotDeleteCurrentItemResult( TDEIO::Job*)) ); + connect( job, TQ_SIGNAL(result( TDEIO::Job* )), + this, TQ_SLOT(slotDeleteCurrentItemResult( TDEIO::Job*)) ); } } else @@ -1128,8 +1128,8 @@ void ShowFoto::slotDeleteCurrentItem() } TDEIO::Job* job = TDEIO::move( urlCurrent, dest ); - connect( job, TQT_SIGNAL(result( TDEIO::Job* )), - this, TQT_SLOT(slotDeleteCurrentItemResult( TDEIO::Job*)) ); + connect( job, TQ_SIGNAL(result( TDEIO::Job* )), + this, TQ_SLOT(slotDeleteCurrentItemResult( TDEIO::Job*)) ); } } diff --git a/digikam/themedesigner/mainwindow.cpp b/digikam/themedesigner/mainwindow.cpp index 7d00647c..f51a4f64 100644 --- a/digikam/themedesigner/mainwindow.cpp +++ b/digikam/themedesigner/mainwindow.cpp @@ -180,21 +180,21 @@ MainWindow::MainWindow() m_endColorBtn->setColor(TQt::black); m_borderColorBtn->setColor(TQt::black); - connect(m_propertyCombo, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotPropertyChanged())); - connect(m_bevelCombo, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotUpdateTheme())); - connect(m_gradientCombo, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotUpdateTheme())); - - connect(m_begColorBtn, TQT_SIGNAL(changed(const TQColor&)), - this, TQT_SLOT(slotUpdateTheme())); - connect(m_endColorBtn, TQT_SIGNAL(changed(const TQColor&)), - this, TQT_SLOT(slotUpdateTheme())); - connect(m_addBorderCheck, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotUpdateTheme())); - connect(m_borderColorBtn, TQT_SIGNAL(changed(const TQColor&)), - this, TQT_SLOT(slotUpdateTheme())); + connect(m_propertyCombo, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotPropertyChanged())); + connect(m_bevelCombo, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotUpdateTheme())); + connect(m_gradientCombo, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotUpdateTheme())); + + connect(m_begColorBtn, TQ_SIGNAL(changed(const TQColor&)), + this, TQ_SLOT(slotUpdateTheme())); + connect(m_endColorBtn, TQ_SIGNAL(changed(const TQColor&)), + this, TQ_SLOT(slotUpdateTheme())); + connect(m_addBorderCheck, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotUpdateTheme())); + connect(m_borderColorBtn, TQ_SIGNAL(changed(const TQColor&)), + this, TQ_SLOT(slotUpdateTheme())); // Bottom button bar ------------------------------------------------------- @@ -218,12 +218,12 @@ MainWindow::MainWindow() layout->addMultiCellLayout(buttonLayout, 1, 1, 0, 1); - connect(loadButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotLoad())); - connect(saveButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotSave())); - connect(closeButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(close())); + connect(loadButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotLoad())); + connect(saveButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotSave())); + connect(closeButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(close())); // ------------------------------------------------------------------------ diff --git a/digikam/themedesigner/themediconview.cpp b/digikam/themedesigner/themediconview.cpp index c573ded8..ef5759e6 100644 --- a/digikam/themedesigner/themediconview.cpp +++ b/digikam/themedesigner/themediconview.cpp @@ -76,8 +76,8 @@ ThemedIconView::ThemedIconView(TQWidget* parent) updateBannerRectPixmap(); updateItemRectsPixmap(); - connect(ThemeEngine::instance(), TQT_SIGNAL(signalThemeChanged()), - this, TQT_SLOT(slotThemeChanged())); + connect(ThemeEngine::instance(), TQ_SIGNAL(signalThemeChanged()), + this, TQ_SLOT(slotThemeChanged())); } ThemedIconView::~ThemedIconView() diff --git a/digikam/utilities/batch/batchalbumssyncmetadata.cpp b/digikam/utilities/batch/batchalbumssyncmetadata.cpp index 60fbae6a..fba18d34 100644 --- a/digikam/utilities/batch/batchalbumssyncmetadata.cpp +++ b/digikam/utilities/batch/batchalbumssyncmetadata.cpp @@ -79,7 +79,7 @@ BatchAlbumsSyncMetadata::BatchAlbumsSyncMetadata(TQWidget* parent) setLabel(i18n("Syncing the metadata of all images with the digiKam database. Please wait...")); setButtonText(i18n("&Abort")); resize(600, 300); - TQTimer::singleShot(500, this, TQT_SLOT(slotStart())); + TQTimer::singleShot(500, this, TQ_SLOT(slotStart())); } BatchAlbumsSyncMetadata::~BatchAlbumsSyncMetadata() @@ -92,11 +92,11 @@ void BatchAlbumsSyncMetadata::slotStart() setTitle(i18n("Parsing all albums")); setTotalSteps(d->palbumList.count()); - connect(d->imageInfoJob, TQT_SIGNAL(signalItemsInfo(const ImageInfoList&)), - this, TQT_SLOT(slotAlbumParsed(const ImageInfoList&))); + connect(d->imageInfoJob, TQ_SIGNAL(signalItemsInfo(const ImageInfoList&)), + this, TQ_SLOT(slotAlbumParsed(const ImageInfoList&))); - connect(d->imageInfoJob, TQT_SIGNAL(signalCompleted()), - this, TQT_SLOT(slotComplete())); + connect(d->imageInfoJob, TQ_SIGNAL(signalCompleted()), + this, TQ_SLOT(slotComplete())); d->albumsIt = d->palbumList.begin(); parseAlbum(); diff --git a/digikam/utilities/batch/batchsyncmetadata.cpp b/digikam/utilities/batch/batchsyncmetadata.cpp index 831cdaf8..50e2ad7a 100644 --- a/digikam/utilities/batch/batchsyncmetadata.cpp +++ b/digikam/utilities/batch/batchsyncmetadata.cpp @@ -93,11 +93,11 @@ void BatchSyncMetadata::parseAlbum() { d->imageInfoJob->allItemsFromAlbum(d->album); - connect(d->imageInfoJob, TQT_SIGNAL(signalItemsInfo(const ImageInfoList&)), - this, TQT_SLOT(slotAlbumParsed(const ImageInfoList&))); + connect(d->imageInfoJob, TQ_SIGNAL(signalItemsInfo(const ImageInfoList&)), + this, TQ_SLOT(slotAlbumParsed(const ImageInfoList&))); - connect(d->imageInfoJob, TQT_SIGNAL(signalCompleted()), - this, TQT_SLOT(slotComplete())); + connect(d->imageInfoJob, TQ_SIGNAL(signalCompleted()), + this, TQ_SLOT(slotComplete())); } void BatchSyncMetadata::slotComplete() diff --git a/digikam/utilities/batch/batchthumbsgenerator.cpp b/digikam/utilities/batch/batchthumbsgenerator.cpp index 783226f8..f0bd0103 100644 --- a/digikam/utilities/batch/batchthumbsgenerator.cpp +++ b/digikam/utilities/batch/batchthumbsgenerator.cpp @@ -82,7 +82,7 @@ BatchThumbsGenerator::BatchThumbsGenerator(TQWidget* parent) setCaption(i18n("Thumbnails processing")); setLabel(i18n("Updating thumbnails database. Please wait...")); setButtonText(i18n("&Abort")); - TQTimer::singleShot(500, this, TQT_SLOT(slotRebuildThumbs128())); + TQTimer::singleShot(500, this, TQ_SLOT(slotRebuildThumbs128())); resize(600, 300); } @@ -102,8 +102,8 @@ void BatchThumbsGenerator::slotRebuildThumbs128() setTitle(i18n("Processing small thumbs")); rebuildAllThumbs(128); - connect(this, TQT_SIGNAL(signalRebuildThumbsDone()), - this, TQT_SLOT(slotRebuildThumbs256())); + connect(this, TQ_SIGNAL(signalRebuildThumbsDone()), + this, TQ_SLOT(slotRebuildThumbs256())); } void BatchThumbsGenerator::slotRebuildThumbs256() @@ -111,11 +111,11 @@ void BatchThumbsGenerator::slotRebuildThumbs256() setTitle(i18n("Processing large thumbs")); rebuildAllThumbs(256); - disconnect(this, TQT_SIGNAL(signalRebuildThumbsDone()), - this, TQT_SLOT(slotRebuildThumbs256())); + disconnect(this, TQ_SIGNAL(signalRebuildThumbsDone()), + this, TQ_SLOT(slotRebuildThumbs256())); - connect(this, TQT_SIGNAL(signalRebuildThumbsDone()), - this, TQT_SLOT(slotRebuildAllThumbComplete())); + connect(this, TQ_SIGNAL(signalRebuildThumbsDone()), + this, TQ_SLOT(slotRebuildAllThumbComplete())); } void BatchThumbsGenerator::slotRebuildAllThumbComplete() @@ -189,14 +189,14 @@ void BatchThumbsGenerator::rebuildAllThumbs(int size) d->thumbJob = new ThumbnailJob(KURL::List(allPicturesPath), size, true, exifRotate); - connect(d->thumbJob, TQT_SIGNAL(signalThumbnail(const KURL&, const TQPixmap&)), - this, TQT_SLOT(slotRebuildThumbDone(const KURL&, const TQPixmap&))); + connect(d->thumbJob, TQ_SIGNAL(signalThumbnail(const KURL&, const TQPixmap&)), + this, TQ_SLOT(slotRebuildThumbDone(const KURL&, const TQPixmap&))); - connect(d->thumbJob, TQT_SIGNAL(signalFailed(const KURL&)), - this, TQT_SLOT(slotRebuildThumbDone(const KURL&))); + connect(d->thumbJob, TQ_SIGNAL(signalFailed(const KURL&)), + this, TQ_SLOT(slotRebuildThumbDone(const KURL&))); - connect(d->thumbJob, TQT_SIGNAL(signalCompleted()), - this, TQT_SIGNAL(signalRebuildThumbsDone())); + connect(d->thumbJob, TQ_SIGNAL(signalCompleted()), + this, TQ_SIGNAL(signalRebuildThumbsDone())); } void BatchThumbsGenerator::slotRebuildThumbDone(const KURL& url, const TQPixmap& pix) diff --git a/digikam/utilities/batch/imageinfoalbumsjob.cpp b/digikam/utilities/batch/imageinfoalbumsjob.cpp index 49bf3dc6..4d0e3c55 100644 --- a/digikam/utilities/batch/imageinfoalbumsjob.cpp +++ b/digikam/utilities/batch/imageinfoalbumsjob.cpp @@ -59,11 +59,11 @@ ImageInfoAlbumsJob::ImageInfoAlbumsJob() { d = new ImageInfoAlbumsJobPriv; - connect(&d->imageInfoJob, TQT_SIGNAL(signalItemsInfo(const ImageInfoList&)), - this, TQT_SLOT(slotItemsInfo(const ImageInfoList&))); + connect(&d->imageInfoJob, TQ_SIGNAL(signalItemsInfo(const ImageInfoList&)), + this, TQ_SLOT(slotItemsInfo(const ImageInfoList&))); - connect(&d->imageInfoJob, TQT_SIGNAL(signalCompleted()), - this, TQT_SLOT(slotComplete())); + connect(&d->imageInfoJob, TQ_SIGNAL(signalCompleted()), + this, TQ_SLOT(slotComplete())); } ImageInfoAlbumsJob::~ImageInfoAlbumsJob() diff --git a/digikam/utilities/batch/imageinfojob.cpp b/digikam/utilities/batch/imageinfojob.cpp index 5d07c9a0..58660697 100644 --- a/digikam/utilities/batch/imageinfojob.cpp +++ b/digikam/utilities/batch/imageinfojob.cpp @@ -98,11 +98,11 @@ void ImageInfoJob::allItemsFromAlbum(Album *album) d->job = new TDEIO::TransferJob(album->kurl(), TDEIO::CMD_SPECIAL, ba, TQByteArray(), false); - connect(d->job, TQT_SIGNAL(result(TDEIO::Job*)), - this, TQT_SLOT(slotResult(TDEIO::Job*))); + connect(d->job, TQ_SIGNAL(result(TDEIO::Job*)), + this, TQ_SLOT(slotResult(TDEIO::Job*))); - connect(d->job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - this, TQT_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); + connect(d->job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + this, TQ_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); } void ImageInfoJob::stop() diff --git a/digikam/utilities/cameragui/albumselectdialog.cpp b/digikam/utilities/cameragui/albumselectdialog.cpp index 71e0d109..486c4711 100644 --- a/digikam/utilities/cameragui/albumselectdialog.cpp +++ b/digikam/utilities/cameragui/albumselectdialog.cpp @@ -173,23 +173,23 @@ AlbumSelectDialog::AlbumSelectDialog(TQWidget* parent, PAlbum* albumToSelect, // ------------------------------------------------------------- - connect(AlbumManager::instance(), TQT_SIGNAL(signalAlbumAdded(Album*)), - this, TQT_SLOT(slotAlbumAdded(Album*))); + connect(AlbumManager::instance(), TQ_SIGNAL(signalAlbumAdded(Album*)), + this, TQ_SLOT(slotAlbumAdded(Album*))); - connect(AlbumManager::instance(), TQT_SIGNAL(signalAlbumDeleted(Album*)), - this, TQT_SLOT(slotAlbumDeleted(Album*))); + connect(AlbumManager::instance(), TQ_SIGNAL(signalAlbumDeleted(Album*)), + this, TQ_SLOT(slotAlbumDeleted(Album*))); - connect(AlbumManager::instance(), TQT_SIGNAL(signalAlbumsCleared()), - this, TQT_SLOT(slotAlbumsCleared())); + connect(AlbumManager::instance(), TQ_SIGNAL(signalAlbumsCleared()), + this, TQ_SLOT(slotAlbumsCleared())); - connect(d->folderView, TQT_SIGNAL(selectionChanged()), - this, TQT_SLOT(slotSelectionChanged())); + connect(d->folderView, TQ_SIGNAL(selectionChanged()), + this, TQ_SLOT(slotSelectionChanged())); - connect(d->folderView, TQT_SIGNAL(contextMenuRequested(TQListViewItem*, const TQPoint&, int)), - this, TQT_SLOT(slotContextMenu(TQListViewItem*, const TQPoint&, int))); + connect(d->folderView, TQ_SIGNAL(contextMenuRequested(TQListViewItem*, const TQPoint&, int)), + this, TQ_SLOT(slotContextMenu(TQListViewItem*, const TQPoint&, int))); - connect(d->searchBar, TQT_SIGNAL(signalTextChanged(const TQString&)), - this, TQT_SLOT(slotSearchTextChanged(const TQString&))); + connect(d->searchBar, TQ_SIGNAL(signalTextChanged(const TQString&)), + this, TQ_SLOT(slotSearchTextChanged(const TQString&))); // ------------------------------------------------------------- @@ -277,7 +277,7 @@ void AlbumSelectDialog::slotContextMenu(TQListViewItem *, const TQPoint &, int) TQPopupMenu popmenu(d->folderView); TDEAction *action = new TDEAction(i18n( "Create New Album" ), "albumfolder-new", 0, this, - TQT_SLOT( slotUser1() ), + TQ_SLOT( slotUser1() ), &popmenu); action->plug(&popmenu); popmenu.exec(TQCursor::pos()); diff --git a/digikam/utilities/cameragui/animwidget.cpp b/digikam/utilities/cameragui/animwidget.cpp index 9d9f8399..1d869cd9 100644 --- a/digikam/utilities/cameragui/animwidget.cpp +++ b/digikam/utilities/cameragui/animwidget.cpp @@ -68,8 +68,8 @@ AnimWidget::AnimWidget(TQWidget* parent, int size) d->timer = new TQTimer(this); - connect(d->timer, TQT_SIGNAL(timeout()), - this, TQT_SLOT(slotTimeout())); + connect(d->timer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(slotTimeout())); } AnimWidget::~AnimWidget() diff --git a/digikam/utilities/cameragui/cameracontroller.cpp b/digikam/utilities/cameragui/cameracontroller.cpp index 78fcbc60..34afa8ab 100644 --- a/digikam/utilities/cameragui/cameracontroller.cpp +++ b/digikam/utilities/cameragui/cameracontroller.cpp @@ -649,8 +649,8 @@ CameraController::CameraController(TQWidget* parent, const TQString& title, cons d->thread = new CameraThread(this); d->timer = new TQTimer(this); - connect(d->timer, TQT_SIGNAL(timeout()), - this, TQT_SLOT(slotProcessNext())); + connect(d->timer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(slotProcessNext())); d->timer->start(50, false); } diff --git a/digikam/utilities/cameragui/camerafolderdialog.cpp b/digikam/utilities/cameragui/camerafolderdialog.cpp index 441492d2..93feb0ab 100644 --- a/digikam/utilities/cameragui/camerafolderdialog.cpp +++ b/digikam/utilities/cameragui/camerafolderdialog.cpp @@ -95,8 +95,8 @@ CameraFolderDialog::CameraFolderDialog(TQWidget *parent, CameraIconView *cameraV } } - connect(m_folderView, TQT_SIGNAL(signalFolderChanged(CameraFolderItem*)), - this, TQT_SLOT(slotFolderPathSelectionChanged(CameraFolderItem*))); + connect(m_folderView, TQ_SIGNAL(signalFolderChanged(CameraFolderItem*)), + this, TQ_SLOT(slotFolderPathSelectionChanged(CameraFolderItem*))); resize(500, 500); } diff --git a/digikam/utilities/cameragui/camerafolderview.cpp b/digikam/utilities/cameragui/camerafolderview.cpp index bfa95e8b..877c4b51 100644 --- a/digikam/utilities/cameragui/camerafolderview.cpp +++ b/digikam/utilities/cameragui/camerafolderview.cpp @@ -64,11 +64,11 @@ CameraFolderView::CameraFolderView(TQWidget* parent) setResizeMode( TQListView::AllColumns ); setSelectionMode(TQListView::Single); - connect(this, TQT_SIGNAL(currentChanged(TQListViewItem*)), - this, TQT_SLOT(slotCurrentChanged(TQListViewItem*))); + connect(this, TQ_SIGNAL(currentChanged(TQListViewItem*)), + this, TQ_SLOT(slotCurrentChanged(TQListViewItem*))); - connect(this, TQT_SIGNAL(clicked(TQListViewItem*)), - this, TQT_SLOT(slotCurrentChanged(TQListViewItem*))); + connect(this, TQ_SIGNAL(clicked(TQListViewItem*)), + this, TQ_SLOT(slotCurrentChanged(TQListViewItem*))); } CameraFolderView::~CameraFolderView() diff --git a/digikam/utilities/cameragui/cameraiconview.cpp b/digikam/utilities/cameragui/cameraiconview.cpp index e0f76a5a..ba496217 100644 --- a/digikam/utilities/cameragui/cameraiconview.cpp +++ b/digikam/utilities/cameragui/cameraiconview.cpp @@ -237,23 +237,23 @@ CameraIconView::CameraIconView(CameraUI* ui, TQWidget* parent) // ---------------------------------------------------------------- - connect(this, TQT_SIGNAL(signalSelectionChanged()), - this, TQT_SLOT(slotSelectionChanged())); + connect(this, TQ_SIGNAL(signalSelectionChanged()), + this, TQ_SLOT(slotSelectionChanged())); - connect(this, TQT_SIGNAL(signalNewSelection(bool)), - this, TQT_SLOT(slotUpdateDownloadNames(bool))); + connect(this, TQ_SIGNAL(signalNewSelection(bool)), + this, TQ_SLOT(slotUpdateDownloadNames(bool))); - connect(this, TQT_SIGNAL(signalRightButtonClicked(IconItem*, const TQPoint&)), - this, TQT_SLOT(slotContextMenu(IconItem*, const TQPoint&))); + connect(this, TQ_SIGNAL(signalRightButtonClicked(IconItem*, const TQPoint&)), + this, TQ_SLOT(slotContextMenu(IconItem*, const TQPoint&))); - connect(this, TQT_SIGNAL(signalRightButtonClicked(const TQPoint &)), - this, TQT_SLOT(slotRightButtonClicked(const TQPoint &))); + connect(this, TQ_SIGNAL(signalRightButtonClicked(const TQPoint &)), + this, TQ_SLOT(slotRightButtonClicked(const TQPoint &))); - connect(this, TQT_SIGNAL(signalDoubleClicked(IconItem*)), - this, TQT_SLOT(slotDoubleClicked(IconItem*))); + connect(this, TQ_SIGNAL(signalDoubleClicked(IconItem*)), + this, TQ_SLOT(slotDoubleClicked(IconItem*))); - connect(ThemeEngine::instance(), TQT_SIGNAL(signalThemeChanged()), - this, TQT_SLOT(slotThemeChanged())); + connect(ThemeEngine::instance(), TQ_SIGNAL(signalThemeChanged()), + this, TQ_SLOT(slotThemeChanged())); // ---------------------------------------------------------------- @@ -291,8 +291,8 @@ void CameraIconView::setRenameCustomizer(RenameCustomizer* renamer) { d->renamer = renamer; - connect(d->renamer, TQT_SIGNAL(signalChanged()), - this, TQT_SLOT(slotDownloadNameChanged())); + connect(d->renamer, TQ_SIGNAL(signalChanged()), + this, TQ_SLOT(slotDownloadNameChanged())); } void CameraIconView::addItem(const GPItemInfo& info) diff --git a/digikam/utilities/cameragui/cameraui.cpp b/digikam/utilities/cameragui/cameraui.cpp index cdabd06c..8b531ea2 100644 --- a/digikam/utilities/cameragui/cameraui.cpp +++ b/digikam/utilities/cameragui/cameraui.cpp @@ -408,33 +408,33 @@ CameraUI::CameraUI(TQWidget* /*parent*/, const TQString& cameraTitle, // ------------------------------------------------------------------------- d->imageMenu = new TQPopupMenu(this); - d->imageMenu->insertItem(i18n("Select &All"), d->view, TQT_SLOT(slotSelectAll()), CTRL+Key_A, 0); - d->imageMenu->insertItem(i18n("Select N&one"), d->view, TQT_SLOT(slotSelectNone()), CTRL+Key_U, 1); - d->imageMenu->insertItem(i18n("&Invert Selection"), d->view, TQT_SLOT(slotSelectInvert()), CTRL+Key_Asterisk, 2); + d->imageMenu->insertItem(i18n("Select &All"), d->view, TQ_SLOT(slotSelectAll()), CTRL+Key_A, 0); + d->imageMenu->insertItem(i18n("Select N&one"), d->view, TQ_SLOT(slotSelectNone()), CTRL+Key_U, 1); + d->imageMenu->insertItem(i18n("&Invert Selection"), d->view, TQ_SLOT(slotSelectInvert()), CTRL+Key_Asterisk, 2); d->imageMenu->insertSeparator(); - d->imageMenu->insertItem(i18n("Select &New Items"), d->view, TQT_SLOT(slotSelectNew()), 0, 3); + d->imageMenu->insertItem(i18n("Select &New Items"), d->view, TQ_SLOT(slotSelectNew()), 0, 3); d->imageMenu->insertSeparator(); - d->imageMenu->insertItem(i18n("Increase Thumbnail Size"), this, TQT_SLOT(slotIncreaseThumbSize()), CTRL+Key_Plus, 4); - d->imageMenu->insertItem(i18n("Decrease Thumbnail Size"), this, TQT_SLOT(slotDecreaseThumbSize()), CTRL+Key_Minus, 5); + d->imageMenu->insertItem(i18n("Increase Thumbnail Size"), this, TQ_SLOT(slotIncreaseThumbSize()), CTRL+Key_Plus, 4); + d->imageMenu->insertItem(i18n("Decrease Thumbnail Size"), this, TQ_SLOT(slotDecreaseThumbSize()), CTRL+Key_Minus, 5); d->imageMenu->insertSeparator(); - d->imageMenu->insertItem(i18n("Toggle Lock"), this, TQT_SLOT(slotToggleLock()), 0, 6); + d->imageMenu->insertItem(i18n("Toggle Lock"), this, TQ_SLOT(slotToggleLock()), 0, 6); actionButton(User3)->setPopup(d->imageMenu); // ------------------------------------------------------------------------- d->downloadMenu = new TQPopupMenu(this); d->downloadMenu->insertItem(i18n("Download Selected"), - this, TQT_SLOT(slotDownloadSelected()), 0, 0); + this, TQ_SLOT(slotDownloadSelected()), 0, 0); d->downloadMenu->insertItem(i18n("Download All"), - this, TQT_SLOT(slotDownloadAll()), 0, 1); + this, TQ_SLOT(slotDownloadAll()), 0, 1); d->downloadMenu->insertSeparator(); d->downloadMenu->insertItem(i18n("Download/Delete Selected"), - this, TQT_SLOT(slotDownloadAndDeleteSelected()), 0, 2); + this, TQ_SLOT(slotDownloadAndDeleteSelected()), 0, 2); d->downloadMenu->insertItem(i18n("Download/Delete All"), - this, TQT_SLOT(slotDownloadAndDeleteAll()), 0, 3); + this, TQ_SLOT(slotDownloadAndDeleteAll()), 0, 3); d->downloadMenu->insertSeparator(); d->downloadMenu->insertItem(i18n("Upload..."), - this, TQT_SLOT(slotUpload()), 0, 4); + this, TQ_SLOT(slotUpload()), 0, 4); d->downloadMenu->setItemEnabled(0, false); d->downloadMenu->setItemEnabled(2, false); actionButton(User2)->setPopup(d->downloadMenu); @@ -442,8 +442,8 @@ CameraUI::CameraUI(TQWidget* /*parent*/, const TQString& cameraTitle, // ------------------------------------------------------------------------- d->deleteMenu = new TQPopupMenu(this); - d->deleteMenu->insertItem(i18n("Delete Selected"), this, TQT_SLOT(slotDeleteSelected()), 0, 0); - d->deleteMenu->insertItem(i18n("Delete All"), this, TQT_SLOT(slotDeleteAll()), 0, 1); + d->deleteMenu->insertItem(i18n("Delete Selected"), this, TQ_SLOT(slotDeleteSelected()), 0, 0); + d->deleteMenu->insertItem(i18n("Delete All"), this, TQ_SLOT(slotDeleteAll()), 0, 1); d->deleteMenu->setItemEnabled(0, false); actionButton(User1)->setPopup(d->deleteMenu); @@ -452,76 +452,76 @@ CameraUI::CameraUI(TQWidget* /*parent*/, const TQString& cameraTitle, TQPushButton *helpButton = actionButton( Help ); d->helpMenu = new KHelpMenu(this, kapp->aboutData(), false); d->helpMenu->menu()->insertItem(SmallIcon("camera-photo"), i18n("Camera Information"), - this, TQT_SLOT(slotInformations()), 0, CAMERA_INFO_MENU_ID, 0); + this, TQ_SLOT(slotInformations()), 0, CAMERA_INFO_MENU_ID, 0); helpButton->setPopup( d->helpMenu->menu() ); // ------------------------------------------------------------------------- - connect(d->autoAlbumDateCheck, TQT_SIGNAL(toggled(bool)), - d->folderDateFormat, TQT_SLOT(setEnabled(bool))); + connect(d->autoAlbumDateCheck, TQ_SIGNAL(toggled(bool)), + d->folderDateFormat, TQ_SLOT(setEnabled(bool))); - connect(d->autoAlbumDateCheck, TQT_SIGNAL(toggled(bool)), - d->folderDateLabel, TQT_SLOT(setEnabled(bool))); + connect(d->autoAlbumDateCheck, TQ_SIGNAL(toggled(bool)), + d->folderDateLabel, TQ_SLOT(setEnabled(bool))); - connect(d->convertJpegCheck, TQT_SIGNAL(toggled(bool)), - d->losslessFormat, TQT_SLOT(setEnabled(bool))); + connect(d->convertJpegCheck, TQ_SIGNAL(toggled(bool)), + d->losslessFormat, TQ_SLOT(setEnabled(bool))); - connect(d->convertJpegCheck, TQT_SIGNAL(toggled(bool)), - d->formatLabel, TQT_SLOT(setEnabled(bool))); + connect(d->convertJpegCheck, TQ_SIGNAL(toggled(bool)), + d->formatLabel, TQ_SLOT(setEnabled(bool))); - connect(d->convertJpegCheck, TQT_SIGNAL(toggled(bool)), - d->view, TQT_SLOT(slotDownloadNameChanged())); + connect(d->convertJpegCheck, TQ_SIGNAL(toggled(bool)), + d->view, TQ_SLOT(slotDownloadNameChanged())); - connect(d->fixDateTimeCheck, TQT_SIGNAL(toggled(bool)), - d->dateTimeEdit, TQT_SLOT(setEnabled(bool))); + connect(d->fixDateTimeCheck, TQ_SIGNAL(toggled(bool)), + d->dateTimeEdit, TQ_SLOT(setEnabled(bool))); - connect(pixmapLogo, TQT_SIGNAL(leftClickedURL(const TQString&)), - this, TQT_SLOT(slotProcessURL(const TQString&))); + connect(pixmapLogo, TQ_SIGNAL(leftClickedURL(const TQString&)), + this, TQ_SLOT(slotProcessURL(const TQString&))); // ------------------------------------------------------------------------- - connect(d->view, TQT_SIGNAL(signalSelected(CameraIconViewItem*, bool)), - this, TQT_SLOT(slotItemsSelected(CameraIconViewItem*, bool))); + connect(d->view, TQ_SIGNAL(signalSelected(CameraIconViewItem*, bool)), + this, TQ_SLOT(slotItemsSelected(CameraIconViewItem*, bool))); - connect(d->view, TQT_SIGNAL(signalFileView(CameraIconViewItem*)), - this, TQT_SLOT(slotFileView(CameraIconViewItem*))); + connect(d->view, TQ_SIGNAL(signalFileView(CameraIconViewItem*)), + this, TQ_SLOT(slotFileView(CameraIconViewItem*))); - connect(d->view, TQT_SIGNAL(signalUpload(const KURL::List&)), - this, TQT_SLOT(slotUploadItems(const KURL::List&))); + connect(d->view, TQ_SIGNAL(signalUpload(const KURL::List&)), + this, TQ_SLOT(slotUploadItems(const KURL::List&))); - connect(d->view, TQT_SIGNAL(signalDownload()), - this, TQT_SLOT(slotDownloadSelected())); + connect(d->view, TQ_SIGNAL(signalDownload()), + this, TQ_SLOT(slotDownloadSelected())); - connect(d->view, TQT_SIGNAL(signalDownloadAndDelete()), - this, TQT_SLOT(slotDownloadAndDeleteSelected())); + connect(d->view, TQ_SIGNAL(signalDownloadAndDelete()), + this, TQ_SLOT(slotDownloadAndDeleteSelected())); - connect(d->view, TQT_SIGNAL(signalDelete()), - this, TQT_SLOT(slotDeleteSelected())); + connect(d->view, TQ_SIGNAL(signalDelete()), + this, TQ_SLOT(slotDeleteSelected())); - connect(d->view, TQT_SIGNAL(signalToggleLock()), - this, TQT_SLOT(slotToggleLock())); + connect(d->view, TQ_SIGNAL(signalToggleLock()), + this, TQ_SLOT(slotToggleLock())); - connect(d->view, TQT_SIGNAL(signalNewSelection(bool)), - this, TQT_SLOT(slotNewSelection(bool))); + connect(d->view, TQ_SIGNAL(signalNewSelection(bool)), + this, TQ_SLOT(slotNewSelection(bool))); // ------------------------------------------------------------------------- - connect(d->rightSidebar, TQT_SIGNAL(signalFirstItem()), - this, TQT_SLOT(slotFirstItem())); + connect(d->rightSidebar, TQ_SIGNAL(signalFirstItem()), + this, TQ_SLOT(slotFirstItem())); - connect(d->rightSidebar, TQT_SIGNAL(signalNextItem()), - this, TQT_SLOT(slotNextItem())); + connect(d->rightSidebar, TQ_SIGNAL(signalNextItem()), + this, TQ_SLOT(slotNextItem())); - connect(d->rightSidebar, TQT_SIGNAL(signalPrevItem()), - this, TQT_SLOT(slotPrevItem())); + connect(d->rightSidebar, TQ_SIGNAL(signalPrevItem()), + this, TQ_SLOT(slotPrevItem())); - connect(d->rightSidebar, TQT_SIGNAL(signalLastItem()), - this, TQT_SLOT(slotLastItem())); + connect(d->rightSidebar, TQ_SIGNAL(signalLastItem()), + this, TQ_SLOT(slotLastItem())); // ------------------------------------------------------------------------- - connect(d->cancelBtn, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotCancelButton())); + connect(d->cancelBtn, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotCancelButton())); // -- Read settings & Check free space availability on album root path ----- @@ -531,55 +531,55 @@ CameraUI::CameraUI(TQWidget* /*parent*/, const TQString& cameraTitle, d->controller = new CameraController(this, d->cameraTitle, model, port, path); - connect(d->controller, TQT_SIGNAL(signalConnected(bool)), - this, TQT_SLOT(slotConnected(bool))); + connect(d->controller, TQ_SIGNAL(signalConnected(bool)), + this, TQ_SLOT(slotConnected(bool))); - connect(d->controller, TQT_SIGNAL(signalInfoMsg(const TQString&)), - d->status, TQT_SLOT(setText(const TQString&))); + connect(d->controller, TQ_SIGNAL(signalInfoMsg(const TQString&)), + d->status, TQ_SLOT(setText(const TQString&))); - connect(d->controller, TQT_SIGNAL(signalErrorMsg(const TQString&)), - this, TQT_SLOT(slotErrorMsg(const TQString&))); + connect(d->controller, TQ_SIGNAL(signalErrorMsg(const TQString&)), + this, TQ_SLOT(slotErrorMsg(const TQString&))); - connect(d->controller, TQT_SIGNAL(signalCameraInformations(const TQString&, const TQString&, const TQString&)), - this, TQT_SLOT(slotCameraInformations(const TQString&, const TQString&, const TQString&))); + connect(d->controller, TQ_SIGNAL(signalCameraInformations(const TQString&, const TQString&, const TQString&)), + this, TQ_SLOT(slotCameraInformations(const TQString&, const TQString&, const TQString&))); - connect(d->controller, TQT_SIGNAL(signalBusy(bool)), - this, TQT_SLOT(slotBusy(bool))); + connect(d->controller, TQ_SIGNAL(signalBusy(bool)), + this, TQ_SLOT(slotBusy(bool))); - connect(d->controller, TQT_SIGNAL(signalFolderList(const TQStringList&)), - this, TQT_SLOT(slotFolderList(const TQStringList&))); + connect(d->controller, TQ_SIGNAL(signalFolderList(const TQStringList&)), + this, TQ_SLOT(slotFolderList(const TQStringList&))); - connect(d->controller, TQT_SIGNAL(signalFileList(const GPItemInfoList&)), - this, TQT_SLOT(slotFileList(const GPItemInfoList&))); + connect(d->controller, TQ_SIGNAL(signalFileList(const GPItemInfoList&)), + this, TQ_SLOT(slotFileList(const GPItemInfoList&))); - connect(d->controller, TQT_SIGNAL(signalThumbnail(const TQString&, const TQString&, const TQImage&)), - this, TQT_SLOT(slotThumbnail(const TQString&, const TQString&, const TQImage&))); + connect(d->controller, TQ_SIGNAL(signalThumbnail(const TQString&, const TQString&, const TQImage&)), + this, TQ_SLOT(slotThumbnail(const TQString&, const TQString&, const TQImage&))); - connect(d->controller, TQT_SIGNAL(signalDownloaded(const TQString&, const TQString&, int)), - this, TQT_SLOT(slotDownloaded(const TQString&, const TQString&, int))); + connect(d->controller, TQ_SIGNAL(signalDownloaded(const TQString&, const TQString&, int)), + this, TQ_SLOT(slotDownloaded(const TQString&, const TQString&, int))); - connect(d->controller, TQT_SIGNAL(signalSkipped(const TQString&, const TQString&)), - this, TQT_SLOT(slotSkipped(const TQString&, const TQString&))); + connect(d->controller, TQ_SIGNAL(signalSkipped(const TQString&, const TQString&)), + this, TQ_SLOT(slotSkipped(const TQString&, const TQString&))); - connect(d->controller, TQT_SIGNAL(signalDeleted(const TQString&, const TQString&, bool)), - this, TQT_SLOT(slotDeleted(const TQString&, const TQString&, bool))); + connect(d->controller, TQ_SIGNAL(signalDeleted(const TQString&, const TQString&, bool)), + this, TQ_SLOT(slotDeleted(const TQString&, const TQString&, bool))); - connect(d->controller, TQT_SIGNAL(signalLocked(const TQString&, const TQString&, bool)), - this, TQT_SLOT(slotLocked(const TQString&, const TQString&, bool))); + connect(d->controller, TQ_SIGNAL(signalLocked(const TQString&, const TQString&, bool)), + this, TQ_SLOT(slotLocked(const TQString&, const TQString&, bool))); - connect(d->controller, TQT_SIGNAL(signalExifFromFile(const TQString&, const TQString&)), - this, TQT_SLOT(slotExifFromFile(const TQString&, const TQString&))); + connect(d->controller, TQ_SIGNAL(signalExifFromFile(const TQString&, const TQString&)), + this, TQ_SLOT(slotExifFromFile(const TQString&, const TQString&))); - connect(d->controller, TQT_SIGNAL(signalExifData(const TQByteArray&)), - this, TQT_SLOT(slotExifFromData(const TQByteArray&))); + connect(d->controller, TQ_SIGNAL(signalExifData(const TQByteArray&)), + this, TQ_SLOT(slotExifFromData(const TQByteArray&))); - connect(d->controller, TQT_SIGNAL(signalUploaded(const GPItemInfo&)), - this, TQT_SLOT(slotUploaded(const GPItemInfo&))); + connect(d->controller, TQ_SIGNAL(signalUploaded(const GPItemInfo&)), + this, TQ_SLOT(slotUploaded(const GPItemInfo&))); // ------------------------------------------------------------------------- d->view->setFocus(); - TQTimer::singleShot(0, d->controller, TQT_SLOT(slotConnect())); + TQTimer::singleShot(0, d->controller, TQ_SLOT(slotConnect())); } CameraUI::~CameraUI() @@ -679,7 +679,7 @@ void CameraUI::slotCancelButton() { d->status->setText(i18n("Cancelling current operation, please wait...")); d->progress->hide(); - TQTimer::singleShot(0, d->controller, TQT_SLOT(slotCancel())); + TQTimer::singleShot(0, d->controller, TQ_SLOT(slotCancel())); d->currentlyDeleting.clear(); } @@ -868,7 +868,7 @@ void CameraUI::slotConnected(bool val) i18n("Retry"), i18n("Abort")) == KMessageBox::Yes) - TQTimer::singleShot(0, d->controller, TQT_SLOT(slotConnect())); + TQTimer::singleShot(0, d->controller, TQ_SLOT(slotConnect())); else close(); } diff --git a/digikam/utilities/cameragui/freespacewidget.cpp b/digikam/utilities/cameragui/freespacewidget.cpp index 4921c5a4..0d7a26b1 100644 --- a/digikam/utilities/cameragui/freespacewidget.cpp +++ b/digikam/utilities/cameragui/freespacewidget.cpp @@ -92,8 +92,8 @@ FreeSpaceWidget::FreeSpaceWidget(TQWidget* parent, int width) d->timer = new TQTimer(this); - connect(d->timer, TQT_SIGNAL(timeout()), - this, TQT_SLOT(slotTimeout())); + connect(d->timer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(slotTimeout())); d->timer->start(10000); } @@ -229,9 +229,9 @@ void FreeSpaceWidget::slotTimeout() { TQString mountPoint = TDEIO::findPathMountPoint(AlbumSettings::instance()->getAlbumLibraryPath()); KDiskFreeSp *job = new KDiskFreeSp; - connect(job, TQT_SIGNAL(foundMountPoint(const unsigned long&, const unsigned long&, + connect(job, TQ_SIGNAL(foundMountPoint(const unsigned long&, const unsigned long&, const unsigned long&, const TQString&)), - this, TQT_SLOT(slotAvailableFreeSpace(const unsigned long&, const unsigned long&, + this, TQ_SLOT(slotAvailableFreeSpace(const unsigned long&, const unsigned long&, const unsigned long&, const TQString&))); job->readDF(mountPoint); } diff --git a/digikam/utilities/cameragui/renamecustomizer.cpp b/digikam/utilities/cameragui/renamecustomizer.cpp index bc7b4c6d..a906ccb1 100644 --- a/digikam/utilities/cameragui/renamecustomizer.cpp +++ b/digikam/utilities/cameragui/renamecustomizer.cpp @@ -254,41 +254,41 @@ RenameCustomizer::RenameCustomizer(TQWidget* parent, const TQString& cameraTitle // -- setup connections ------------------------------------------------- - connect(this, TQT_SIGNAL(clicked(int)), - this, TQT_SLOT(slotRadioButtonClicked(int))); + connect(this, TQ_SIGNAL(clicked(int)), + this, TQ_SLOT(slotRadioButtonClicked(int))); - connect(d->renameCustomPrefix, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(slotRenameOptionsChanged())); + connect(d->renameCustomPrefix, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(slotRenameOptionsChanged())); - connect(d->renameCustomSuffix, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(slotRenameOptionsChanged())); + connect(d->renameCustomSuffix, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(slotRenameOptionsChanged())); - connect(d->addDateTimeBox, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotRenameOptionsChanged())); + connect(d->addDateTimeBox, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotRenameOptionsChanged())); - connect(d->addCameraNameBox, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotRenameOptionsChanged())); + connect(d->addCameraNameBox, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotRenameOptionsChanged())); - connect(d->addSeqNumberBox, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotRenameOptionsChanged())); + connect(d->addSeqNumberBox, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotRenameOptionsChanged())); - connect(d->renameDefaultCaseType, TQT_SIGNAL(activated(const TQString&)), - this, TQT_SLOT(slotRenameOptionsChanged())); + connect(d->renameDefaultCaseType, TQ_SIGNAL(activated(const TQString&)), + this, TQ_SLOT(slotRenameOptionsChanged())); - connect(d->startIndexInput, TQT_SIGNAL(valueChanged (int)), - this, TQT_SLOT(slotRenameOptionsChanged())); + connect(d->startIndexInput, TQ_SIGNAL(valueChanged (int)), + this, TQ_SLOT(slotRenameOptionsChanged())); - connect(d->changedTimer, TQT_SIGNAL(timeout()), - this, TQT_SIGNAL(signalChanged())); + connect(d->changedTimer, TQ_SIGNAL(timeout()), + this, TQ_SIGNAL(signalChanged())); - connect(d->dateTimeButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotDateTimeButtonClicked())); + connect(d->dateTimeButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotDateTimeButtonClicked())); - connect(d->dateTimeFormat, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotDateTimeFormatChanged(int))); + connect(d->dateTimeFormat, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotDateTimeFormatChanged(int))); - connect(d->addDateTimeBox, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotDateTimeBoxToggled(bool))); + connect(d->addDateTimeBox, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotDateTimeBoxToggled(bool))); // -- initial values --------------------------------------------------- diff --git a/digikam/utilities/imageeditor/canvas/canvas.cpp b/digikam/utilities/imageeditor/canvas/canvas.cpp index 128a0da0..89758c3d 100644 --- a/digikam/utilities/imageeditor/canvas/canvas.cpp +++ b/digikam/utilities/imageeditor/canvas/canvas.cpp @@ -174,35 +174,35 @@ Canvas::Canvas(TQWidget *parent) // ------------------------------------------------------------ - connect(this, TQT_SIGNAL(signalZoomChanged(double)), - this, TQT_SLOT(slotZoomChanged(double))); + connect(this, TQ_SIGNAL(signalZoomChanged(double)), + this, TQ_SLOT(slotZoomChanged(double))); - connect(d->cornerButton, TQT_SIGNAL(pressed()), - this, TQT_SLOT(slotCornerButtonPressed())); + connect(d->cornerButton, TQ_SIGNAL(pressed()), + this, TQ_SLOT(slotCornerButtonPressed())); - connect(d->im, TQT_SIGNAL(signalModified()), - this, TQT_SLOT(slotModified())); + connect(d->im, TQ_SIGNAL(signalModified()), + this, TQ_SLOT(slotModified())); - connect(d->im, TQT_SIGNAL(signalUndoStateChanged(bool, bool, bool)), - this, TQT_SIGNAL(signalUndoStateChanged(bool, bool, bool))); + connect(d->im, TQ_SIGNAL(signalUndoStateChanged(bool, bool, bool)), + this, TQ_SIGNAL(signalUndoStateChanged(bool, bool, bool))); - connect(d->im, TQT_SIGNAL(signalLoadingStarted(const TQString&)), - this, TQT_SIGNAL(signalLoadingStarted(const TQString&))); + connect(d->im, TQ_SIGNAL(signalLoadingStarted(const TQString&)), + this, TQ_SIGNAL(signalLoadingStarted(const TQString&))); - connect(d->im, TQT_SIGNAL(signalImageLoaded(const TQString&, bool)), - this, TQT_SLOT(slotImageLoaded(const TQString&, bool))); + connect(d->im, TQ_SIGNAL(signalImageLoaded(const TQString&, bool)), + this, TQ_SLOT(slotImageLoaded(const TQString&, bool))); - connect(d->im, TQT_SIGNAL(signalImageSaved(const TQString&, bool)), - this, TQT_SLOT(slotImageSaved(const TQString&, bool))); + connect(d->im, TQ_SIGNAL(signalImageSaved(const TQString&, bool)), + this, TQ_SLOT(slotImageSaved(const TQString&, bool))); - connect(d->im, TQT_SIGNAL(signalLoadingProgress(const TQString&, float)), - this, TQT_SIGNAL(signalLoadingProgress(const TQString&, float))); + connect(d->im, TQ_SIGNAL(signalLoadingProgress(const TQString&, float)), + this, TQ_SIGNAL(signalLoadingProgress(const TQString&, float))); - connect(d->im, TQT_SIGNAL(signalSavingProgress(const TQString&, float)), - this, TQT_SIGNAL(signalSavingProgress(const TQString&, float))); + connect(d->im, TQ_SIGNAL(signalSavingProgress(const TQString&, float)), + this, TQ_SIGNAL(signalSavingProgress(const TQString&, float))); - connect(this, TQT_SIGNAL(signalSelected(bool)), - this, TQT_SLOT(slotSelected())); + connect(this, TQ_SIGNAL(signalSelected(bool)), + this, TQ_SLOT(slotSelected())); } Canvas::~Canvas() @@ -1349,11 +1349,11 @@ void Canvas::slotCornerButtonPressed() pan->setRegionSelection(r); pan->setMouseFocus(); - connect(pan, TQT_SIGNAL(signalSelectionMoved(const TQRect&, bool)), - this, TQT_SLOT(slotPanIconSelectionMoved(const TQRect&, bool))); + connect(pan, TQ_SIGNAL(signalSelectionMoved(const TQRect&, bool)), + this, TQ_SLOT(slotPanIconSelectionMoved(const TQRect&, bool))); - connect(pan, TQT_SIGNAL(signalHiden()), - this, TQT_SLOT(slotPanIconHiden())); + connect(pan, TQ_SIGNAL(signalHiden()), + this, TQ_SLOT(slotPanIconHiden())); TQPoint g = mapToGlobal(viewport()->pos()); g.setX(g.x()+ viewport()->size().width()); diff --git a/digikam/utilities/imageeditor/canvas/colorcorrectiondlg.cpp b/digikam/utilities/imageeditor/canvas/colorcorrectiondlg.cpp index 1d098b22..1403773f 100644 --- a/digikam/utilities/imageeditor/canvas/colorcorrectiondlg.cpp +++ b/digikam/utilities/imageeditor/canvas/colorcorrectiondlg.cpp @@ -144,14 +144,14 @@ ColorCorrectionDlg::ColorCorrectionDlg(TQWidget* parent, DImg *preview, // -------------------------------------------------------------------- - connect(currentProfInfo, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotCurrentProfInfo()) ); + connect(currentProfInfo, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotCurrentProfInfo()) ); - connect(embeddedProfInfo, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotEmbeddedProfInfo()) ); + connect(embeddedProfInfo, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotEmbeddedProfInfo()) ); - connect(this, TQT_SIGNAL(applyClicked()), - this, TQT_SLOT(slotApplyClicked())); + connect(this, TQ_SIGNAL(applyClicked()), + this, TQ_SLOT(slotApplyClicked())); } ColorCorrectionDlg::~ColorCorrectionDlg() diff --git a/digikam/utilities/imageeditor/canvas/dimginterface.cpp b/digikam/utilities/imageeditor/canvas/dimginterface.cpp index b7062bfb..8ce1c114 100644 --- a/digikam/utilities/imageeditor/canvas/dimginterface.cpp +++ b/digikam/utilities/imageeditor/canvas/dimginterface.cpp @@ -162,17 +162,17 @@ DImgInterface::DImgInterface() d->undoMan = new UndoManager(this); d->thread = new SharedLoadSaveThread; - connect( d->thread, TQT_SIGNAL(signalImageLoaded(const LoadingDescription &, const DImg&)), - this, TQT_SLOT(slotImageLoaded(const LoadingDescription &, const DImg&)) ); + connect( d->thread, TQ_SIGNAL(signalImageLoaded(const LoadingDescription &, const DImg&)), + this, TQ_SLOT(slotImageLoaded(const LoadingDescription &, const DImg&)) ); - connect( d->thread, TQT_SIGNAL(signalImageSaved(const TQString&, bool)), - this, TQT_SLOT(slotImageSaved(const TQString&, bool)) ); + connect( d->thread, TQ_SIGNAL(signalImageSaved(const TQString&, bool)), + this, TQ_SLOT(slotImageSaved(const TQString&, bool)) ); - connect( d->thread, TQT_SIGNAL(signalLoadingProgress(const LoadingDescription &, float)), - this, TQT_SLOT(slotLoadingProgress(const LoadingDescription &, float)) ); + connect( d->thread, TQ_SIGNAL(signalLoadingProgress(const LoadingDescription &, float)), + this, TQ_SLOT(slotLoadingProgress(const LoadingDescription &, float)) ); - connect( d->thread, TQT_SIGNAL(signalSavingProgress(const TQString&, float)), - this, TQT_SLOT(slotSavingProgress(const TQString&, float)) ); + connect( d->thread, TQ_SIGNAL(signalSavingProgress(const TQString&, float)), + this, TQ_SLOT(slotSavingProgress(const TQString&, float)) ); } DImgInterface::~DImgInterface() @@ -201,11 +201,11 @@ void DImgInterface::load(const TQString& filename, IOFileSettingsContainer *iofi RawImport *rawImport = new RawImport(KURL(d->filename), this); EditorToolIface::editorToolIface()->loadTool(rawImport); - connect(rawImport, TQT_SIGNAL(okClicked()), - this, TQT_SLOT(slotUseRawImportSettings())); + connect(rawImport, TQ_SIGNAL(okClicked()), + this, TQ_SLOT(slotUseRawImportSettings())); - connect(rawImport, TQT_SIGNAL(cancelClicked()), - this, TQT_SLOT(slotUseDefaultSettings())); + connect(rawImport, TQ_SIGNAL(cancelClicked()), + this, TQ_SLOT(slotUseDefaultSettings())); } else { diff --git a/digikam/utilities/imageeditor/canvas/imageplugin.cpp b/digikam/utilities/imageeditor/canvas/imageplugin.cpp index c7ae00c7..b330cb5a 100644 --- a/digikam/utilities/imageeditor/canvas/imageplugin.cpp +++ b/digikam/utilities/imageeditor/canvas/imageplugin.cpp @@ -53,11 +53,11 @@ void ImagePlugin::loadTool(EditorTool* tool) { EditorToolIface::editorToolIface()->loadTool(tool); - connect(tool, TQT_SIGNAL(okClicked()), - this, TQT_SLOT(slotToolDone())); + connect(tool, TQ_SIGNAL(okClicked()), + this, TQ_SLOT(slotToolDone())); - connect(tool, TQT_SIGNAL(cancelClicked()), - this, TQT_SLOT(slotToolDone())); + connect(tool, TQ_SIGNAL(cancelClicked()), + this, TQ_SLOT(slotToolDone())); } void ImagePlugin::slotToolDone() diff --git a/digikam/utilities/imageeditor/editor/editorstackview.cpp b/digikam/utilities/imageeditor/editor/editorstackview.cpp index 27fc2ef0..61550300 100644 --- a/digikam/utilities/imageeditor/editor/editorstackview.cpp +++ b/digikam/utilities/imageeditor/editor/editorstackview.cpp @@ -66,8 +66,8 @@ void EditorStackView::setCanvas(Canvas* canvas) d->canvas = canvas; addWidget(d->canvas, CanvasMode); - connect(d->canvas, TQT_SIGNAL(signalZoomChanged(double)), - this, TQT_SLOT(slotZoomChanged(double))); + connect(d->canvas, TQ_SIGNAL(signalZoomChanged(double)), + this, TQ_SLOT(slotZoomChanged(double))); } Canvas* EditorStackView::canvas() const @@ -88,8 +88,8 @@ void EditorStackView::setToolView(TQWidget* view) PreviewWidget *preview = previewWidget(); if (preview) { - connect(preview, TQT_SIGNAL(signalZoomFactorChanged(double)), - this, TQT_SLOT(slotZoomChanged(double))); + connect(preview, TQ_SIGNAL(signalZoomFactorChanged(double)), + this, TQ_SLOT(slotZoomChanged(double))); } } diff --git a/digikam/utilities/imageeditor/editor/editortool.cpp b/digikam/utilities/imageeditor/editor/editortool.cpp index 55c17890..b840e673 100644 --- a/digikam/utilities/imageeditor/editor/editortool.cpp +++ b/digikam/utilities/imageeditor/editor/editortool.cpp @@ -75,8 +75,8 @@ EditorTool::EditorTool(TQObject *parent) d = new EditorToolPriv; d->timer = new TQTimer(this); - connect(d->timer, TQT_SIGNAL(timeout()), - this, TQT_SLOT(slotEffect())); + connect(d->timer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(slotEffect())); } EditorTool::~EditorTool() @@ -86,7 +86,7 @@ EditorTool::~EditorTool() void EditorTool::init() { - TQTimer::singleShot(0, this, TQT_SLOT(slotInit())); + TQTimer::singleShot(0, this, TQ_SLOT(slotInit())); } TQPixmap EditorTool::toolIcon() const @@ -131,23 +131,23 @@ void EditorTool::setToolSettings(EditorToolSettings *settings) { d->settings = settings; - connect(d->settings, TQT_SIGNAL(signalOkClicked()), - this, TQT_SLOT(slotOk())); + connect(d->settings, TQ_SIGNAL(signalOkClicked()), + this, TQ_SLOT(slotOk())); - connect(d->settings, TQT_SIGNAL(signalCancelClicked()), - this, TQT_SLOT(slotCancel())); + connect(d->settings, TQ_SIGNAL(signalCancelClicked()), + this, TQ_SLOT(slotCancel())); - connect(d->settings, TQT_SIGNAL(signalDefaultClicked()), - this, TQT_SLOT(slotResetSettings())); + connect(d->settings, TQ_SIGNAL(signalDefaultClicked()), + this, TQ_SLOT(slotResetSettings())); - connect(d->settings, TQT_SIGNAL(signalSaveAsClicked()), - this, TQT_SLOT(slotSaveAsSettings())); + connect(d->settings, TQ_SIGNAL(signalSaveAsClicked()), + this, TQ_SLOT(slotSaveAsSettings())); - connect(d->settings, TQT_SIGNAL(signalLoadClicked()), - this, TQT_SLOT(slotLoadSettings())); + connect(d->settings, TQ_SIGNAL(signalLoadClicked()), + this, TQ_SLOT(slotLoadSettings())); - connect(d->settings, TQT_SIGNAL(signalTryClicked()), - this, TQT_SLOT(slotEffect())); + connect(d->settings, TQ_SIGNAL(signalTryClicked()), + this, TQ_SLOT(slotEffect())); // Will be unblocked in slotInit() // This will prevent signals emit during tool init. @@ -279,7 +279,7 @@ void EditorToolThreaded::slotResized() filter()->stopComputation(); } - TQTimer::singleShot(0, this, TQT_SLOT(slotEffect())); + TQTimer::singleShot(0, this, TQ_SLOT(slotEffect())); } void EditorToolThreaded::slotAbort() @@ -368,8 +368,8 @@ void EditorToolThreaded::setToolView(TQWidget *view) if (dynamic_cast(view) || dynamic_cast(view) || dynamic_cast(view)) { - connect(view, TQT_SIGNAL(signalResized()), - this, TQT_SLOT(slotResized())); + connect(view, TQ_SIGNAL(signalResized()), + this, TQ_SLOT(slotResized())); } } diff --git a/digikam/utilities/imageeditor/editor/editortoolsettings.cpp b/digikam/utilities/imageeditor/editor/editortoolsettings.cpp index a9296847..3ac45ccf 100644 --- a/digikam/utilities/imageeditor/editor/editortoolsettings.cpp +++ b/digikam/utilities/imageeditor/editor/editortoolsettings.cpp @@ -217,29 +217,29 @@ EditorToolSettings::EditorToolSettings(int buttonMask, int toolMask, TQWidget *p // --------------------------------------------------------------- - connect(d->okBtn, TQT_SIGNAL(clicked()), - this, TQT_SIGNAL(signalOkClicked())); + connect(d->okBtn, TQ_SIGNAL(clicked()), + this, TQ_SIGNAL(signalOkClicked())); - connect(d->cancelBtn, TQT_SIGNAL(clicked()), - this, TQT_SIGNAL(signalCancelClicked())); + connect(d->cancelBtn, TQ_SIGNAL(clicked()), + this, TQ_SIGNAL(signalCancelClicked())); - connect(d->tryBtn, TQT_SIGNAL(clicked()), - this, TQT_SIGNAL(signalTryClicked())); + connect(d->tryBtn, TQ_SIGNAL(clicked()), + this, TQ_SIGNAL(signalTryClicked())); - connect(d->defaultBtn, TQT_SIGNAL(clicked()), - this, TQT_SIGNAL(signalDefaultClicked())); + connect(d->defaultBtn, TQ_SIGNAL(clicked()), + this, TQ_SIGNAL(signalDefaultClicked())); - connect(d->saveAsBtn, TQT_SIGNAL(clicked()), - this, TQT_SIGNAL(signalSaveAsClicked())); + connect(d->saveAsBtn, TQ_SIGNAL(clicked()), + this, TQ_SIGNAL(signalSaveAsClicked())); - connect(d->loadBtn, TQT_SIGNAL(clicked()), - this, TQT_SIGNAL(signalLoadClicked())); + connect(d->loadBtn, TQ_SIGNAL(clicked()), + this, TQ_SIGNAL(signalLoadClicked())); - connect(d->guideColorBt, TQT_SIGNAL(changed(const TQColor&)), - this, TQT_SIGNAL(signalColorGuideChanged())); + connect(d->guideColorBt, TQ_SIGNAL(changed(const TQColor&)), + this, TQ_SIGNAL(signalColorGuideChanged())); - connect(d->guideSize, TQT_SIGNAL(valueChanged(int)), - this, TQT_SIGNAL(signalColorGuideChanged())); + connect(d->guideSize, TQ_SIGNAL(valueChanged(int)), + this, TQ_SIGNAL(signalColorGuideChanged())); } EditorToolSettings::~EditorToolSettings() diff --git a/digikam/utilities/imageeditor/editor/editorwindow.cpp b/digikam/utilities/imageeditor/editor/editorwindow.cpp index c901d61c..eed7cfea 100644 --- a/digikam/utilities/imageeditor/editor/editorwindow.cpp +++ b/digikam/utilities/imageeditor/editor/editorwindow.cpp @@ -183,104 +183,104 @@ void EditorWindow::setupStandardConnections() { // -- Canvas connections ------------------------------------------------ - connect(m_canvas, TQT_SIGNAL(signalToggleOffFitToWindow()), - this, TQT_SLOT(slotToggleOffFitToWindow())); + connect(m_canvas, TQ_SIGNAL(signalToggleOffFitToWindow()), + this, TQ_SLOT(slotToggleOffFitToWindow())); - connect(m_canvas, TQT_SIGNAL(signalShowNextImage()), - this, TQT_SLOT(slotForward())); + connect(m_canvas, TQ_SIGNAL(signalShowNextImage()), + this, TQ_SLOT(slotForward())); - connect(m_canvas, TQT_SIGNAL(signalShowPrevImage()), - this, TQT_SLOT(slotBackward())); + connect(m_canvas, TQ_SIGNAL(signalShowPrevImage()), + this, TQ_SLOT(slotBackward())); - connect(m_canvas, TQT_SIGNAL(signalRightButtonClicked()), - this, TQT_SLOT(slotContextMenu())); + connect(m_canvas, TQ_SIGNAL(signalRightButtonClicked()), + this, TQ_SLOT(slotContextMenu())); - connect(m_stackView, TQT_SIGNAL(signalZoomChanged(bool, bool, double)), - this, TQT_SLOT(slotZoomChanged(bool, bool, double))); + connect(m_stackView, TQ_SIGNAL(signalZoomChanged(bool, bool, double)), + this, TQ_SLOT(slotZoomChanged(bool, bool, double))); - connect(m_canvas, TQT_SIGNAL(signalChanged()), - this, TQT_SLOT(slotChanged())); + connect(m_canvas, TQ_SIGNAL(signalChanged()), + this, TQ_SLOT(slotChanged())); - connect(m_canvas, TQT_SIGNAL(signalUndoStateChanged(bool, bool, bool)), - this, TQT_SLOT(slotUndoStateChanged(bool, bool, bool))); + connect(m_canvas, TQ_SIGNAL(signalUndoStateChanged(bool, bool, bool)), + this, TQ_SLOT(slotUndoStateChanged(bool, bool, bool))); - connect(m_canvas, TQT_SIGNAL(signalSelected(bool)), - this, TQT_SLOT(slotSelected(bool))); + connect(m_canvas, TQ_SIGNAL(signalSelected(bool)), + this, TQ_SLOT(slotSelected(bool))); - connect(m_canvas, TQT_SIGNAL(signalPrepareToLoad()), - this, TQT_SLOT(slotPrepareToLoad())); + connect(m_canvas, TQ_SIGNAL(signalPrepareToLoad()), + this, TQ_SLOT(slotPrepareToLoad())); - connect(m_canvas, TQT_SIGNAL(signalLoadingStarted(const TQString &)), - this, TQT_SLOT(slotLoadingStarted(const TQString &))); + connect(m_canvas, TQ_SIGNAL(signalLoadingStarted(const TQString &)), + this, TQ_SLOT(slotLoadingStarted(const TQString &))); - connect(m_canvas, TQT_SIGNAL(signalLoadingFinished(const TQString &, bool)), - this, TQT_SLOT(slotLoadingFinished(const TQString &, bool))); + connect(m_canvas, TQ_SIGNAL(signalLoadingFinished(const TQString &, bool)), + this, TQ_SLOT(slotLoadingFinished(const TQString &, bool))); - connect(m_canvas, TQT_SIGNAL(signalLoadingProgress(const TQString &, float)), - this, TQT_SLOT(slotLoadingProgress(const TQString &, float))); + connect(m_canvas, TQ_SIGNAL(signalLoadingProgress(const TQString &, float)), + this, TQ_SLOT(slotLoadingProgress(const TQString &, float))); - connect(m_canvas, TQT_SIGNAL(signalSavingStarted(const TQString&)), - this, TQT_SLOT(slotSavingStarted(const TQString&))); + connect(m_canvas, TQ_SIGNAL(signalSavingStarted(const TQString&)), + this, TQ_SLOT(slotSavingStarted(const TQString&))); - connect(m_canvas, TQT_SIGNAL(signalSavingFinished(const TQString&, bool)), - this, TQT_SLOT(slotSavingFinished(const TQString&, bool))); + connect(m_canvas, TQ_SIGNAL(signalSavingFinished(const TQString&, bool)), + this, TQ_SLOT(slotSavingFinished(const TQString&, bool))); - connect(m_canvas, TQT_SIGNAL(signalSavingProgress(const TQString&, float)), - this, TQT_SLOT(slotSavingProgress(const TQString&, float))); + connect(m_canvas, TQ_SIGNAL(signalSavingProgress(const TQString&, float)), + this, TQ_SLOT(slotSavingProgress(const TQString&, float))); - connect(m_canvas, TQT_SIGNAL(signalSelectionChanged(const TQRect&)), - this, TQT_SLOT(slotSelectionChanged(const TQRect&))); + connect(m_canvas, TQ_SIGNAL(signalSelectionChanged(const TQRect&)), + this, TQ_SLOT(slotSelectionChanged(const TQRect&))); // -- if rotating/flipping set the rotatedflipped flag to true ----------- - connect(d->rotateLeftAction, TQT_SIGNAL(activated()), - this, TQT_SLOT(slotRotatedOrFlipped())); + connect(d->rotateLeftAction, TQ_SIGNAL(activated()), + this, TQ_SLOT(slotRotatedOrFlipped())); - connect(d->rotateRightAction, TQT_SIGNAL(activated()), - this, TQT_SLOT(slotRotatedOrFlipped())); + connect(d->rotateRightAction, TQ_SIGNAL(activated()), + this, TQ_SLOT(slotRotatedOrFlipped())); - connect(d->flipHorizAction, TQT_SIGNAL(activated()), - this, TQT_SLOT(slotRotatedOrFlipped())); + connect(d->flipHorizAction, TQ_SIGNAL(activated()), + this, TQ_SLOT(slotRotatedOrFlipped())); - connect(d->flipVertAction, TQT_SIGNAL(activated()), - this, TQT_SLOT(slotRotatedOrFlipped())); + connect(d->flipVertAction, TQ_SIGNAL(activated()), + this, TQ_SLOT(slotRotatedOrFlipped())); // -- status bar connections -------------------------------------- - connect(m_nameLabel, TQT_SIGNAL(signalCancelButtonPressed()), - this, TQT_SLOT(slotNameLabelCancelButtonPressed())); + connect(m_nameLabel, TQ_SIGNAL(signalCancelButtonPressed()), + this, TQ_SLOT(slotNameLabelCancelButtonPressed())); - connect(m_nameLabel, TQT_SIGNAL(signalCancelButtonPressed()), - d->toolIface, TQT_SLOT(slotToolAborted())); + connect(m_nameLabel, TQ_SIGNAL(signalCancelButtonPressed()), + d->toolIface, TQ_SLOT(slotToolAborted())); } void EditorWindow::setupStandardActions() { // -- Standard 'File' menu actions --------------------------------------------- - m_backwardAction = KStdAction::back(this, TQT_SLOT(slotBackward()), + m_backwardAction = KStdAction::back(this, TQ_SLOT(slotBackward()), actionCollection(), "editorwindow_backward"); - m_forwardAction = KStdAction::forward(this, TQT_SLOT(slotForward()), + m_forwardAction = KStdAction::forward(this, TQ_SLOT(slotForward()), actionCollection(), "editorwindow_forward"); m_firstAction = new TDEAction(i18n("&First"), "go-first", TDEStdAccel::shortcut( TDEStdAccel::Home), - this, TQT_SLOT(slotFirst()), + this, TQ_SLOT(slotFirst()), actionCollection(), "editorwindow_first"); m_lastAction = new TDEAction(i18n("&Last"), "go-last", TDEStdAccel::shortcut( TDEStdAccel::End), - this, TQT_SLOT(slotLast()), + this, TQ_SLOT(slotLast()), actionCollection(), "editorwindow_last"); - m_saveAction = KStdAction::save(this, TQT_SLOT(slotSave()), + m_saveAction = KStdAction::save(this, TQ_SLOT(slotSave()), actionCollection(), "editorwindow_save"); - m_saveAsAction = KStdAction::saveAs(this, TQT_SLOT(slotSaveAs()), + m_saveAsAction = KStdAction::saveAs(this, TQ_SLOT(slotSaveAs()), actionCollection(), "editorwindow_saveas"); - m_revertAction = KStdAction::revert(this, TQT_SLOT(slotRevert()), + m_revertAction = KStdAction::revert(this, TQ_SLOT(slotRevert()), actionCollection(), "editorwindow_revert"); m_saveAction->setEnabled(false); @@ -289,46 +289,46 @@ void EditorWindow::setupStandardActions() d->filePrintAction = new TDEAction(i18n("Print Image..."), "document-print", CTRL+Key_P, - this, TQT_SLOT(slotFilePrint()), + this, TQ_SLOT(slotFilePrint()), actionCollection(), "editorwindow_print"); m_fileDeleteAction = new TDEAction(i18n("Move to Trash"), "edittrash", Key_Delete, - this, TQT_SLOT(slotDeleteCurrentItem()), + this, TQ_SLOT(slotDeleteCurrentItem()), actionCollection(), "editorwindow_delete"); - KStdAction::close(this, TQT_SLOT(close()), actionCollection(), "editorwindow_close"); + KStdAction::close(this, TQ_SLOT(close()), actionCollection(), "editorwindow_close"); // -- Standard 'Edit' menu actions --------------------------------------------- - d->copyAction = KStdAction::copy(m_canvas, TQT_SLOT(slotCopy()), + d->copyAction = KStdAction::copy(m_canvas, TQ_SLOT(slotCopy()), actionCollection(), "editorwindow_copy"); d->copyAction->setEnabled(false); m_undoAction = new TDEToolBarPopupAction(i18n("Undo"), "edit-undo", TDEStdAccel::shortcut(TDEStdAccel::Undo), - m_canvas, TQT_SLOT(slotUndo()), + m_canvas, TQ_SLOT(slotUndo()), actionCollection(), "editorwindow_undo"); - connect(m_undoAction->popupMenu(), TQT_SIGNAL(aboutToShow()), - this, TQT_SLOT(slotAboutToShowUndoMenu())); + connect(m_undoAction->popupMenu(), TQ_SIGNAL(aboutToShow()), + this, TQ_SLOT(slotAboutToShowUndoMenu())); - connect(m_undoAction->popupMenu(), TQT_SIGNAL(activated(int)), - m_canvas, TQT_SLOT(slotUndo(int))); + connect(m_undoAction->popupMenu(), TQ_SIGNAL(activated(int)), + m_canvas, TQ_SLOT(slotUndo(int))); m_undoAction->setEnabled(false); m_redoAction = new TDEToolBarPopupAction(i18n("Redo"), "edit-redo", TDEStdAccel::shortcut(TDEStdAccel::Redo), - m_canvas, TQT_SLOT(slotRedo()), + m_canvas, TQ_SLOT(slotRedo()), actionCollection(), "editorwindow_redo"); - connect(m_redoAction->popupMenu(), TQT_SIGNAL(aboutToShow()), - this, TQT_SLOT(slotAboutToShowRedoMenu())); + connect(m_redoAction->popupMenu(), TQ_SIGNAL(aboutToShow()), + this, TQ_SLOT(slotAboutToShowRedoMenu())); - connect(m_redoAction->popupMenu(), TQT_SIGNAL(activated(int)), - m_canvas, TQT_SLOT(slotRedo(int))); + connect(m_redoAction->popupMenu(), TQ_SIGNAL(activated(int)), + m_canvas, TQ_SLOT(slotRedo(int))); m_redoAction->setEnabled(false); @@ -336,7 +336,7 @@ void EditorWindow::setupStandardActions() 0, CTRL+Key_A, m_canvas, - TQT_SLOT(slotSelectAll()), + TQ_SLOT(slotSelectAll()), actionCollection(), "editorwindow_selectAll"); @@ -344,31 +344,31 @@ void EditorWindow::setupStandardActions() 0, CTRL+SHIFT+Key_A, m_canvas, - TQT_SLOT(slotSelectNone()), + TQ_SLOT(slotSelectNone()), actionCollection(), "editorwindow_selectNone"); // -- Standard 'View' menu actions --------------------------------------------- - d->zoomPlusAction = KStdAction::zoomIn(this, TQT_SLOT(slotIncreaseZoom()), + d->zoomPlusAction = KStdAction::zoomIn(this, TQ_SLOT(slotIncreaseZoom()), actionCollection(), "editorwindow_zoomplus"); - d->zoomMinusAction = KStdAction::zoomOut(this, TQT_SLOT(slotDecreaseZoom()), + d->zoomMinusAction = KStdAction::zoomOut(this, TQ_SLOT(slotDecreaseZoom()), actionCollection(), "editorwindow_zoomminus"); d->zoomTo100percents = new TDEAction(i18n("Zoom to 100%"), "zoom-original", ALT+CTRL+Key_0, // NOTE: Photoshop 7 use ALT+CTRL+0. - this, TQT_SLOT(slotZoomTo100Percents()), + this, TQ_SLOT(slotZoomTo100Percents()), actionCollection(), "editorwindow_zoomto100percents"); d->zoomFitToWindowAction = new TDEToggleAction(i18n("Fit to &Window"), "view_fit_window", CTRL+SHIFT+Key_E, // NOTE: Gimp 2 use CTRL+SHIFT+E. - this, TQT_SLOT(slotToggleFitToWindow()), + this, TQ_SLOT(slotToggleFitToWindow()), actionCollection(), "editorwindow_zoomfit2window"); d->zoomFitToSelectAction = new TDEAction(i18n("Fit to &Selection"), "zoom-fit-best", - ALT+CTRL+Key_S, this, TQT_SLOT(slotFitToSelect()), + ALT+CTRL+Key_S, this, TQ_SLOT(slotFitToSelect()), actionCollection(), "editorwindow_zoomfit2select"); d->zoomFitToSelectAction->setEnabled(false); d->zoomFitToSelectAction->setWhatsThis(i18n("This option can be used to zoom the image to the " @@ -394,47 +394,47 @@ void EditorWindow::setupStandardActions() d->zoomCombo->insertItem(TQString("800%")); d->zoomCombo->insertItem(TQString("1200%")); - connect(d->zoomCombo, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotZoomSelected()) ); + connect(d->zoomCombo, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotZoomSelected()) ); - connect(d->zoomCombo, TQT_SIGNAL(returnPressed(const TQString&)), - this, TQT_SLOT(slotZoomTextChanged(const TQString &)) ); + connect(d->zoomCombo, TQ_SIGNAL(returnPressed(const TQString&)), + this, TQ_SLOT(slotZoomTextChanged(const TQString &)) ); // Do not use std KDE action for full screen because action text is too large for app. toolbar. m_fullScreenAction = new TDEToggleAction(i18n("Full Screen"), "view-fullscreen", CTRL+SHIFT+Key_F, this, - TQT_SLOT(slotToggleFullScreen()), + TQ_SLOT(slotToggleFullScreen()), actionCollection(), "editorwindow_fullscreen"); m_fullScreenAction->setWhatsThis(i18n("Toggle the window to full screen mode")); d->slideShowAction = new TDEAction(i18n("Slideshow"), "slideshow", Key_F9, - this, TQT_SLOT(slotToggleSlideShow()), + this, TQ_SLOT(slotToggleSlideShow()), actionCollection(),"editorwindow_slideshow"); d->viewUnderExpoAction = new TDEToggleAction(i18n("Under-Exposure Indicator"), "underexposure", Key_F10, this, - TQT_SLOT(slotToggleUnderExposureIndicator()), + TQ_SLOT(slotToggleUnderExposureIndicator()), actionCollection(),"editorwindow_underexposure"); d->viewOverExpoAction = new TDEToggleAction(i18n("Over-Exposure Indicator"), "overexposure", Key_F11, this, - TQT_SLOT(slotToggleOverExposureIndicator()), + TQ_SLOT(slotToggleOverExposureIndicator()), actionCollection(),"editorwindow_overexposure"); d->viewCMViewAction = new TDEToggleAction(i18n("Color Managed View"), "tv", Key_F12, this, - TQT_SLOT(slotToggleColorManagedView()), + TQ_SLOT(slotToggleColorManagedView()), actionCollection(),"editorwindow_cmview"); // -- Standard 'Transform' menu actions --------------------------------------------- d->resizeAction = new TDEAction(i18n("&Resize..."), "resize_image", 0, - this, TQT_SLOT(slotResize()), + this, TQ_SLOT(slotResize()), actionCollection(), "editorwindow_resize"); d->cropAction = new TDEAction(i18n("Crop"), "crop", CTRL+Key_X, - m_canvas, TQT_SLOT(slotCrop()), + m_canvas, TQ_SLOT(slotCrop()), actionCollection(), "editorwindow_crop"); d->cropAction->setEnabled(false); @@ -444,12 +444,12 @@ void EditorWindow::setupStandardActions() // -- Standard 'Flip' menu actions --------------------------------------------- d->flipHorizAction = new TDEAction(i18n("Flip Horizontally"), "mirror", CTRL+Key_Asterisk, - m_canvas, TQT_SLOT(slotFlipHoriz()), + m_canvas, TQ_SLOT(slotFlipHoriz()), actionCollection(), "editorwindow_flip_horiz"); d->flipHorizAction->setEnabled(false); d->flipVertAction = new TDEAction(i18n("Flip Vertically"), "flip", CTRL+Key_Slash, - m_canvas, TQT_SLOT(slotFlipVert()), + m_canvas, TQ_SLOT(slotFlipVert()), actionCollection(), "editorwindow_flip_vert"); d->flipVertAction->setEnabled(false); @@ -457,47 +457,47 @@ void EditorWindow::setupStandardActions() d->rotateLeftAction = new TDEAction(i18n("Rotate Left"), "object-rotate-left", SHIFT+CTRL+Key_Left, - m_canvas, TQT_SLOT(slotRotate270()), + m_canvas, TQ_SLOT(slotRotate270()), actionCollection(), "editorwindow_rotate_left"); d->rotateLeftAction->setEnabled(false); d->rotateRightAction = new TDEAction(i18n("Rotate Right"), "object-rotate-right", SHIFT+CTRL+Key_Right, - m_canvas, TQT_SLOT(slotRotate90()), + m_canvas, TQ_SLOT(slotRotate90()), actionCollection(), "editorwindow_rotate_right"); d->rotateRightAction->setEnabled(false); // -- Standard 'Configure' menu actions ---------------------------------------- - d->showMenuBarAction = KStdAction::showMenubar(this, TQT_SLOT(slotShowMenuBar()), actionCollection()); + d->showMenuBarAction = KStdAction::showMenubar(this, TQ_SLOT(slotShowMenuBar()), actionCollection()); - KStdAction::keyBindings(this, TQT_SLOT(slotEditKeys()), actionCollection()); - KStdAction::configureToolbars(this, TQT_SLOT(slotConfToolbars()), actionCollection()); - KStdAction::preferences(this, TQT_SLOT(slotSetup()), actionCollection()); + KStdAction::keyBindings(this, TQ_SLOT(slotEditKeys()), actionCollection()); + KStdAction::configureToolbars(this, TQ_SLOT(slotConfToolbars()), actionCollection()); + KStdAction::preferences(this, TQ_SLOT(slotSetup()), actionCollection()); // ----------------------------------------------------------------------------------------- m_themeMenuAction = new TDESelectAction(i18n("&Themes"), 0, actionCollection(), "theme_menu"); m_themeMenuAction->setItems(ThemeEngine::instance()->themeNames()); - connect(m_themeMenuAction, TQT_SIGNAL(activated(const TQString&)), - this, TQT_SLOT(slotChangeTheme(const TQString&))); + connect(m_themeMenuAction, TQ_SIGNAL(activated(const TQString&)), + this, TQ_SLOT(slotChangeTheme(const TQString&))); - connect(ThemeEngine::instance(), TQT_SIGNAL(signalThemeChanged()), - this, TQT_SLOT(slotThemeChanged())); + connect(ThemeEngine::instance(), TQ_SIGNAL(signalThemeChanged()), + this, TQ_SLOT(slotThemeChanged())); // -- Standard 'Help' menu actions --------------------------------------------- d->donateMoneyAction = new TDEAction(i18n("Donate..."), 0, 0, - this, TQT_SLOT(slotDonateMoney()), + this, TQ_SLOT(slotDonateMoney()), actionCollection(), "editorwindow_donatemoney"); d->contributeAction = new TDEAction(i18n("Contribute..."), 0, 0, - this, TQT_SLOT(slotContribute()), + this, TQ_SLOT(slotContribute()), actionCollection(), "editorwindow_contribute"); @@ -505,7 +505,7 @@ void EditorWindow::setupStandardActions() "kdcraw", 0, this, - TQT_SLOT(slotRawCameraList()), + TQ_SLOT(slotRawCameraList()), actionCollection(), "editorwindow_rawcameralist"); } @@ -516,47 +516,47 @@ void EditorWindow::setupStandardAccelerators() d->accelerators->insert("Exit fullscreen", i18n("Exit Fullscreen mode"), i18n("Exit out of the fullscreen mode"), - Key_Escape, this, TQT_SLOT(slotEscapePressed()), + Key_Escape, this, TQ_SLOT(slotEscapePressed()), false, true); d->accelerators->insert("Next Image Key_Space", i18n("Next Image"), i18n("Load Next Image"), - Key_Space, this, TQT_SLOT(slotForward()), + Key_Space, this, TQ_SLOT(slotForward()), false, true); d->accelerators->insert("Previous Image SHIFT+Key_Space", i18n("Previous Image"), i18n("Load Previous Image"), - SHIFT+Key_Space, this, TQT_SLOT(slotBackward()), + SHIFT+Key_Space, this, TQ_SLOT(slotBackward()), false, true); d->accelerators->insert("Previous Image Key_Backspace", i18n("Previous Image"), i18n("Load Previous Image"), - Key_Backspace, this, TQT_SLOT(slotBackward()), + Key_Backspace, this, TQ_SLOT(slotBackward()), false, true); d->accelerators->insert("Next Image Key_Next", i18n("Next Image"), i18n("Load Next Image"), - Key_Next, this, TQT_SLOT(slotForward()), + Key_Next, this, TQ_SLOT(slotForward()), false, true); d->accelerators->insert("Previous Image Key_Prior", i18n("Previous Image"), i18n("Load Previous Image"), - Key_Prior, this, TQT_SLOT(slotBackward()), + Key_Prior, this, TQ_SLOT(slotBackward()), false, true); d->accelerators->insert("Zoom Plus Key_Plus", i18n("Zoom In"), i18n("Zoom in on Image"), - Key_Plus, this, TQT_SLOT(slotIncreaseZoom()), + Key_Plus, this, TQ_SLOT(slotIncreaseZoom()), false, true); d->accelerators->insert("Zoom Plus Key_Minus", i18n("Zoom Out"), i18n("Zoom out of Image"), - Key_Minus, this, TQT_SLOT(slotDecreaseZoom()), + Key_Minus, this, TQ_SLOT(slotDecreaseZoom()), false, true); d->accelerators->insert("Redo CTRL+Key_Y", i18n("Redo"), i18n("Redo Last action"), - CTRL+Key_Y, m_canvas, TQT_SLOT(slotRedo()), + CTRL+Key_Y, m_canvas, TQ_SLOT(slotRedo()), false, true); } @@ -594,14 +594,14 @@ void EditorWindow::setupStatusBar() d->cmViewIndicator->setToggleButton(true); statusBar()->addWidget(d->cmViewIndicator, 1); - connect(d->underExposureIndicator, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotToggleUnderExposureIndicator())); + connect(d->underExposureIndicator, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotToggleUnderExposureIndicator())); - connect(d->overExposureIndicator, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotToggleOverExposureIndicator())); + connect(d->overExposureIndicator, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotToggleOverExposureIndicator())); - connect(d->cmViewIndicator, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotToggleColorManagedView())); + connect(d->cmViewIndicator, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotToggleColorManagedView())); } void EditorWindow::printImage(KURL url) @@ -702,8 +702,8 @@ void EditorWindow::slotConfToolbars() saveMainWindowSettings(TDEGlobal::config(), "ImageViewer Settings"); KEditToolbar dlg(factory(), this); - connect(&dlg, TQT_SIGNAL(newToolbarConfig()), - this, TQT_SLOT(slotNewToolbarConfig())); + connect(&dlg, TQ_SIGNAL(newToolbarConfig()), + this, TQ_SLOT(slotNewToolbarConfig())); dlg.exec(); } @@ -795,7 +795,7 @@ void EditorWindow::plugActionAccel(TDEAction* action) action->whatsThis(), action->shortcut(), action, - TQT_SLOT(activate())); + TQ_SLOT(activate())); } void EditorWindow::unplugActionAccel(TDEAction* action) @@ -1543,11 +1543,11 @@ bool EditorWindow::startingSaveAs(const KURL& url) false, options); - connect(&imageFileSaveDialog, TQT_SIGNAL(filterChanged(const TQString &)), - options, TQT_SLOT(slotImageFileFormatChanged(const TQString &))); + connect(&imageFileSaveDialog, TQ_SIGNAL(filterChanged(const TQString &)), + options, TQ_SLOT(slotImageFileFormatChanged(const TQString &))); - connect(&imageFileSaveDialog, TQT_SIGNAL(fileSelected(const TQString &)), - options, TQT_SLOT(slotImageFileSelected(const TQString &))); + connect(&imageFileSaveDialog, TQ_SIGNAL(fileSelected(const TQString &)), + options, TQ_SLOT(slotImageFileSelected(const TQString &))); ImageDialogPreview *preview = new ImageDialogPreview(&imageFileSaveDialog); imageFileSaveDialog.setPreviewWidget(preview); diff --git a/digikam/utilities/imageeditor/editor/imagewindow.cpp b/digikam/utilities/imageeditor/editor/imagewindow.cpp index f4a5177d..2c10a6f6 100644 --- a/digikam/utilities/imageeditor/editor/imagewindow.cpp +++ b/digikam/utilities/imageeditor/editor/imagewindow.cpp @@ -253,22 +253,22 @@ void ImageWindow::setupConnections() // To toggle properly keyboards shortcuts from comments & tags side bar tab. - connect(d->rightSidebar, TQT_SIGNAL(signalNextItem()), - this, TQT_SLOT(slotForward())); + connect(d->rightSidebar, TQ_SIGNAL(signalNextItem()), + this, TQ_SLOT(slotForward())); - connect(d->rightSidebar, TQT_SIGNAL(signalPrevItem()), - this, TQT_SLOT(slotBackward())); + connect(d->rightSidebar, TQ_SIGNAL(signalPrevItem()), + this, TQ_SLOT(slotBackward())); - connect(this, TQT_SIGNAL(signalSelectionChanged( const TQRect &)), - d->rightSidebar, TQT_SLOT(slotImageSelectionChanged( const TQRect &))); + connect(this, TQ_SIGNAL(signalSelectionChanged( const TQRect &)), + d->rightSidebar, TQ_SLOT(slotImageSelectionChanged( const TQRect &))); - connect(this, TQT_SIGNAL(signalNoCurrentItem()), - d->rightSidebar, TQT_SLOT(slotNoCurrentItem())); + connect(this, TQ_SIGNAL(signalNoCurrentItem()), + d->rightSidebar, TQ_SLOT(slotNoCurrentItem())); ImageAttributesWatch *watch = ImageAttributesWatch::instance(); - connect(watch, TQT_SIGNAL(signalFileMetadataChanged(const KURL &)), - this, TQT_SLOT(slotFileMetadataChanged(const KURL &))); + connect(watch, TQ_SIGNAL(signalFileMetadataChanged(const KURL &)), + this, TQ_SLOT(slotFileMetadataChanged(const KURL &))); } void ImageWindow::setupUserArea() @@ -312,22 +312,22 @@ void ImageWindow::setupActions() // -- Rating actions --------------------------------------------------------------- d->star0 = new TDEAction(i18n("Assign Rating \"No Stars\""), CTRL+Key_0, - this, TQT_SLOT(slotAssignRatingNoStar()), + this, TQ_SLOT(slotAssignRatingNoStar()), actionCollection(), "imageview_ratenostar"); d->star1 = new TDEAction(i18n("Assign Rating \"One Star\""), CTRL+Key_1, - this, TQT_SLOT(slotAssignRatingOneStar()), + this, TQ_SLOT(slotAssignRatingOneStar()), actionCollection(), "imageview_rateonestar"); d->star2 = new TDEAction(i18n("Assign Rating \"Two Stars\""), CTRL+Key_2, - this, TQT_SLOT(slotAssignRatingTwoStar()), + this, TQ_SLOT(slotAssignRatingTwoStar()), actionCollection(), "imageview_ratetwostar"); d->star3 = new TDEAction(i18n("Assign Rating \"Three Stars\""), CTRL+Key_3, - this, TQT_SLOT(slotAssignRatingThreeStar()), + this, TQ_SLOT(slotAssignRatingThreeStar()), actionCollection(), "imageview_ratethreestar"); d->star4 = new TDEAction(i18n("Assign Rating \"Four Stars\""), CTRL+Key_4, - this, TQT_SLOT(slotAssignRatingFourStar()), + this, TQ_SLOT(slotAssignRatingFourStar()), actionCollection(), "imageview_ratefourstar"); d->star5 = new TDEAction(i18n("Assign Rating \"Five Stars\""), CTRL+Key_5, - this, TQT_SLOT(slotAssignRatingFiveStar()), + this, TQ_SLOT(slotAssignRatingFiveStar()), actionCollection(), "imageview_ratefivestar"); // -- Special Delete actions --------------------------------------------------------------- @@ -337,7 +337,7 @@ void ImageWindow::setupActions() "edit-delete", SHIFT+Key_Delete, this, - TQT_SLOT(slotDeleteCurrentItemPermanently()), + TQ_SLOT(slotDeleteCurrentItemPermanently()), actionCollection(), "image_delete_permanently"); @@ -347,7 +347,7 @@ void ImageWindow::setupActions() "edit-delete", 0, this, - TQT_SLOT(slotDeleteCurrentItemPermanentlyDirectly()), + TQ_SLOT(slotDeleteCurrentItemPermanentlyDirectly()), actionCollection(), "image_delete_permanently_directly"); @@ -355,7 +355,7 @@ void ImageWindow::setupActions() "edittrash", 0, this, - TQT_SLOT(slotTrashCurrentItemDirectly()), + TQ_SLOT(slotTrashCurrentItemDirectly()), actionCollection(), "image_trash_directly"); @@ -455,7 +455,7 @@ void ImageWindow::loadCurrentList(const TQString& caption, bool allowSaving) m_undoAction->setEnabled(false); m_redoAction->setEnabled(false); - TQTimer::singleShot(0, this, TQT_SLOT(slotLoadCurrent())); + TQTimer::singleShot(0, this, TQ_SLOT(slotLoadCurrent())); } void ImageWindow::slotLoadCurrent() @@ -568,11 +568,11 @@ void ImageWindow::slotContextMenu() m_contextMenu->insertItem(i18n("Assign Tag"), assignTagsMenu); int i = m_contextMenu->insertItem(i18n("Remove Tag"), removeTagsMenu); - connect(assignTagsMenu, TQT_SIGNAL(signalTagActivated(int)), - this, TQT_SLOT(slotAssignTag(int))); + connect(assignTagsMenu, TQ_SIGNAL(signalTagActivated(int)), + this, TQ_SLOT(slotAssignTag(int))); - connect(removeTagsMenu, TQT_SIGNAL(signalTagActivated(int)), - this, TQT_SLOT(slotRemoveTag(int))); + connect(removeTagsMenu, TQ_SIGNAL(signalTagActivated(int)), + this, TQ_SLOT(slotRemoveTag(int))); AlbumDB* db = AlbumManager::instance()->albumDB(); if (!db->hasTags( idList )) @@ -584,8 +584,8 @@ void ImageWindow::slotContextMenu() ratingMenu = new RatingPopupMenu(); - connect(ratingMenu, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotAssignRating(int))); + connect(ratingMenu, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotAssignRating(int))); m_contextMenu->insertItem(i18n("Assign Rating"), ratingMenu); } diff --git a/digikam/utilities/imageeditor/rawimport/rawimport.cpp b/digikam/utilities/imageeditor/rawimport/rawimport.cpp index 7bc1e7a5..a9254ce8 100644 --- a/digikam/utilities/imageeditor/rawimport/rawimport.cpp +++ b/digikam/utilities/imageeditor/rawimport/rawimport.cpp @@ -95,32 +95,32 @@ void RawImport::slotInit() // --------------------------------------------------------------- - connect(d->previewWidget, TQT_SIGNAL(signalLoadingStarted()), - this, TQT_SLOT(slotLoadingStarted())); + connect(d->previewWidget, TQ_SIGNAL(signalLoadingStarted()), + this, TQ_SLOT(slotLoadingStarted())); - connect(d->previewWidget, TQT_SIGNAL(signalDemosaicedImage()), - this, TQT_SLOT(slotDemosaicedImage())); + connect(d->previewWidget, TQ_SIGNAL(signalDemosaicedImage()), + this, TQ_SLOT(slotDemosaicedImage())); - connect(d->previewWidget, TQT_SIGNAL(signalLoadingStarted()), - this, TQT_SLOT(slotLoadingStarted())); + connect(d->previewWidget, TQ_SIGNAL(signalLoadingStarted()), + this, TQ_SLOT(slotLoadingStarted())); - connect(d->previewWidget, TQT_SIGNAL(signalLoadingProgress(float)), - this, TQT_SLOT(slotLoadingProgress(float))); + connect(d->previewWidget, TQ_SIGNAL(signalLoadingProgress(float)), + this, TQ_SLOT(slotLoadingProgress(float))); - connect(d->previewWidget, TQT_SIGNAL(signalLoadingFailed()), - this, TQT_SLOT(slotLoadingFailed())); + connect(d->previewWidget, TQ_SIGNAL(signalLoadingFailed()), + this, TQ_SLOT(slotLoadingFailed())); - connect(d->settingsBox, TQT_SIGNAL(signalDemosaicingChanged()), - this, TQT_SLOT(slotDemosaicingChanged())); + connect(d->settingsBox, TQ_SIGNAL(signalDemosaicingChanged()), + this, TQ_SLOT(slotDemosaicingChanged())); - connect(d->settingsBox, TQT_SIGNAL(signalPostProcessingChanged()), - this, TQT_SLOT(slotTimer())); + connect(d->settingsBox, TQ_SIGNAL(signalPostProcessingChanged()), + this, TQ_SLOT(slotTimer())); - connect(d->settingsBox, TQT_SIGNAL(signalUpdatePreview()), - this, TQT_SLOT(slotUpdatePreview())); + connect(d->settingsBox, TQ_SIGNAL(signalUpdatePreview()), + this, TQ_SLOT(slotUpdatePreview())); - connect(d->settingsBox, TQT_SIGNAL(signalAbortPreview()), - this, TQT_SLOT(slotAbort())); + connect(d->settingsBox, TQ_SIGNAL(signalAbortPreview()), + this, TQ_SLOT(slotAbort())); // --------------------------------------------------------------- diff --git a/digikam/utilities/imageeditor/rawimport/rawpreview.cpp b/digikam/utilities/imageeditor/rawimport/rawpreview.cpp index d4b409e6..3207ba14 100644 --- a/digikam/utilities/imageeditor/rawimport/rawpreview.cpp +++ b/digikam/utilities/imageeditor/rawimport/rawpreview.cpp @@ -103,17 +103,17 @@ RawPreview::RawPreview(const KURL& url, TQWidget *parent) // ------------------------------------------------------------ - connect(d->thread, TQT_SIGNAL(signalImageLoaded(const LoadingDescription&, const DImg&)), - this, TQT_SLOT(slotImageLoaded(const LoadingDescription&, const DImg&))); + connect(d->thread, TQ_SIGNAL(signalImageLoaded(const LoadingDescription&, const DImg&)), + this, TQ_SLOT(slotImageLoaded(const LoadingDescription&, const DImg&))); - connect(d->thread, TQT_SIGNAL(signalLoadingProgress(const LoadingDescription&, float)), - this, TQT_SLOT(slotLoadingProgress(const LoadingDescription&, float))); + connect(d->thread, TQ_SIGNAL(signalLoadingProgress(const LoadingDescription&, float)), + this, TQ_SLOT(slotLoadingProgress(const LoadingDescription&, float))); - connect(d->cornerButton, TQT_SIGNAL(pressed()), - this, TQT_SLOT(slotCornerButtonPressed())); + connect(d->cornerButton, TQ_SIGNAL(pressed()), + this, TQ_SLOT(slotCornerButtonPressed())); - connect(ThemeEngine::instance(), TQT_SIGNAL(signalThemeChanged()), - this, TQT_SLOT(slotThemeChanged())); + connect(ThemeEngine::instance(), TQ_SIGNAL(signalThemeChanged()), + this, TQ_SLOT(slotThemeChanged())); // ------------------------------------------------------------ @@ -224,11 +224,11 @@ void RawPreview::slotCornerButtonPressed() pan->setRegionSelection(r); pan->setMouseFocus(); - connect(pan, TQT_SIGNAL(signalSelectionMoved(const TQRect&, bool)), - this, TQT_SLOT(slotPanIconSelectionMoved(const TQRect&, bool))); + connect(pan, TQ_SIGNAL(signalSelectionMoved(const TQRect&, bool)), + this, TQ_SLOT(slotPanIconSelectionMoved(const TQRect&, bool))); - connect(pan, TQT_SIGNAL(signalHiden()), - this, TQT_SLOT(slotPanIconHiden())); + connect(pan, TQ_SIGNAL(signalHiden()), + this, TQ_SLOT(slotPanIconHiden())); TQPoint g = mapToGlobal(viewport()->pos()); g.setX(g.x()+ viewport()->size().width()); diff --git a/digikam/utilities/imageeditor/rawimport/rawsettingsbox.cpp b/digikam/utilities/imageeditor/rawimport/rawsettingsbox.cpp index b02a98e6..bf0ee67e 100644 --- a/digikam/utilities/imageeditor/rawimport/rawsettingsbox.cpp +++ b/digikam/utilities/imageeditor/rawimport/rawsettingsbox.cpp @@ -409,44 +409,44 @@ RawSettingsBox::RawSettingsBox(const KURL& url, TQWidget *parent) // --------------------------------------------------------------- - connect(d->channelCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotChannelChanged(int))); + connect(d->channelCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotChannelChanged(int))); - connect(d->scaleBG, TQT_SIGNAL(released(int)), - this, TQT_SLOT(slotScaleChanged(int))); + connect(d->scaleBG, TQ_SIGNAL(released(int)), + this, TQ_SLOT(slotScaleChanged(int))); - connect(d->colorsCB, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotColorsChanged(int))); + connect(d->colorsCB, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotColorsChanged(int))); - connect(d->resetCurveBtn, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotResetCurve())); + connect(d->resetCurveBtn, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotResetCurve())); - connect(d->updateBtn, TQT_SIGNAL(clicked()), - this, TQT_SIGNAL(signalUpdatePreview())); + connect(d->updateBtn, TQ_SIGNAL(clicked()), + this, TQ_SIGNAL(signalUpdatePreview())); - connect(d->abortBtn, TQT_SIGNAL(clicked()), - this, TQT_SIGNAL(signalAbortPreview())); + connect(d->abortBtn, TQ_SIGNAL(clicked()), + this, TQ_SIGNAL(signalAbortPreview())); - connect(d->decodingSettingsBox, TQT_SIGNAL(signalSettingsChanged()), - this, TQT_SIGNAL(signalDemosaicingChanged())); + connect(d->decodingSettingsBox, TQ_SIGNAL(signalSettingsChanged()), + this, TQ_SIGNAL(signalDemosaicingChanged())); - connect(d->curveWidget, TQT_SIGNAL(signalCurvesChanged()), - this, TQT_SIGNAL(signalPostProcessingChanged())); + connect(d->curveWidget, TQ_SIGNAL(signalCurvesChanged()), + this, TQ_SIGNAL(signalPostProcessingChanged())); - connect(d->brightnessInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SIGNAL(signalPostProcessingChanged())); + connect(d->brightnessInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SIGNAL(signalPostProcessingChanged())); - connect(d->contrastInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SIGNAL(signalPostProcessingChanged())); + connect(d->contrastInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SIGNAL(signalPostProcessingChanged())); - connect(d->gammaInput, TQT_SIGNAL(valueChanged(double)), - this, TQT_SIGNAL(signalPostProcessingChanged())); + connect(d->gammaInput, TQ_SIGNAL(valueChanged(double)), + this, TQ_SIGNAL(signalPostProcessingChanged())); - connect(d->saturationInput, TQT_SIGNAL(valueChanged(double)), - this, TQT_SIGNAL(signalPostProcessingChanged())); + connect(d->saturationInput, TQ_SIGNAL(valueChanged(double)), + this, TQ_SIGNAL(signalPostProcessingChanged())); - connect(d->fineExposureInput, TQT_SIGNAL(valueChanged(double)), - this, TQT_SIGNAL(signalPostProcessingChanged())); + connect(d->fineExposureInput, TQ_SIGNAL(valueChanged(double)), + this, TQ_SIGNAL(signalPostProcessingChanged())); } RawSettingsBox::~RawSettingsBox() diff --git a/digikam/utilities/imageeditor/tools/imageprint.cpp b/digikam/utilities/imageeditor/tools/imageprint.cpp index ece28f6c..5cab236b 100644 --- a/digikam/utilities/imageeditor/tools/imageprint.cpp +++ b/digikam/utilities/imageeditor/tools/imageprint.cpp @@ -460,26 +460,26 @@ ImageEditorPrintDialogPage::ImageEditorPrintDialogPage(DImg& image, TQWidget *pa // ------------------------------------------------------------------------ - connect( d->colorManaged, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotAlertSettings( bool )) ); + connect( d->colorManaged, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotAlertSettings( bool )) ); - connect( d->cmPreferences, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotSetupDlg()) ); + connect( d->cmPreferences, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotSetupDlg()) ); - connect( d->scale, TQT_SIGNAL( toggled( bool )), - this, TQT_SLOT( toggleScaling( bool ))); + connect( d->scale, TQ_SIGNAL( toggled( bool )), + this, TQ_SLOT( toggleScaling( bool ))); - connect(d->width, TQT_SIGNAL( valueChanged( double )), - this, TQT_SLOT( slotWidthChanged( double ))); + connect(d->width, TQ_SIGNAL( valueChanged( double )), + this, TQ_SLOT( slotWidthChanged( double ))); - connect(d->height, TQT_SIGNAL( valueChanged( double )), - this, TQT_SLOT( slotHeightChanged( double ))); + connect(d->height, TQ_SIGNAL( valueChanged( double )), + this, TQ_SLOT( slotHeightChanged( double ))); - connect(d->keepRatio, TQT_SIGNAL( toggled( bool )), - this, TQT_SLOT( toggleRatio( bool ))); + connect(d->keepRatio, TQ_SIGNAL( toggled( bool )), + this, TQ_SLOT( toggleRatio( bool ))); - connect(d->units, TQT_SIGNAL(activated(const TQString &)), - this, TQT_SLOT(slotUnitChanged(const TQString& ))); + connect(d->units, TQ_SIGNAL(activated(const TQString &)), + this, TQ_SLOT(slotUnitChanged(const TQString& ))); } ImageEditorPrintDialogPage::~ImageEditorPrintDialogPage() diff --git a/digikam/utilities/imageeditor/tools/imageresize.cpp b/digikam/utilities/imageeditor/tools/imageresize.cpp index cfefad86..c779b71e 100644 --- a/digikam/utilities/imageeditor/tools/imageresize.cpp +++ b/digikam/utilities/imageeditor/tools/imageresize.cpp @@ -255,27 +255,27 @@ ImageResize::ImageResize(TQWidget* parent) adjustSize(); disableResize(); - TQTimer::singleShot(0, this, TQT_SLOT(readUserSettings())); + TQTimer::singleShot(0, this, TQ_SLOT(readUserSettings())); // ------------------------------------------------------------- - connect(d->cimgLogoLabel, TQT_SIGNAL(leftClickedURL(const TQString&)), - this, TQT_SLOT(processCImgURL(const TQString&))); + connect(d->cimgLogoLabel, TQ_SIGNAL(leftClickedURL(const TQString&)), + this, TQ_SLOT(processCImgURL(const TQString&))); - connect(d->wInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotValuesChanged())); + connect(d->wInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotValuesChanged())); - connect(d->hInput, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotValuesChanged())); + connect(d->hInput, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotValuesChanged())); - connect(d->wpInput, TQT_SIGNAL(valueChanged(double)), - this, TQT_SLOT(slotValuesChanged())); + connect(d->wpInput, TQ_SIGNAL(valueChanged(double)), + this, TQ_SLOT(slotValuesChanged())); - connect(d->hpInput, TQT_SIGNAL(valueChanged(double)), - this, TQT_SLOT(slotValuesChanged())); + connect(d->hpInput, TQ_SIGNAL(valueChanged(double)), + this, TQ_SLOT(slotValuesChanged())); - connect(d->useGreycstorationBox, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotRestorationToggled(bool)) ); + connect(d->useGreycstorationBox, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotRestorationToggled(bool)) ); // ------------------------------------------------------------- diff --git a/digikam/utilities/lighttable/lighttablebar.cpp b/digikam/utilities/lighttable/lighttablebar.cpp index 7149018e..cfb935ab 100644 --- a/digikam/utilities/lighttable/lighttablebar.cpp +++ b/digikam/utilities/lighttable/lighttablebar.cpp @@ -120,14 +120,14 @@ LightTableBar::LightTableBar(TQWidget* parent, int orientation, bool exifRotate) ImageAttributesWatch *watch = ImageAttributesWatch::instance(); - connect(watch, TQT_SIGNAL(signalImageRatingChanged(TQ_LLONG)), - this, TQT_SLOT(slotImageRatingChanged(TQ_LLONG))); + connect(watch, TQ_SIGNAL(signalImageRatingChanged(TQ_LLONG)), + this, TQ_SLOT(slotImageRatingChanged(TQ_LLONG))); - connect(ThemeEngine::instance(), TQT_SIGNAL(signalThemeChanged()), - this, TQT_SLOT(slotThemeChanged())); + connect(ThemeEngine::instance(), TQ_SIGNAL(signalThemeChanged()), + this, TQ_SLOT(slotThemeChanged())); - connect(this, TQT_SIGNAL(signalItemSelected(ThumbBarItem*)), - this, TQT_SLOT(slotItemSelected(ThumbBarItem*))); + connect(this, TQ_SIGNAL(signalItemSelected(ThumbBarItem*)), + this, TQ_SLOT(slotItemSelected(ThumbBarItem*))); } LightTableBar::~LightTableBar() @@ -197,8 +197,8 @@ void LightTableBar::contentsMouseReleaseEvent(TQMouseEvent *e) ratingMenu = new RatingPopupMenu(); - connect(ratingMenu, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotAssignRating(int))); + connect(ratingMenu, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotAssignRating(int))); popmenu.insertItem(i18n("Assign Rating"), ratingMenu); } diff --git a/digikam/utilities/lighttable/lighttablepreview.cpp b/digikam/utilities/lighttable/lighttablepreview.cpp index 23d1cbc8..100427ec 100644 --- a/digikam/utilities/lighttable/lighttablepreview.cpp +++ b/digikam/utilities/lighttable/lighttablepreview.cpp @@ -150,14 +150,14 @@ LightTablePreview::LightTablePreview(TQWidget *parent) // ------------------------------------------------------------ - connect(d->cornerButton, TQT_SIGNAL(pressed()), - this, TQT_SLOT(slotCornerButtonPressed())); + connect(d->cornerButton, TQ_SIGNAL(pressed()), + this, TQ_SLOT(slotCornerButtonPressed())); - connect(this, TQT_SIGNAL(signalRightButtonClicked()), - this, TQT_SLOT(slotContextMenu())); + connect(this, TQ_SIGNAL(signalRightButtonClicked()), + this, TQ_SLOT(slotContextMenu())); - connect(ThemeEngine::instance(), TQT_SIGNAL(signalThemeChanged()), - this, TQT_SLOT(slotThemeChanged())); + connect(ThemeEngine::instance(), TQ_SIGNAL(signalThemeChanged()), + this, TQ_SLOT(slotThemeChanged())); // ------------------------------------------------------------ @@ -248,14 +248,14 @@ void LightTablePreview::setImagePath(const TQString& path) if (!d->previewThread) { d->previewThread = new PreviewLoadThread(); - connect(d->previewThread, TQT_SIGNAL(signalImageLoaded(const LoadingDescription &, const DImg &)), - this, TQT_SLOT(slotGotImagePreview(const LoadingDescription &, const DImg&))); + connect(d->previewThread, TQ_SIGNAL(signalImageLoaded(const LoadingDescription &, const DImg &)), + this, TQ_SLOT(slotGotImagePreview(const LoadingDescription &, const DImg&))); } if (!d->previewPreloadThread) { d->previewPreloadThread = new PreviewLoadThread(); - connect(d->previewPreloadThread, TQT_SIGNAL(signalImageLoaded(const LoadingDescription &, const DImg &)), - this, TQT_SLOT(slotNextPreload())); + connect(d->previewPreloadThread, TQ_SIGNAL(signalImageLoaded(const LoadingDescription &, const DImg &)), + this, TQ_SLOT(slotNextPreload())); } if (d->loadFullImageSize) @@ -405,11 +405,11 @@ void LightTablePreview::slotContextMenu() popmenu.insertItem(i18n("Assign Tag"), assignTagsMenu); int i = popmenu.insertItem(i18n("Remove Tag"), removeTagsMenu); - connect(assignTagsMenu, TQT_SIGNAL(signalTagActivated(int)), - this, TQT_SLOT(slotAssignTag(int))); + connect(assignTagsMenu, TQ_SIGNAL(signalTagActivated(int)), + this, TQ_SLOT(slotAssignTag(int))); - connect(removeTagsMenu, TQT_SIGNAL(signalTagActivated(int)), - this, TQT_SLOT(slotRemoveTag(int))); + connect(removeTagsMenu, TQ_SIGNAL(signalTagActivated(int)), + this, TQ_SLOT(slotRemoveTag(int))); AlbumDB* db = AlbumManager::instance()->albumDB(); if (!db->hasTags( idList )) @@ -421,8 +421,8 @@ void LightTablePreview::slotContextMenu() ratingMenu = new RatingPopupMenu(); - connect(ratingMenu, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotAssignRating(int))); + connect(ratingMenu, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotAssignRating(int))); popmenu.insertItem(i18n("Assign Rating"), ratingMenu); @@ -547,11 +547,11 @@ void LightTablePreview::slotCornerButtonPressed() pan->setRegionSelection(r); pan->setMouseFocus(); - connect(pan, TQT_SIGNAL(signalSelectionMoved(const TQRect&, bool)), - this, TQT_SLOT(slotPanIconSelectionMoved(const TQRect&, bool))); + connect(pan, TQ_SIGNAL(signalSelectionMoved(const TQRect&, bool)), + this, TQ_SLOT(slotPanIconSelectionMoved(const TQRect&, bool))); - connect(pan, TQT_SIGNAL(signalHiden()), - this, TQT_SLOT(slotPanIconHiden())); + connect(pan, TQ_SIGNAL(signalHiden()), + this, TQ_SLOT(slotPanIconHiden())); TQPoint g = mapToGlobal(viewport()->pos()); g.setX(g.x()+ viewport()->size().width()); diff --git a/digikam/utilities/lighttable/lighttableview.cpp b/digikam/utilities/lighttable/lighttableview.cpp index 70bd0007..51f45ab5 100644 --- a/digikam/utilities/lighttable/lighttableview.cpp +++ b/digikam/utilities/lighttable/lighttableview.cpp @@ -87,55 +87,55 @@ LightTableView::LightTableView(TQWidget *parent) // Left panel connections ------------------------------------------------ - connect(d->leftPreview, TQT_SIGNAL(signalZoomFactorChanged(double)), - this, TQT_SIGNAL(signalLeftZoomFactorChanged(double))); + connect(d->leftPreview, TQ_SIGNAL(signalZoomFactorChanged(double)), + this, TQ_SIGNAL(signalLeftZoomFactorChanged(double))); - connect(d->leftPreview, TQT_SIGNAL(contentsMoving(int, int)), - this, TQT_SLOT(slotLeftContentsMoved(int, int))); + connect(d->leftPreview, TQ_SIGNAL(contentsMoving(int, int)), + this, TQ_SLOT(slotLeftContentsMoved(int, int))); - connect(d->leftPreview, TQT_SIGNAL(signalSlideShow()), - this, TQT_SIGNAL(signalSlideShow())); + connect(d->leftPreview, TQ_SIGNAL(signalSlideShow()), + this, TQ_SIGNAL(signalSlideShow())); - connect(d->leftPreview, TQT_SIGNAL(signalDeleteItem(ImageInfo*)), - this, TQT_SIGNAL(signalDeleteItem(ImageInfo*))); + connect(d->leftPreview, TQ_SIGNAL(signalDeleteItem(ImageInfo*)), + this, TQ_SIGNAL(signalDeleteItem(ImageInfo*))); - connect(d->leftPreview, TQT_SIGNAL(signalEditItem(ImageInfo*)), - this, TQT_SIGNAL(signalEditItem(ImageInfo*))); + connect(d->leftPreview, TQ_SIGNAL(signalEditItem(ImageInfo*)), + this, TQ_SIGNAL(signalEditItem(ImageInfo*))); - connect(d->leftPreview, TQT_SIGNAL(signalDroppedItems(const ImageInfoList&)), - this, TQT_SIGNAL(signalLeftDroppedItems(const ImageInfoList&))); + connect(d->leftPreview, TQ_SIGNAL(signalDroppedItems(const ImageInfoList&)), + this, TQ_SIGNAL(signalLeftDroppedItems(const ImageInfoList&))); - connect(d->leftPreview, TQT_SIGNAL(signalPreviewLoaded(bool)), - this, TQT_SLOT(slotLeftPreviewLoaded(bool))); + connect(d->leftPreview, TQ_SIGNAL(signalPreviewLoaded(bool)), + this, TQ_SLOT(slotLeftPreviewLoaded(bool))); - connect(d->leftPreview, TQT_SIGNAL(signalLeftButtonClicked()), - this, TQT_SIGNAL(signalLeftPanelLeftButtonClicked())); + connect(d->leftPreview, TQ_SIGNAL(signalLeftButtonClicked()), + this, TQ_SIGNAL(signalLeftPanelLeftButtonClicked())); // Right panel connections ------------------------------------------------ - connect(d->rightPreview, TQT_SIGNAL(signalZoomFactorChanged(double)), - this, TQT_SIGNAL(signalRightZoomFactorChanged(double))); + connect(d->rightPreview, TQ_SIGNAL(signalZoomFactorChanged(double)), + this, TQ_SIGNAL(signalRightZoomFactorChanged(double))); - connect(d->rightPreview, TQT_SIGNAL(contentsMoving(int, int)), - this, TQT_SLOT(slotRightContentsMoved(int, int))); + connect(d->rightPreview, TQ_SIGNAL(contentsMoving(int, int)), + this, TQ_SLOT(slotRightContentsMoved(int, int))); - connect(d->rightPreview, TQT_SIGNAL(signalDeleteItem(ImageInfo*)), - this, TQT_SIGNAL(signalDeleteItem(ImageInfo*))); + connect(d->rightPreview, TQ_SIGNAL(signalDeleteItem(ImageInfo*)), + this, TQ_SIGNAL(signalDeleteItem(ImageInfo*))); - connect(d->rightPreview, TQT_SIGNAL(signalEditItem(ImageInfo*)), - this, TQT_SIGNAL(signalEditItem(ImageInfo*))); + connect(d->rightPreview, TQ_SIGNAL(signalEditItem(ImageInfo*)), + this, TQ_SIGNAL(signalEditItem(ImageInfo*))); - connect(d->rightPreview, TQT_SIGNAL(signalDroppedItems(const ImageInfoList&)), - this, TQT_SIGNAL(signalRightDroppedItems(const ImageInfoList&))); + connect(d->rightPreview, TQ_SIGNAL(signalDroppedItems(const ImageInfoList&)), + this, TQ_SIGNAL(signalRightDroppedItems(const ImageInfoList&))); - connect(d->rightPreview, TQT_SIGNAL(signalSlideShow()), - this, TQT_SIGNAL(signalSlideShow())); + connect(d->rightPreview, TQ_SIGNAL(signalSlideShow()), + this, TQ_SIGNAL(signalSlideShow())); - connect(d->rightPreview, TQT_SIGNAL(signalPreviewLoaded(bool)), - this, TQT_SLOT(slotRightPreviewLoaded(bool))); + connect(d->rightPreview, TQ_SIGNAL(signalPreviewLoaded(bool)), + this, TQ_SLOT(slotRightPreviewLoaded(bool))); - connect(d->rightPreview, TQT_SIGNAL(signalLeftButtonClicked()), - this, TQT_SIGNAL(signalRightPanelLeftButtonClicked())); + connect(d->rightPreview, TQ_SIGNAL(signalLeftButtonClicked()), + this, TQ_SIGNAL(signalRightPanelLeftButtonClicked())); } LightTableView::~LightTableView() @@ -324,21 +324,21 @@ void LightTableView::slotLeftContentsMoved(int x, int y) { if (d->syncPreview && !d->leftLoading) { - disconnect(d->rightPreview, TQT_SIGNAL(signalZoomFactorChanged(double)), - this, TQT_SIGNAL(signalRightZoomFactorChanged(double))); + disconnect(d->rightPreview, TQ_SIGNAL(signalZoomFactorChanged(double)), + this, TQ_SIGNAL(signalRightZoomFactorChanged(double))); - disconnect(d->rightPreview, TQT_SIGNAL(contentsMoving(int, int)), - this, TQT_SLOT(slotRightContentsMoved(int, int))); + disconnect(d->rightPreview, TQ_SIGNAL(contentsMoving(int, int)), + this, TQ_SLOT(slotRightContentsMoved(int, int))); setRightZoomFactor(d->leftPreview->zoomFactor()); emit signalRightZoomFactorChanged(d->leftPreview->zoomFactor()); d->rightPreview->setContentsPos(x, y); - connect(d->rightPreview, TQT_SIGNAL(signalZoomFactorChanged(double)), - this, TQT_SIGNAL(signalRightZoomFactorChanged(double))); + connect(d->rightPreview, TQ_SIGNAL(signalZoomFactorChanged(double)), + this, TQ_SIGNAL(signalRightZoomFactorChanged(double))); - connect(d->rightPreview, TQT_SIGNAL(contentsMoving(int, int)), - this, TQT_SLOT(slotRightContentsMoved(int, int))); + connect(d->rightPreview, TQ_SIGNAL(contentsMoving(int, int)), + this, TQ_SLOT(slotRightContentsMoved(int, int))); } } @@ -346,22 +346,22 @@ void LightTableView::slotRightContentsMoved(int x, int y) { if (d->syncPreview && !d->rightLoading) { - disconnect(d->leftPreview, TQT_SIGNAL(signalZoomFactorChanged(double)), - this, TQT_SIGNAL(signalLeftZoomFactorChanged(double))); + disconnect(d->leftPreview, TQ_SIGNAL(signalZoomFactorChanged(double)), + this, TQ_SIGNAL(signalLeftZoomFactorChanged(double))); - disconnect(d->leftPreview, TQT_SIGNAL(contentsMoving(int, int)), - this, TQT_SLOT(slotLeftContentsMoved(int, int))); + disconnect(d->leftPreview, TQ_SIGNAL(contentsMoving(int, int)), + this, TQ_SLOT(slotLeftContentsMoved(int, int))); setLeftZoomFactor(d->rightPreview->zoomFactor()); emit signalLeftZoomFactorChanged(d->rightPreview->zoomFactor()); d->leftPreview->setContentsPos(x, y); - connect(d->leftPreview, TQT_SIGNAL(signalZoomFactorChanged(double)), - this, TQT_SIGNAL(signalLeftZoomFactorChanged(double))); + connect(d->leftPreview, TQ_SIGNAL(signalZoomFactorChanged(double)), + this, TQ_SIGNAL(signalLeftZoomFactorChanged(double))); - connect(d->leftPreview, TQT_SIGNAL(contentsMoving(int, int)), - this, TQT_SLOT(slotLeftContentsMoved(int, int))); + connect(d->leftPreview, TQ_SIGNAL(contentsMoving(int, int)), + this, TQ_SLOT(slotLeftContentsMoved(int, int))); } } diff --git a/digikam/utilities/lighttable/lighttablewindow.cpp b/digikam/utilities/lighttable/lighttablewindow.cpp index 57e965f1..58409aef 100644 --- a/digikam/utilities/lighttable/lighttablewindow.cpp +++ b/digikam/utilities/lighttable/lighttablewindow.cpp @@ -236,210 +236,210 @@ void LightTableWindow::setupStatusBar() void LightTableWindow::setupConnections() { - connect(d->statusProgressBar, TQT_SIGNAL(signalCancelButtonPressed()), - this, TQT_SLOT(slotProgressBarCancelButtonPressed())); + connect(d->statusProgressBar, TQ_SIGNAL(signalCancelButtonPressed()), + this, TQ_SLOT(slotProgressBarCancelButtonPressed())); - connect(ThemeEngine::instance(), TQT_SIGNAL(signalThemeChanged()), - this, TQT_SLOT(slotThemeChanged())); + connect(ThemeEngine::instance(), TQ_SIGNAL(signalThemeChanged()), + this, TQ_SLOT(slotThemeChanged())); // Thumbs bar connections --------------------------------------- - connect(d->barView, TQT_SIGNAL(signalSetItemOnLeftPanel(ImageInfo*)), - this, TQT_SLOT(slotSetItemOnLeftPanel(ImageInfo*))); + connect(d->barView, TQ_SIGNAL(signalSetItemOnLeftPanel(ImageInfo*)), + this, TQ_SLOT(slotSetItemOnLeftPanel(ImageInfo*))); - connect(d->barView, TQT_SIGNAL(signalSetItemOnRightPanel(ImageInfo*)), - this, TQT_SLOT(slotSetItemOnRightPanel(ImageInfo*))); + connect(d->barView, TQ_SIGNAL(signalSetItemOnRightPanel(ImageInfo*)), + this, TQ_SLOT(slotSetItemOnRightPanel(ImageInfo*))); - connect(d->barView, TQT_SIGNAL(signalRemoveItem(ImageInfo*)), - this, TQT_SLOT(slotRemoveItem(ImageInfo*))); + connect(d->barView, TQ_SIGNAL(signalRemoveItem(ImageInfo*)), + this, TQ_SLOT(slotRemoveItem(ImageInfo*))); - connect(d->barView, TQT_SIGNAL(signalEditItem(ImageInfo*)), - this, TQT_SLOT(slotEditItem(ImageInfo*))); + connect(d->barView, TQ_SIGNAL(signalEditItem(ImageInfo*)), + this, TQ_SLOT(slotEditItem(ImageInfo*))); - connect(d->barView, TQT_SIGNAL(signalClearAll()), - this, TQT_SLOT(slotClearItemsList())); + connect(d->barView, TQ_SIGNAL(signalClearAll()), + this, TQ_SLOT(slotClearItemsList())); - connect(d->barView, TQT_SIGNAL(signalLightTableBarItemSelected(ImageInfo*)), - this, TQT_SLOT(slotItemSelected(ImageInfo*))); + connect(d->barView, TQ_SIGNAL(signalLightTableBarItemSelected(ImageInfo*)), + this, TQ_SLOT(slotItemSelected(ImageInfo*))); - connect(d->barView, TQT_SIGNAL(signalDroppedItems(const ImageInfoList&)), - this, TQT_SLOT(slotThumbbarDroppedItems(const ImageInfoList&))); + connect(d->barView, TQ_SIGNAL(signalDroppedItems(const ImageInfoList&)), + this, TQ_SLOT(slotThumbbarDroppedItems(const ImageInfoList&))); // Zoom bars connections ----------------------------------------- - connect(d->leftZoomBar, TQT_SIGNAL(signalZoomMinusClicked()), - d->previewView, TQT_SLOT(slotDecreaseLeftZoom())); + connect(d->leftZoomBar, TQ_SIGNAL(signalZoomMinusClicked()), + d->previewView, TQ_SLOT(slotDecreaseLeftZoom())); - connect(d->leftZoomBar, TQT_SIGNAL(signalZoomPlusClicked()), - d->previewView, TQT_SLOT(slotIncreaseLeftZoom())); + connect(d->leftZoomBar, TQ_SIGNAL(signalZoomPlusClicked()), + d->previewView, TQ_SLOT(slotIncreaseLeftZoom())); - connect(d->leftZoomBar, TQT_SIGNAL(signalZoomSliderChanged(int)), - d->previewView, TQT_SLOT(slotLeftZoomSliderChanged(int))); + connect(d->leftZoomBar, TQ_SIGNAL(signalZoomSliderChanged(int)), + d->previewView, TQ_SLOT(slotLeftZoomSliderChanged(int))); - connect(d->rightZoomBar, TQT_SIGNAL(signalZoomMinusClicked()), - d->previewView, TQT_SLOT(slotDecreaseRightZoom())); + connect(d->rightZoomBar, TQ_SIGNAL(signalZoomMinusClicked()), + d->previewView, TQ_SLOT(slotDecreaseRightZoom())); - connect(d->rightZoomBar, TQT_SIGNAL(signalZoomPlusClicked()), - d->previewView, TQT_SLOT(slotIncreaseRightZoom())); + connect(d->rightZoomBar, TQ_SIGNAL(signalZoomPlusClicked()), + d->previewView, TQ_SLOT(slotIncreaseRightZoom())); - connect(d->rightZoomBar, TQT_SIGNAL(signalZoomSliderChanged(int)), - d->previewView, TQT_SLOT(slotRightZoomSliderChanged(int))); + connect(d->rightZoomBar, TQ_SIGNAL(signalZoomSliderChanged(int)), + d->previewView, TQ_SLOT(slotRightZoomSliderChanged(int))); // View connections --------------------------------------------- - connect(d->previewView, TQT_SIGNAL(signalLeftZoomFactorChanged(double)), - this, TQT_SLOT(slotLeftZoomFactorChanged(double))); + connect(d->previewView, TQ_SIGNAL(signalLeftZoomFactorChanged(double)), + this, TQ_SLOT(slotLeftZoomFactorChanged(double))); - connect(d->previewView, TQT_SIGNAL(signalRightZoomFactorChanged(double)), - this, TQT_SLOT(slotRightZoomFactorChanged(double))); + connect(d->previewView, TQ_SIGNAL(signalRightZoomFactorChanged(double)), + this, TQ_SLOT(slotRightZoomFactorChanged(double))); - connect(d->previewView, TQT_SIGNAL(signalEditItem(ImageInfo*)), - this, TQT_SLOT(slotEditItem(ImageInfo*))); + connect(d->previewView, TQ_SIGNAL(signalEditItem(ImageInfo*)), + this, TQ_SLOT(slotEditItem(ImageInfo*))); - connect(d->previewView, TQT_SIGNAL(signalDeleteItem(ImageInfo*)), - this, TQT_SLOT(slotDeleteItem(ImageInfo*))); + connect(d->previewView, TQ_SIGNAL(signalDeleteItem(ImageInfo*)), + this, TQ_SLOT(slotDeleteItem(ImageInfo*))); - connect(d->previewView, TQT_SIGNAL(signalSlideShow()), - this, TQT_SLOT(slotToggleSlideShow())); + connect(d->previewView, TQ_SIGNAL(signalSlideShow()), + this, TQ_SLOT(slotToggleSlideShow())); - connect(d->previewView, TQT_SIGNAL(signalLeftDroppedItems(const ImageInfoList&)), - this, TQT_SLOT(slotLeftDroppedItems(const ImageInfoList&))); + connect(d->previewView, TQ_SIGNAL(signalLeftDroppedItems(const ImageInfoList&)), + this, TQ_SLOT(slotLeftDroppedItems(const ImageInfoList&))); - connect(d->previewView, TQT_SIGNAL(signalRightDroppedItems(const ImageInfoList&)), - this, TQT_SLOT(slotRightDroppedItems(const ImageInfoList&))); + connect(d->previewView, TQ_SIGNAL(signalRightDroppedItems(const ImageInfoList&)), + this, TQ_SLOT(slotRightDroppedItems(const ImageInfoList&))); - connect(d->previewView, TQT_SIGNAL(signalToggleOnSyncPreview(bool)), - this, TQT_SLOT(slotToggleOnSyncPreview(bool))); + connect(d->previewView, TQ_SIGNAL(signalToggleOnSyncPreview(bool)), + this, TQ_SLOT(slotToggleOnSyncPreview(bool))); - connect(d->previewView, TQT_SIGNAL(signalLeftPreviewLoaded(bool)), - this, TQT_SLOT(slotLeftPreviewLoaded(bool))); + connect(d->previewView, TQ_SIGNAL(signalLeftPreviewLoaded(bool)), + this, TQ_SLOT(slotLeftPreviewLoaded(bool))); - connect(d->previewView, TQT_SIGNAL(signalRightPreviewLoaded(bool)), - this, TQT_SLOT(slotRightPreviewLoaded(bool))); + connect(d->previewView, TQ_SIGNAL(signalRightPreviewLoaded(bool)), + this, TQ_SLOT(slotRightPreviewLoaded(bool))); - connect(d->previewView, TQT_SIGNAL(signalLeftPanelLeftButtonClicked()), - this, TQT_SLOT(slotLeftPanelLeftButtonClicked())); + connect(d->previewView, TQ_SIGNAL(signalLeftPanelLeftButtonClicked()), + this, TQ_SLOT(slotLeftPanelLeftButtonClicked())); - connect(d->previewView, TQT_SIGNAL(signalRightPanelLeftButtonClicked()), - this, TQT_SLOT(slotRightPanelLeftButtonClicked())); + connect(d->previewView, TQ_SIGNAL(signalRightPanelLeftButtonClicked()), + this, TQ_SLOT(slotRightPanelLeftButtonClicked())); } void LightTableWindow::setupActions() { // -- Standard 'File' menu actions --------------------------------------------- - d->backwardAction = KStdAction::back(this, TQT_SLOT(slotBackward()), + d->backwardAction = KStdAction::back(this, TQ_SLOT(slotBackward()), actionCollection(), "lighttable_backward"); d->backwardAction->setEnabled(false); - d->forwardAction = KStdAction::forward(this, TQT_SLOT(slotForward()), + d->forwardAction = KStdAction::forward(this, TQ_SLOT(slotForward()), actionCollection(), "lighttable_forward"); d->forwardAction->setEnabled(false); d->firstAction = new TDEAction(i18n("&First"), "go-first", TDEStdAccel::shortcut( TDEStdAccel::Home), - this, TQT_SLOT(slotFirst()), + this, TQ_SLOT(slotFirst()), actionCollection(), "lighttable_first"); d->firstAction->setEnabled(false); d->lastAction = new TDEAction(i18n("&Last"), "go-last", TDEStdAccel::shortcut( TDEStdAccel::End), - this, TQT_SLOT(slotLast()), + this, TQ_SLOT(slotLast()), actionCollection(), "lighttable_last"); d->lastAction->setEnabled(false); d->setItemLeftAction = new TDEAction(i18n("On Left"), "go-previous", - CTRL+Key_L, this, TQT_SLOT(slotSetItemLeft()), + CTRL+Key_L, this, TQ_SLOT(slotSetItemLeft()), actionCollection(), "lighttable_setitemleft"); d->setItemLeftAction->setEnabled(false); d->setItemLeftAction->setWhatsThis(i18n("Show item on left panel")); d->setItemRightAction = new TDEAction(i18n("On Right"), "go-next", - CTRL+Key_R, this, TQT_SLOT(slotSetItemRight()), + CTRL+Key_R, this, TQ_SLOT(slotSetItemRight()), actionCollection(), "lighttable_setitemright"); d->setItemRightAction->setEnabled(false); d->setItemRightAction->setWhatsThis(i18n("Show item on right panel")); d->editItemAction = new TDEAction(i18n("Edit"), "editimage", - Key_F4, this, TQT_SLOT(slotEditItem()), + Key_F4, this, TQ_SLOT(slotEditItem()), actionCollection(), "lighttable_edititem"); d->editItemAction->setEnabled(false); d->removeItemAction = new TDEAction(i18n("Remove item from LightTable"), "window-close", - CTRL+Key_K, this, TQT_SLOT(slotRemoveItem()), + CTRL+Key_K, this, TQ_SLOT(slotRemoveItem()), actionCollection(), "lighttable_removeitem"); d->removeItemAction->setEnabled(false); d->clearListAction = new TDEAction(i18n("Remove all items from LightTable"), "editshred", - CTRL+SHIFT+Key_K, this, TQT_SLOT(slotClearItemsList()), + CTRL+SHIFT+Key_K, this, TQ_SLOT(slotClearItemsList()), actionCollection(), "lighttable_clearlist"); d->clearListAction->setEnabled(false); d->fileDeleteAction = new TDEAction(i18n("Move to Trash"), "edittrash", Key_Delete, - this, TQT_SLOT(slotDeleteItem()), + this, TQ_SLOT(slotDeleteItem()), actionCollection(), "lighttable_filedelete"); d->fileDeleteAction->setEnabled(false); - KStdAction::close(this, TQT_SLOT(close()), actionCollection(), "lighttable_close"); + KStdAction::close(this, TQ_SLOT(close()), actionCollection(), "lighttable_close"); // -- Standard 'View' menu actions --------------------------------------------- d->syncPreviewAction = new TDEToggleAction(i18n("Synchronize"), "goto", CTRL+SHIFT+Key_Y, this, - TQT_SLOT(slotToggleSyncPreview()), + TQ_SLOT(slotToggleSyncPreview()), actionCollection(), "lighttable_syncpreview"); d->syncPreviewAction->setEnabled(false); d->syncPreviewAction->setWhatsThis(i18n("Synchronize preview from left and right panels")); d->navigateByPairAction = new TDEToggleAction(i18n("By Pair"), "preferences-system", CTRL+SHIFT+Key_P, this, - TQT_SLOT(slotToggleNavigateByPair()), + TQ_SLOT(slotToggleNavigateByPair()), actionCollection(), "lighttable_navigatebypair"); d->navigateByPairAction->setEnabled(false); d->navigateByPairAction->setWhatsThis(i18n("Navigate by pair with all items")); - d->zoomPlusAction = KStdAction::zoomIn(d->previewView, TQT_SLOT(slotIncreaseZoom()), + d->zoomPlusAction = KStdAction::zoomIn(d->previewView, TQ_SLOT(slotIncreaseZoom()), actionCollection(), "lighttable_zoomplus"); d->zoomPlusAction->setEnabled(false); - d->zoomMinusAction = KStdAction::zoomOut(d->previewView, TQT_SLOT(slotDecreaseZoom()), + d->zoomMinusAction = KStdAction::zoomOut(d->previewView, TQ_SLOT(slotDecreaseZoom()), actionCollection(), "lighttable_zoomminus"); d->zoomMinusAction->setEnabled(false); d->zoomTo100percents = new TDEAction(i18n("Zoom to 100%"), "zoom-original", ALT+CTRL+Key_0, // NOTE: Photoshop 7 use ALT+CTRL+0. - this, TQT_SLOT(slotZoomTo100Percents()), + this, TQ_SLOT(slotZoomTo100Percents()), actionCollection(), "lighttable_zoomto100percents"); d->zoomFitToWindowAction = new TDEAction(i18n("Fit to &Window"), "view_fit_window", - CTRL+SHIFT+Key_E, this, TQT_SLOT(slotFitToWindow()), + CTRL+SHIFT+Key_E, this, TQ_SLOT(slotFitToWindow()), actionCollection(), "lighttable_zoomfit2window"); // Do not use std KDE action for full screen because action text is too large for app. toolbar. d->fullScreenAction = new TDEToggleAction(i18n("Full Screen"), "view-fullscreen", CTRL+SHIFT+Key_F, this, - TQT_SLOT(slotToggleFullScreen()), + TQ_SLOT(slotToggleFullScreen()), actionCollection(), "lighttable_fullscreen"); d->fullScreenAction->setWhatsThis(i18n("Toggle the window to full screen mode")); d->slideShowAction = new TDEAction(i18n("Slideshow"), "slideshow", Key_F9, - this, TQT_SLOT(slotToggleSlideShow()), + this, TQ_SLOT(slotToggleSlideShow()), actionCollection(),"lighttable_slideshow"); // -- Standard 'Configure' menu actions ---------------------------------------- - d->showMenuBarAction = KStdAction::showMenubar(this, TQT_SLOT(slotShowMenuBar()), actionCollection()); + d->showMenuBarAction = KStdAction::showMenubar(this, TQ_SLOT(slotShowMenuBar()), actionCollection()); - KStdAction::keyBindings(this, TQT_SLOT(slotEditKeys()), actionCollection()); - KStdAction::configureToolbars(this, TQT_SLOT(slotConfToolbars()), actionCollection()); - KStdAction::preferences(this, TQT_SLOT(slotSetup()), actionCollection()); + KStdAction::keyBindings(this, TQ_SLOT(slotEditKeys()), actionCollection()); + KStdAction::configureToolbars(this, TQ_SLOT(slotConfToolbars()), actionCollection()); + KStdAction::preferences(this, TQ_SLOT(slotSetup()), actionCollection()); // ----------------------------------------------------------------------------------------- d->themeMenuAction = new TDESelectAction(i18n("&Themes"), 0, actionCollection(), "theme_menu"); - connect(d->themeMenuAction, TQT_SIGNAL(activated(const TQString&)), - this, TQT_SLOT(slotChangeTheme(const TQString&))); + connect(d->themeMenuAction, TQ_SIGNAL(activated(const TQString&)), + this, TQ_SLOT(slotChangeTheme(const TQString&))); d->themeMenuAction->setItems(ThemeEngine::instance()->themeNames()); slotThemeChanged(); @@ -449,13 +449,13 @@ void LightTableWindow::setupActions() d->donateMoneyAction = new TDEAction(i18n("Donate..."), 0, 0, - this, TQT_SLOT(slotDonateMoney()), + this, TQ_SLOT(slotDonateMoney()), actionCollection(), "lighttable_donatemoney"); d->contributeAction = new TDEAction(i18n("Contribute..."), 0, 0, - this, TQT_SLOT(slotContribute()), + this, TQ_SLOT(slotContribute()), actionCollection(), "lighttable_contribute"); @@ -463,7 +463,7 @@ void LightTableWindow::setupActions() "kdcraw", 0, this, - TQT_SLOT(slotRawCameraList()), + TQ_SLOT(slotRawCameraList()), actionCollection(), "lighttable_rawcameralist"); @@ -477,22 +477,22 @@ void LightTableWindow::setupActions() // -- Rating actions --------------------------------------------------------------- d->star0 = new TDEAction(i18n("Assign Rating \"No Stars\""), CTRL+Key_0, - d->barView, TQT_SLOT(slotAssignRatingNoStar()), + d->barView, TQ_SLOT(slotAssignRatingNoStar()), actionCollection(), "lighttable_ratenostar"); d->star1 = new TDEAction(i18n("Assign Rating \"One Star\""), CTRL+Key_1, - d->barView, TQT_SLOT(slotAssignRatingOneStar()), + d->barView, TQ_SLOT(slotAssignRatingOneStar()), actionCollection(), "lighttable_rateonestar"); d->star2 = new TDEAction(i18n("Assign Rating \"Two Stars\""), CTRL+Key_2, - d->barView, TQT_SLOT(slotAssignRatingTwoStar()), + d->barView, TQ_SLOT(slotAssignRatingTwoStar()), actionCollection(), "lighttable_ratetwostar"); d->star3 = new TDEAction(i18n("Assign Rating \"Three Stars\""), CTRL+Key_3, - d->barView, TQT_SLOT(slotAssignRatingThreeStar()), + d->barView, TQ_SLOT(slotAssignRatingThreeStar()), actionCollection(), "lighttable_ratethreestar"); d->star4 = new TDEAction(i18n("Assign Rating \"Four Stars\""), CTRL+Key_4, - d->barView, TQT_SLOT(slotAssignRatingFourStar()), + d->barView, TQ_SLOT(slotAssignRatingFourStar()), actionCollection(), "lighttable_ratefourstar"); d->star5 = new TDEAction(i18n("Assign Rating \"Five Stars\""), CTRL+Key_5, - d->barView, TQT_SLOT(slotAssignRatingFiveStar()), + d->barView, TQ_SLOT(slotAssignRatingFiveStar()), actionCollection(), "lighttable_ratefivestar"); // --------------------------------------------------------------------------------- @@ -508,42 +508,42 @@ void LightTableWindow::setupAccelerators() d->accelerators->insert("Exit fullscreen", i18n("Exit Fullscreen mode"), i18n("Exit fullscreen viewing mode"), - Key_Escape, this, TQT_SLOT(slotEscapePressed()), + Key_Escape, this, TQ_SLOT(slotEscapePressed()), false, true); d->accelerators->insert("Next Image Key_Space", i18n("Next Image"), i18n("Load Next Image"), - Key_Space, this, TQT_SLOT(slotForward()), + Key_Space, this, TQ_SLOT(slotForward()), false, true); d->accelerators->insert("Previous Image SHIFT+Key_Space", i18n("Previous Image"), i18n("Load Previous Image"), - SHIFT+Key_Space, this, TQT_SLOT(slotBackward()), + SHIFT+Key_Space, this, TQ_SLOT(slotBackward()), false, true); d->accelerators->insert("Previous Image Key_Backspace", i18n("Previous Image"), i18n("Load Previous Image"), - Key_Backspace, this, TQT_SLOT(slotBackward()), + Key_Backspace, this, TQ_SLOT(slotBackward()), false, true); d->accelerators->insert("Next Image Key_Next", i18n("Next Image"), i18n("Load Next Image"), - Key_Next, this, TQT_SLOT(slotForward()), + Key_Next, this, TQ_SLOT(slotForward()), false, true); d->accelerators->insert("Previous Image Key_Prior", i18n("Previous Image"), i18n("Load Previous Image"), - Key_Prior, this, TQT_SLOT(slotBackward()), + Key_Prior, this, TQ_SLOT(slotBackward()), false, true); d->accelerators->insert("Zoom Plus Key_Plus", i18n("Zoom in"), i18n("Zoom in on image"), - Key_Plus, d->previewView, TQT_SLOT(slotIncreaseZoom()), + Key_Plus, d->previewView, TQ_SLOT(slotIncreaseZoom()), false, true); d->accelerators->insert("Zoom Plus Key_Minus", i18n("Zoom out"), i18n("Zoom out from image"), - Key_Minus, d->previewView, TQT_SLOT(slotDecreaseZoom()), + Key_Minus, d->previewView, TQ_SLOT(slotDecreaseZoom()), false, true); } @@ -1481,7 +1481,7 @@ void LightTableWindow::plugActionAccel(TDEAction* action) action->whatsThis(), action->shortcut(), action, - TQT_SLOT(activate())); + TQ_SLOT(activate())); } void LightTableWindow::unplugActionAccel(TDEAction* action) @@ -1511,8 +1511,8 @@ void LightTableWindow::slotConfToolbars() saveMainWindowSettings(TDEGlobal::config(), "LightTable Settings"); KEditToolbar dlg(factory(), this); - connect(&dlg, TQT_SIGNAL(newToolbarConfig()), - this, TQT_SLOT(slotNewToolbarConfig())); + connect(&dlg, TQ_SIGNAL(newToolbarConfig()), + this, TQ_SLOT(slotNewToolbarConfig())); dlg.exec(); } diff --git a/digikam/utilities/setup/cameraselection.cpp b/digikam/utilities/setup/cameraselection.cpp index e1bd9fe6..2cf2635c 100644 --- a/digikam/utilities/setup/cameraselection.cpp +++ b/digikam/utilities/setup/cameraselection.cpp @@ -218,29 +218,29 @@ CameraSelection::CameraSelection( TQWidget* parent ) // Connections -------------------------------------------------- - disconnect(link, TQT_SIGNAL(linkClicked(const TQString &)), - link, TQT_SLOT(openLink(const TQString &))); + disconnect(link, TQ_SIGNAL(linkClicked(const TQString &)), + link, TQ_SLOT(openLink(const TQString &))); - connect(link, TQT_SIGNAL(linkClicked(const TQString &)), - this, TQT_SLOT(slotUMSCameraLinkUsed())); + connect(link, TQ_SIGNAL(linkClicked(const TQString &)), + this, TQ_SLOT(slotUMSCameraLinkUsed())); - disconnect(link2, TQT_SIGNAL(linkClicked(const TQString &)), - link2, TQT_SLOT(openLink(const TQString &))); + disconnect(link2, TQ_SIGNAL(linkClicked(const TQString &)), + link2, TQ_SLOT(openLink(const TQString &))); - connect(link2, TQT_SIGNAL(linkClicked(const TQString &)), - this, TQT_SLOT(slotPTPCameraLinkUsed())); + connect(link2, TQ_SIGNAL(linkClicked(const TQString &)), + this, TQ_SLOT(slotPTPCameraLinkUsed())); - connect(d->listView, TQT_SIGNAL(selectionChanged(TQListViewItem *)), - this, TQT_SLOT(slotSelectionChanged(TQListViewItem *))); + connect(d->listView, TQ_SIGNAL(selectionChanged(TQListViewItem *)), + this, TQ_SLOT(slotSelectionChanged(TQListViewItem *))); - connect(d->portButtonGroup, TQT_SIGNAL(clicked(int)), - this, TQT_SLOT(slotPortChanged())); + connect(d->portButtonGroup, TQ_SIGNAL(clicked(int)), + this, TQ_SLOT(slotPortChanged())); - connect(this, TQT_SIGNAL(okClicked()), - this, TQT_SLOT(slotOkClicked())); + connect(this, TQ_SIGNAL(okClicked()), + this, TQ_SLOT(slotOkClicked())); - connect(d->searchBar, TQT_SIGNAL(signalTextChanged(const TQString&)), - this, TQT_SLOT(slotSearchTextChanged(const TQString&))); + connect(d->searchBar, TQ_SIGNAL(signalTextChanged(const TQString&)), + this, TQ_SLOT(slotSearchTextChanged(const TQString&))); // Initialize -------------------------------------------------- diff --git a/digikam/utilities/setup/setup.cpp b/digikam/utilities/setup/setup.cpp index 7450d608..bd47796f 100644 --- a/digikam/utilities/setup/setup.cpp +++ b/digikam/utilities/setup/setup.cpp @@ -199,8 +199,8 @@ Setup::Setup(TQWidget* parent, const char* name, Setup::Page page) BarIcon("misc", TDEIcon::SizeMedium)); d->miscPage = new SetupMisc(d->page_misc); - connect(this, TQT_SIGNAL(okClicked()), - this, TQT_SLOT(slotOkClicked()) ); + connect(this, TQ_SIGNAL(okClicked()), + this, TQ_SLOT(slotOkClicked()) ); if (page != LastPageUsed) showPage((int) page); diff --git a/digikam/utilities/setup/setupcamera.cpp b/digikam/utilities/setup/setupcamera.cpp index f6a3b7b7..1b8d0bb8 100644 --- a/digikam/utilities/setup/setupcamera.cpp +++ b/digikam/utilities/setup/setupcamera.cpp @@ -135,23 +135,23 @@ SetupCamera::SetupCamera( TQWidget* parent ) // ------------------------------------------------------------- - connect(gphotoLogoLabel, TQT_SIGNAL(leftClickedURL(const TQString&)), - this, TQT_SLOT(processGphotoURL(const TQString&))); + connect(gphotoLogoLabel, TQ_SIGNAL(leftClickedURL(const TQString&)), + this, TQ_SLOT(processGphotoURL(const TQString&))); - connect(d->listView, TQT_SIGNAL(selectionChanged()), - this, TQT_SLOT(slotSelectionChanged())); + connect(d->listView, TQ_SIGNAL(selectionChanged()), + this, TQ_SLOT(slotSelectionChanged())); - connect(d->addButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotAddCamera())); + connect(d->addButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotAddCamera())); - connect(d->removeButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotRemoveCamera())); + connect(d->removeButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotRemoveCamera())); - connect(d->editButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotEditCamera())); + connect(d->editButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotEditCamera())); - connect(d->autoDetectButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotAutoDetectCamera())); + connect(d->autoDetectButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotAutoDetectCamera())); // Add cameras -------------------------------------- @@ -200,9 +200,9 @@ void SetupCamera::slotAddCamera() { CameraSelection *select = new CameraSelection; - connect(select, TQT_SIGNAL(signalOkClicked(const TQString&, const TQString&, + connect(select, TQ_SIGNAL(signalOkClicked(const TQString&, const TQString&, const TQString&, const TQString&)), - this, TQT_SLOT(slotAddedCamera(const TQString&, const TQString&, + this, TQ_SLOT(slotAddedCamera(const TQString&, const TQString&, const TQString&, const TQString&))); select->show(); @@ -224,9 +224,9 @@ void SetupCamera::slotEditCamera() CameraSelection *select = new CameraSelection; select->setCamera(item->text(0), item->text(1), item->text(2), item->text(3)); - connect(select, TQT_SIGNAL(signalOkClicked(const TQString&, const TQString&, + connect(select, TQ_SIGNAL(signalOkClicked(const TQString&, const TQString&, const TQString&, const TQString&)), - this, TQT_SLOT(slotEditedCamera(const TQString&, const TQString&, + this, TQ_SLOT(slotEditedCamera(const TQString&, const TQString&, const TQString&, const TQString&))); select->show(); diff --git a/digikam/utilities/setup/setupcollections.cpp b/digikam/utilities/setup/setupcollections.cpp index d63db17d..10a25c31 100644 --- a/digikam/utilities/setup/setupcollections.cpp +++ b/digikam/utilities/setup/setupcollections.cpp @@ -114,14 +114,14 @@ SetupCollections::SetupCollections(TQWidget* parent ) // -------------------------------------------------------- - connect(d->albumCollectionBox, TQT_SIGNAL(selectionChanged()), - this, TQT_SLOT(slotCollectionSelectionChanged())); + connect(d->albumCollectionBox, TQ_SIGNAL(selectionChanged()), + this, TQ_SLOT(slotCollectionSelectionChanged())); - connect(d->addCollectionButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotAddCollection())); + connect(d->addCollectionButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotAddCollection())); - connect(d->delCollectionButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotDelCollection())); + connect(d->delCollectionButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotDelCollection())); // -------------------------------------------------------- diff --git a/digikam/utilities/setup/setupdcraw.cpp b/digikam/utilities/setup/setupdcraw.cpp index 929e1d4f..57f9cb2d 100644 --- a/digikam/utilities/setup/setupdcraw.cpp +++ b/digikam/utilities/setup/setupdcraw.cpp @@ -82,8 +82,8 @@ SetupDcraw::SetupDcraw(TQWidget* parent ) layout->addWidget(d->dcrawSettings); layout->addStretch(); - connect(d->dcrawSettings, TQT_SIGNAL(signalSixteenBitsImageToggled(bool)), - this, TQT_SLOT(slotSixteenBitsImageToggled(bool))); + connect(d->dcrawSettings, TQ_SIGNAL(signalSixteenBitsImageToggled(bool)), + this, TQ_SLOT(slotSixteenBitsImageToggled(bool))); readSettings(); } diff --git a/digikam/utilities/setup/setupeditor.cpp b/digikam/utilities/setup/setupeditor.cpp index 56f72e17..337b5655 100644 --- a/digikam/utilities/setup/setupeditor.cpp +++ b/digikam/utilities/setup/setupeditor.cpp @@ -130,8 +130,8 @@ SetupEditor::SetupEditor(TQWidget* parent ) // -------------------------------------------------------- - connect(d->themebackgroundColor, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotThemeBackgroundColor(bool))); + connect(d->themebackgroundColor, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotThemeBackgroundColor(bool))); readSettings(); } diff --git a/digikam/utilities/setup/setupgeneral.cpp b/digikam/utilities/setup/setupgeneral.cpp index 0ea33960..2a8db22c 100644 --- a/digikam/utilities/setup/setupgeneral.cpp +++ b/digikam/utilities/setup/setupgeneral.cpp @@ -119,11 +119,11 @@ SetupGeneral::SetupGeneral(TQWidget* parent, KDialogBase* dialog ) "

Write access is required for this path and do not use a " "remote path here, like an NFS mounted file system.")); - connect(d->albumPathEdit, TQT_SIGNAL(urlSelected(const TQString &)), - this, TQT_SLOT(slotChangeAlbumPath(const TQString &))); + connect(d->albumPathEdit, TQ_SIGNAL(urlSelected(const TQString &)), + this, TQ_SLOT(slotChangeAlbumPath(const TQString &))); - connect(d->albumPathEdit, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(slotPathEdited(const TQString&)) ); + connect(d->albumPathEdit, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(slotPathEdited(const TQString&)) ); layout->addWidget(albumPathBox); diff --git a/digikam/utilities/setup/setupicc.cpp b/digikam/utilities/setup/setupicc.cpp index fcba0d40..b08750c1 100644 --- a/digikam/utilities/setup/setupicc.cpp +++ b/digikam/utilities/setup/setupicc.cpp @@ -339,29 +339,29 @@ SetupICC::SetupICC(TQWidget* parent, KDialogBase* dialog ) // -------------------------------------------------------- - connect(d->managedView, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotToggleManagedView(bool))); + connect(d->managedView, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotToggleManagedView(bool))); - connect(lcmsLogoLabel, TQT_SIGNAL(leftClickedURL(const TQString&)), - this, TQT_SLOT(processLCMSURL(const TQString&))); + connect(lcmsLogoLabel, TQ_SIGNAL(leftClickedURL(const TQString&)), + this, TQ_SLOT(processLCMSURL(const TQString&))); - connect(d->enableColorManagement, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotToggledWidgets(bool))); + connect(d->enableColorManagement, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotToggledWidgets(bool))); - connect(d->infoProofProfiles, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotClickedProof()) ); + connect(d->infoProofProfiles, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotClickedProof()) ); - connect(d->infoInProfiles, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotClickedIn()) ); + connect(d->infoInProfiles, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotClickedIn()) ); - connect(d->infoMonitorProfiles, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotClickedMonitor()) ); + connect(d->infoMonitorProfiles, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotClickedMonitor()) ); - connect(d->infoWorkProfiles, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotClickedWork())); + connect(d->infoWorkProfiles, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotClickedWork())); - connect(d->defaultPathKU, TQT_SIGNAL(urlSelected(const TQString&)), - this, TQT_SLOT(slotFillCombos(const TQString&))); + connect(d->defaultPathKU, TQ_SIGNAL(urlSelected(const TQString&)), + this, TQ_SLOT(slotFillCombos(const TQString&))); // -------------------------------------------------------- diff --git a/digikam/utilities/setup/setupmetadata.cpp b/digikam/utilities/setup/setupmetadata.cpp index 41878bcb..e4f74ede 100644 --- a/digikam/utilities/setup/setupmetadata.cpp +++ b/digikam/utilities/setup/setupmetadata.cpp @@ -172,11 +172,11 @@ SetupMetadata::SetupMetadata(TQWidget* parent ) // -------------------------------------------------------- - connect(exiv2LogoLabel, TQT_SIGNAL(leftClickedURL(const TQString&)), - this, TQT_SLOT(processExiv2URL(const TQString&))); + connect(exiv2LogoLabel, TQ_SIGNAL(leftClickedURL(const TQString&)), + this, TQ_SLOT(processExiv2URL(const TQString&))); - connect(d->ExifRotateBox, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotExifAutoRotateToggled(bool))); + connect(d->ExifRotateBox, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotExifAutoRotateToggled(bool))); } SetupMetadata::~SetupMetadata() diff --git a/digikam/utilities/setup/setupmime.cpp b/digikam/utilities/setup/setupmime.cpp index 1d54c825..6ac069e3 100644 --- a/digikam/utilities/setup/setupmime.cpp +++ b/digikam/utilities/setup/setupmime.cpp @@ -208,17 +208,17 @@ SetupMime::SetupMime(TQWidget* parent ) // -------------------------------------------------------- - connect(d->revertImageFileFilterBtn, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotRevertImageFileFilter())); + connect(d->revertImageFileFilterBtn, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotRevertImageFileFilter())); - connect(d->revertMovieFileFilterBtn, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotRevertMovieFileFilter())); + connect(d->revertMovieFileFilterBtn, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotRevertMovieFileFilter())); - connect(d->revertAudioFileFilterBtn, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotRevertAudioFileFilter())); + connect(d->revertAudioFileFilterBtn, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotRevertAudioFileFilter())); - connect(d->revertRawFileFilterBtn, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotRevertRawFileFilter())); + connect(d->revertRawFileFilterBtn, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotRevertRawFileFilter())); // -------------------------------------------------------- diff --git a/digikam/utilities/setup/setuptooltip.cpp b/digikam/utilities/setup/setuptooltip.cpp index d4f00dda..2a5c62c8 100644 --- a/digikam/utilities/setup/setuptooltip.cpp +++ b/digikam/utilities/setup/setuptooltip.cpp @@ -187,14 +187,14 @@ SetupToolTip::SetupToolTip(TQWidget* parent) // -------------------------------------------------------- - connect(d->showToolTipsBox, TQT_SIGNAL(toggled(bool)), - d->fileSettingBox, TQT_SLOT(setEnabled(bool))); + connect(d->showToolTipsBox, TQ_SIGNAL(toggled(bool)), + d->fileSettingBox, TQ_SLOT(setEnabled(bool))); - connect(d->showToolTipsBox, TQT_SIGNAL(toggled(bool)), - d->photoSettingBox, TQT_SLOT(setEnabled(bool))); + connect(d->showToolTipsBox, TQ_SIGNAL(toggled(bool)), + d->photoSettingBox, TQ_SLOT(setEnabled(bool))); - connect(d->showToolTipsBox, TQT_SIGNAL(toggled(bool)), - d->digikamSettingBox, TQT_SLOT(setEnabled(bool))); + connect(d->showToolTipsBox, TQ_SIGNAL(toggled(bool)), + d->digikamSettingBox, TQ_SLOT(setEnabled(bool))); // -------------------------------------------------------- diff --git a/digikam/utilities/slideshow/slideshow.cpp b/digikam/utilities/slideshow/slideshow.cpp index a97ad193..33cf9edc 100644 --- a/digikam/utilities/slideshow/slideshow.cpp +++ b/digikam/utilities/slideshow/slideshow.cpp @@ -128,20 +128,20 @@ SlideShow::SlideShow(const SlideShowSettings& settings) if (!d->settings.loop) d->toolBar->setEnabledPrev(false); - connect(d->toolBar, TQT_SIGNAL(signalPause()), - this, TQT_SLOT(slotPause())); + connect(d->toolBar, TQ_SIGNAL(signalPause()), + this, TQ_SLOT(slotPause())); - connect(d->toolBar, TQT_SIGNAL(signalPlay()), - this, TQT_SLOT(slotPlay())); + connect(d->toolBar, TQ_SIGNAL(signalPlay()), + this, TQ_SLOT(slotPlay())); - connect(d->toolBar, TQT_SIGNAL(signalNext()), - this, TQT_SLOT(slotNext())); + connect(d->toolBar, TQ_SIGNAL(signalNext()), + this, TQ_SLOT(slotNext())); - connect(d->toolBar, TQT_SIGNAL(signalPrev()), - this, TQT_SLOT(slotPrev())); + connect(d->toolBar, TQ_SIGNAL(signalPrev()), + this, TQ_SLOT(slotPrev())); - connect(d->toolBar, TQT_SIGNAL(signalClose()), - this, TQT_SLOT(slotClose())); + connect(d->toolBar, TQ_SIGNAL(signalClose()), + this, TQ_SLOT(slotClose())); // --------------------------------------------------------------- @@ -150,14 +150,14 @@ SlideShow::SlideShow(const SlideShowSettings& settings) d->timer = new TQTimer(this); d->mouseMoveTimer = new TQTimer(this); - connect(d->previewThread, TQT_SIGNAL(signalImageLoaded(const LoadingDescription &, const DImg &)), - this, TQT_SLOT(slotGotImagePreview(const LoadingDescription &, const DImg&))); + connect(d->previewThread, TQ_SIGNAL(signalImageLoaded(const LoadingDescription &, const DImg &)), + this, TQ_SLOT(slotGotImagePreview(const LoadingDescription &, const DImg&))); - connect(d->mouseMoveTimer, TQT_SIGNAL(timeout()), - this, TQT_SLOT(slotMouseMoveTimeOut())); + connect(d->mouseMoveTimer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(slotMouseMoveTimeOut())); - connect(d->timer, TQT_SIGNAL(timeout()), - this, TQT_SLOT(slotTimeOut())); + connect(d->timer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(slotTimeOut())); d->timer->start(10, true); diff --git a/digikam/utilities/slideshow/toolbar.cpp b/digikam/utilities/slideshow/toolbar.cpp index 9f7023ae..dbecd4ad 100644 --- a/digikam/utilities/slideshow/toolbar.cpp +++ b/digikam/utilities/slideshow/toolbar.cpp @@ -90,23 +90,23 @@ ToolBar::ToolBar(TQWidget* parent) adjustSize(); setSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Fixed); - connect(d->playBtn, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotPlayBtnToggled())); + connect(d->playBtn, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotPlayBtnToggled())); - connect(d->nextBtn, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotNexPrevClicked())); + connect(d->nextBtn, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotNexPrevClicked())); - connect(d->prevBtn, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotNexPrevClicked())); + connect(d->prevBtn, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotNexPrevClicked())); - connect(d->nextBtn, TQT_SIGNAL(clicked()), - this, TQT_SIGNAL(signalNext())); + connect(d->nextBtn, TQ_SIGNAL(clicked()), + this, TQ_SIGNAL(signalNext())); - connect(d->prevBtn, TQT_SIGNAL(clicked()), - this, TQT_SIGNAL(signalPrev())); + connect(d->prevBtn, TQ_SIGNAL(clicked()), + this, TQ_SIGNAL(signalPrev())); - connect(d->stopBtn, TQT_SIGNAL(clicked()), - this, TQT_SIGNAL(signalClose())); + connect(d->stopBtn, TQ_SIGNAL(clicked()), + this, TQ_SIGNAL(signalClose())); } ToolBar::~ToolBar() diff --git a/doc/digikam/Shortcuts b/doc/digikam/Shortcuts index 5d083a4a..1cf31973 100644 --- a/doc/digikam/Shortcuts +++ b/doc/digikam/Shortcuts @@ -7,9 +7,9 @@ m_autoCorrectionAction = new KAction(i18n("Auto-Correction..."), "autocorrection m_invertAction = new KAction(i18n("Invert"), "invertimage", ./imageplugins/imageplugin_core.cpp: CTRL+Key_I, // NOTE: Photoshop 7 use CTRL+I. ./digikam/digikamapp.cpp: m_accelerators->insert("Copy Album Items Selection CTRL+Key_C", i18n("Copy Album Items Selection"), -./digikam/digikamapp.cpp: CTRL+Key_C, this, SIGNAL(signalCopyAlbumItemsSelection()), +./digikam/digikamapp.cpp: CTRL+Key_C, this, TQ_SIGNAL(signalCopyAlbumItemsSelection()), ./digikam/digikamapp.cpp: m_accelerators->insert("Paste Album Items Selection CTRL+Key_V", i18n("Paste Album Items Selection"), -./digikam/digikamapp.cpp: CTRL+Key_V, this, SIGNAL(signalPasteAlbumItemsSelection()), +./digikam/digikamapp.cpp: CTRL+Key_V, this, TQ_SIGNAL(signalPasteAlbumItemsSelection()), ./digikam/digikamapp.cpp: CTRL+Key_I, ./digikam/digikamapp.cpp: CTRL+Key_A, ./digikam/digikamapp.cpp: CTRL+Key_U, @@ -26,25 +26,25 @@ m_invertAction = new KAction(i18n("Invert"), "invertimage", ./showfoto/showfoto.cpp: CTRL+SHIFT+Key_O, ./showfoto/showfoto.cpp: CTRL+Key_T, ./utilities/imageeditor/editor/editorwindow.cpp: CTRL+Key_P, -./utilities/imageeditor/editor/editorwindow.cpp: CTRL+SHIFT+Key_A, this, SLOT(slotToggleAutoZoom()), +./utilities/imageeditor/editor/editorwindow.cpp: CTRL+SHIFT+Key_A, this, TQ_SLOT(slotToggleAutoZoom()), ./utilities/imageeditor/editor/editorwindow.cpp: CTRL+SHIFT+Key_F, this, ./utilities/imageeditor/editor/editorwindow.cpp: CTRL+Key_X, ./utilities/imageeditor/editor/editorwindow.cpp: d->flipHorzAction = new KAction(i18n("Horizontally"), 0, CTRL+Key_Asterisk, ./utilities/imageeditor/editor/editorwindow.cpp: d->flipVertAction = new KAction(i18n("Vertically"), 0, CTRL+Key_Slash, -./utilities/imageeditor/editor/editorwindow.cpp: 0, CTRL+Key_9, m_canvas, SLOT(slotRotate90()), -./utilities/imageeditor/editor/editorwindow.cpp: 0, CTRL+Key_8, m_canvas, SLOT(slotRotate180()), -./utilities/imageeditor/editor/editorwindow.cpp: 0, CTRL+Key_7, m_canvas, SLOT(slotRotate270()), +./utilities/imageeditor/editor/editorwindow.cpp: 0, CTRL+Key_9, m_canvas, TQ_SLOT(slotRotate90()), +./utilities/imageeditor/editor/editorwindow.cpp: 0, CTRL+Key_8, m_canvas, TQ_SLOT(slotRotate180()), +./utilities/imageeditor/editor/editorwindow.cpp: 0, CTRL+Key_7, m_canvas, TQ_SLOT(slotRotate270()), ./utilities/imageeditor/editor/imagewindow.cpp: d->star0 = new KAction(i18n("Assign Rating \"No Star\""), CTRL+Key_0, ./utilities/imageeditor/editor/imagewindow.cpp: d->star1 = new KAction(i18n("Assign Rating \"One Star\""), CTRL+Key_1, ./utilities/imageeditor/editor/imagewindow.cpp: d->star2 = new KAction(i18n("Assign Rating \"Two Stars\""), CTRL+Key_2, ./utilities/imageeditor/editor/imagewindow.cpp: d->star3 = new KAction(i18n("Assign Rating \"Three Stars\""), CTRL+Key_3, ./utilities/imageeditor/editor/imagewindow.cpp: d->star4 = new KAction(i18n("Assign Rating \"Four Stars\""), CTRL+Key_4, ./utilities/imageeditor/editor/imagewindow.cpp: d->star5 = new KAction(i18n("Assign Rating \"Five Stars\""), CTRL+Key_5, -./utilities/cameragui/cameraui.cpp: d->imageMenu->insertItem(i18n("Select &All"), d->view, SLOT(slotSelectAll()), CTRL+Key_A, 0); -./utilities/cameragui/cameraui.cpp: d->imageMenu->insertItem(i18n("Select N&one"), d->view, SLOT(slotSelectNone()), CTRL+Key_U, 1); -./utilities/cameragui/cameraui.cpp: d->imageMenu->insertItem(i18n("&Invert Selection"), d->view, SLOT(slotSelectInvert()), CTRL+Key_Asterisk, 2); -./utilities/cameragui/cameraui.cpp: d->imageMenu->insertItem(i18n("Increase Thumbs"), this, SLOT(slotIncreaseThumbSize()), CTRL+Key_Plus, 4); -./utilities/cameragui/cameraui.cpp: d->imageMenu->insertItem(i18n("Decrease Thumbs"), this, SLOT(slotDecreaseThumbSize()), CTRL+Key_Minus, 5); +./utilities/cameragui/cameraui.cpp: d->imageMenu->insertItem(i18n("Select &All"), d->view, TQ_SLOT(slotSelectAll()), CTRL+Key_A, 0); +./utilities/cameragui/cameraui.cpp: d->imageMenu->insertItem(i18n("Select N&one"), d->view, TQ_SLOT(slotSelectNone()), CTRL+Key_U, 1); +./utilities/cameragui/cameraui.cpp: d->imageMenu->insertItem(i18n("&Invert Selection"), d->view, TQ_SLOT(slotSelectInvert()), CTRL+Key_Asterisk, 2); +./utilities/cameragui/cameraui.cpp: d->imageMenu->insertItem(i18n("Increase Thumbs"), this, TQ_SLOT(slotIncreaseThumbSize()), CTRL+Key_Plus, 4); +./utilities/cameragui/cameraui.cpp: d->imageMenu->insertItem(i18n("Decrease Thumbs"), this, TQ_SLOT(slotDecreaseThumbSize()), CTRL+Key_Minus, 5); ./ChangeLog: rotate an image in editor, use CTRL+7, CTRL+8, CTRL+9 to prevent ./ChangeLog: - 2 keyboard shorcuts can be used to change thumbs size : CTRL+ ./ChangeLog: CTRL+0/1/2/3/4/5 from Image Editor -- cgit v1.2.1