Rename a number of classes to enhance compatibility with KDE4

pull/1/head
Timothy Pearson 11 years ago
parent 9011422715
commit 94b1c83afd

@ -10446,7 +10446,7 @@ v0.9.3-beta1 - 2007-010-08
* branches/extragear/trinity/graphics/digikam/digikam/digikamapp.cpp: * branches/extragear/trinity/graphics/digikam/digikam/digikamapp.cpp:
Fix the bug that after an exit from full screen mode, the hidden Fix the bug that after an exit from full screen mode, the hidden
menu & tabs would be saved by KMainWindow as default setting. menu & tabs would be saved by TDEMainWindow as default setting.
The first patch from Arnd was correct, except one problem: all The first patch from Arnd was correct, except one problem: all
the showing of widgets works the showing of widgets works
by events, and obviously needs to return to the event loop to be by events, and obviously needs to return to the event loop to be
@ -12112,7 +12112,7 @@ v0.9.3-beta1 - 2007-010-08
2007-06-19 13:30 cgilles 2007-06-19 13:30 cgilles
* branches/extragear/trinity/graphics/digikam/utilities/setup/setupcollections.cpp: * branches/extragear/trinity/graphics/digikam/utilities/setup/setupcollections.cpp:
QListBox ==> KListBox QListBox ==> TDEListBox
2007-06-19 12:18 cgilles 2007-06-19 12:18 cgilles
@ -18395,8 +18395,8 @@ v0.9.2-beta1 - 2007-05-04
2007-03-29 08:42 cgilles 2007-03-29 08:42 cgilles
* trunk/extragear/graphics/digikam/utilities/imageeditor/canvas/canvas.cpp: * trunk/extragear/graphics/digikam/utilities/imageeditor/canvas/canvas.cpp:
digikam from trunk : use KPopupFrame::hide() instead digikam from trunk : use TDEPopupFrame::hide() instead
KPopupFrame::close(int). Sound like some version of close() TDEPopupFrame::close(int). Sound like some version of close()
method are uncomplete with any KDE version. method are uncomplete with any KDE version.
CCBUGS: 143578 CCBUGS: 143578
@ -23830,7 +23830,7 @@ v0.9.1-beta1 - 11-Feb-2007
- move action from Settings menu to View menu - move action from Settings menu to View menu
- use KStdAction::fullScreen() on KDE 3.2 or newer (improved - use KStdAction::fullScreen() on KDE 3.2 or newer (improved
toggle support) toggle support)
- use KToggleAction on older KDE - use TDEToggleAction on older KDE
This makes it consistent with Editor, ShowFoto and other KDE This makes it consistent with Editor, ShowFoto and other KDE
applications. applications.
@ -27754,7 +27754,7 @@ v0.9.0-rc1 - 21-Nov-2006
2006-10-26 08:17 +0000 [r599195] cgilles 2006-10-26 08:17 +0000 [r599195] cgilles
* digikam/digikam/digikamapp.cpp, digikam/digikam/digikamapp.h: * digikam/digikam/digikamapp.cpp, digikam/digikam/digikamapp.h:
using KPopupMenu instead QPopupMenu using TDEPopupMenu instead QPopupMenu
2006-10-26 06:24 +0000 [r599179] cgilles 2006-10-26 06:24 +0000 [r599179] cgilles
@ -29009,7 +29009,7 @@ v0.9.0-beta2 - 09/09/2006
2006-09-06 13:09 cgilles 2006-09-06 13:09 cgilles
* trunk/extragear/graphics/digikam/libs/imageproperties/imagedescedittab.cpp: * trunk/extragear/graphics/digikam/libs/imageproperties/imagedescedittab.cpp:
digikam from trunk :using KPopupMenu instead QPopupMenu digikam from trunk :using TDEPopupMenu instead QPopupMenu
2006-09-06 13:07 cgilles 2006-09-06 13:07 cgilles
@ -29033,7 +29033,7 @@ v0.9.0-beta2 - 09/09/2006
2006-09-06 13:04 cgilles 2006-09-06 13:04 cgilles
* trunk/extragear/graphics/digikam/utilities/cameragui/cameraiconview.cpp: * trunk/extragear/graphics/digikam/utilities/cameragui/cameraiconview.cpp:
digikam from trunk :using KPopupMenu instead QPopupMenu digikam from trunk :using TDEPopupMenu instead QPopupMenu
2006-09-06 11:57 mwiesweg 2006-09-06 11:57 mwiesweg
@ -29087,25 +29087,25 @@ v0.9.0-beta2 - 09/09/2006
* trunk/extragear/graphics/digikam/digikam/albumfolderview.cpp, * trunk/extragear/graphics/digikam/digikam/albumfolderview.cpp,
trunk/extragear/graphics/digikam/digikam/albumfolderview.h: trunk/extragear/graphics/digikam/digikam/albumfolderview.h:
digikam from trunk :using KPopupMenu instead QPopupMenu digikam from trunk :using TDEPopupMenu instead QPopupMenu
2006-09-05 13:28 cgilles 2006-09-05 13:28 cgilles
* trunk/extragear/graphics/digikam/digikam/tagfilterview.cpp, * trunk/extragear/graphics/digikam/digikam/tagfilterview.cpp,
trunk/extragear/graphics/digikam/digikam/tagfolderview.cpp: trunk/extragear/graphics/digikam/digikam/tagfolderview.cpp:
digikam from trunk :using KPopupMenu instead QPopupMenu digikam from trunk :using TDEPopupMenu instead QPopupMenu
2006-09-05 12:54 cgilles 2006-09-05 12:54 cgilles
* trunk/extragear/graphics/digikam/digikam/digikamapp.cpp, * trunk/extragear/graphics/digikam/digikam/digikamapp.cpp,
trunk/extragear/graphics/digikam/digikam/searchfolderview.cpp, trunk/extragear/graphics/digikam/digikam/searchfolderview.cpp,
trunk/extragear/graphics/digikam/digikam/searchfolderview.h: trunk/extragear/graphics/digikam/digikam/searchfolderview.h:
digikam from trunk :using KPopupMenu instead QPopupMenu digikam from trunk :using TDEPopupMenu instead QPopupMenu
2006-09-05 12:32 cgilles 2006-09-05 12:32 cgilles
* trunk/extragear/graphics/digikam/libs/imageproperties/imagedescedittab.cpp: * trunk/extragear/graphics/digikam/libs/imageproperties/imagedescedittab.cpp:
digikam from trunk :using KPopupMenu instead QPopupMenu digikam from trunk :using TDEPopupMenu instead QPopupMenu
2006-09-05 12:23 cgilles 2006-09-05 12:23 cgilles
@ -29145,7 +29145,7 @@ v0.9.0-beta2 - 09/09/2006
trunk/extragear/graphics/digikam/utilities/cameragui/cameraui.cpp, trunk/extragear/graphics/digikam/utilities/cameragui/cameraui.cpp,
trunk/extragear/graphics/digikam/utilities/cameragui/cameraui.h: trunk/extragear/graphics/digikam/utilities/cameragui/cameraui.h:
digikam from trunk : camera gui : using KPopupMenu instead digikam from trunk : camera gui : using TDEPopupMenu instead
QPopupMenu QPopupMenu
2006-09-05 10:25 cgilles 2006-09-05 10:25 cgilles
@ -29157,13 +29157,13 @@ v0.9.0-beta2 - 09/09/2006
2006-09-05 07:15 cgilles 2006-09-05 07:15 cgilles
* trunk/extragear/graphics/digikam/digikam/tagfilterview.cpp: * trunk/extragear/graphics/digikam/digikam/tagfilterview.cpp:
digikam from trunk :tag filters view: using KPopupMenu instead digikam from trunk :tag filters view: using TDEPopupMenu instead
QPopupMenu again QPopupMenu again
2006-09-05 07:11 cgilles 2006-09-05 07:11 cgilles
* trunk/extragear/graphics/digikam/digikam/tagfilterview.cpp: * trunk/extragear/graphics/digikam/digikam/tagfilterview.cpp:
digikam from trunk :tag filters view: using KPopupMenu instead digikam from trunk :tag filters view: using TDEPopupMenu instead
QPopupMenu QPopupMenu
2006-09-04 11:35 cgilles 2006-09-04 11:35 cgilles
@ -38240,7 +38240,7 @@ v0.9.0-beta1 - 20/07/2006
trunk/extragear/graphics/digikam/utilities/setup/setupcamera.h: trunk/extragear/graphics/digikam/utilities/setup/setupcamera.h:
digikam from trunk : improvement camera setup page : digikam from trunk : improvement camera setup page :
- Using KListView look better than QListView - Using TDEListView look better than QListView
- Add gphoto logo to give more visibility to end users about - Add gphoto logo to give more visibility to end users about
internal camera interface (there is no camera drivers into internal camera interface (there is no camera drivers into
digikam core). digikam core).
@ -40273,7 +40273,7 @@ v0.9.0-beta1 - 20/07/2006
trunk/extragear/graphics/digikam/libs/widgets/metadata/metadatalistviewitem.h: trunk/extragear/graphics/digikam/libs/widgets/metadata/metadatalistviewitem.h:
Mix QListViewItem and KlistViewItem with the same parent is Mix QListViewItem and KlistViewItem with the same parent is
depreaced on KDE lib API. We using KListViewItem at all depreaced on KDE lib API. We using TDEListViewItem at all
2006-03-03 10:39 cgilles 2006-03-03 10:39 cgilles

@ -580,11 +580,11 @@ void AlbumFolderView::slotSelectionChanged()
void AlbumFolderView::slotContextMenu(TQListViewItem *listitem, const TQPoint &, int) void AlbumFolderView::slotContextMenu(TQListViewItem *listitem, const TQPoint &, int)
{ {
KActionMenu menuImport(i18n("Import")); TDEActionMenu menuImport(i18n("Import"));
KActionMenu menuExport(i18n("Export")); TDEActionMenu menuExport(i18n("Export"));
KActionMenu menuKIPIBatch(i18n("Batch Process")); TDEActionMenu menuKIPIBatch(i18n("Batch Process"));
KPopupMenu popmenu(this); TDEPopupMenu popmenu(this);
popmenu.insertTitle(SmallIcon("digikam"), i18n("My Albums")); popmenu.insertTitle(SmallIcon("digikam"), i18n("My Albums"));
popmenu.insertItem(SmallIcon("albumfolder-new"), i18n("New Album..."), 10); popmenu.insertItem(SmallIcon("albumfolder-new"), i18n("New Album..."), 10);
@ -604,11 +604,11 @@ void AlbumFolderView::slotContextMenu(TQListViewItem *listitem, const TQPoint &,
popmenu.insertSeparator(); popmenu.insertSeparator();
// Add KIPI Albums plugins Actions // Add KIPI Albums plugins Actions
KAction *action; TDEAction *action;
const TQPtrList<KAction>& albumActions = DigikamApp::getinstance()->menuAlbumActions(); const TQPtrList<TDEAction>& albumActions = DigikamApp::getinstance()->menuAlbumActions();
if(!albumActions.isEmpty()) if(!albumActions.isEmpty())
{ {
TQPtrListIterator<KAction> it(albumActions); TQPtrListIterator<TDEAction> it(albumActions);
while((action = it.current())) while((action = it.current()))
{ {
action->plug(&popmenu); action->plug(&popmenu);
@ -617,10 +617,10 @@ void AlbumFolderView::slotContextMenu(TQListViewItem *listitem, const TQPoint &,
} }
// Add All Import Actions // Add All Import Actions
const TQPtrList<KAction> importActions = DigikamApp::getinstance()->menuImportActions(); const TQPtrList<TDEAction> importActions = DigikamApp::getinstance()->menuImportActions();
if(!importActions.isEmpty()) if(!importActions.isEmpty())
{ {
TQPtrListIterator<KAction> it3(importActions); TQPtrListIterator<TDEAction> it3(importActions);
while((action = it3.current())) while((action = it3.current()))
{ {
menuImport.insert(action); menuImport.insert(action);
@ -630,10 +630,10 @@ void AlbumFolderView::slotContextMenu(TQListViewItem *listitem, const TQPoint &,
} }
// Add All Export Actions // Add All Export Actions
const TQPtrList<KAction> exportActions = DigikamApp::getinstance()->menuExportActions(); const TQPtrList<TDEAction> exportActions = DigikamApp::getinstance()->menuExportActions();
if(!exportActions.isEmpty()) if(!exportActions.isEmpty())
{ {
TQPtrListIterator<KAction> it4(exportActions); TQPtrListIterator<TDEAction> it4(exportActions);
while((action = it4.current())) while((action = it4.current()))
{ {
menuExport.insert(action); menuExport.insert(action);
@ -643,10 +643,10 @@ void AlbumFolderView::slotContextMenu(TQListViewItem *listitem, const TQPoint &,
} }
// Add KIPI Batch processes plugins Actions // Add KIPI Batch processes plugins Actions
const TQPtrList<KAction>& batchActions = DigikamApp::getinstance()->menuBatchActions(); const TQPtrList<TDEAction>& batchActions = DigikamApp::getinstance()->menuBatchActions();
if(!batchActions.isEmpty()) if(!batchActions.isEmpty())
{ {
TQPtrListIterator<KAction> it2(batchActions); TQPtrListIterator<TDEAction> it2(batchActions);
while((action = it2.current())) while((action = it2.current()))
{ {
menuKIPIBatch.insert(action); menuKIPIBatch.insert(action);
@ -1059,7 +1059,7 @@ void AlbumFolderView::contentsDropEvent(TQDropEvent *e)
== AlbumSettings::ByFolder) == AlbumSettings::ByFolder)
{ {
// TODO: Copy? // TODO: Copy?
KPopupMenu popMenu(this); TDEPopupMenu popMenu(this);
popMenu.insertTitle(SmallIcon("digikam"), i18n("My Albums")); popMenu.insertTitle(SmallIcon("digikam"), i18n("My Albums"));
popMenu.insertItem(SmallIcon("goto"), i18n("&Move Here"), 10); popMenu.insertItem(SmallIcon("goto"), i18n("&Move Here"), 10);
popMenu.insertSeparator(-1); popMenu.insertSeparator(-1);
@ -1158,7 +1158,7 @@ void AlbumFolderView::contentsDropEvent(TQDropEvent *e)
} }
else else
{ {
KPopupMenu popMenu(this); TDEPopupMenu popMenu(this);
popMenu.insertTitle(SmallIcon("digikam"), i18n("My Albums")); popMenu.insertTitle(SmallIcon("digikam"), i18n("My Albums"));
popMenu.insertItem(i18n("Set as Album Thumbnail"), 12); popMenu.insertItem(i18n("Set as Album Thumbnail"), 12);
popMenu.insertSeparator(-1); popMenu.insertSeparator(-1);
@ -1191,7 +1191,7 @@ void AlbumFolderView::contentsDropEvent(TQDropEvent *e)
} }
else else
{ {
KPopupMenu popMenu(this); TDEPopupMenu popMenu(this);
popMenu.insertTitle(SmallIcon("digikam"), i18n("My Albums")); popMenu.insertTitle(SmallIcon("digikam"), i18n("My Albums"));
popMenu.insertItem( SmallIcon("goto"), i18n("&Move Here"), 10 ); popMenu.insertItem( SmallIcon("goto"), i18n("&Move Here"), 10 );
popMenu.insertItem( SmallIcon("editcopy"), i18n("&Copy Here"), 11 ); popMenu.insertItem( SmallIcon("editcopy"), i18n("&Copy Here"), 11 );
@ -1249,7 +1249,7 @@ void AlbumFolderView::contentsDropEvent(TQDropEvent *e)
CameraUI *ui = dynamic_cast<CameraUI*>(e->source()); CameraUI *ui = dynamic_cast<CameraUI*>(e->source());
if (ui) if (ui)
{ {
KPopupMenu popMenu(this); TDEPopupMenu popMenu(this);
popMenu.insertTitle(SmallIcon("digikam"), i18n("My Albums")); popMenu.insertTitle(SmallIcon("digikam"), i18n("My Albums"));
popMenu.insertItem(SmallIcon("down"), i18n("Download from camera"), 10); popMenu.insertItem(SmallIcon("down"), i18n("Download from camera"), 10);
popMenu.insertItem(SmallIcon("down"), i18n("Download && Delete from camera"), 11); popMenu.insertItem(SmallIcon("down"), i18n("Download && Delete from camera"), 11);
@ -1319,7 +1319,7 @@ void AlbumFolderView::contentsDropEvent(TQDropEvent *e)
} }
else else
{ {
KPopupMenu popMenu(this); TDEPopupMenu popMenu(this);
popMenu.insertTitle(SmallIcon("digikam"), i18n("My Albums")); popMenu.insertTitle(SmallIcon("digikam"), i18n("My Albums"));
popMenu.insertItem( SmallIcon("goto"), i18n("&Move Here"), 10 ); popMenu.insertItem( SmallIcon("goto"), i18n("&Move Here"), 10 );
popMenu.insertItem( SmallIcon("editcopy"), i18n("&Copy Here"), 11 ); popMenu.insertItem( SmallIcon("editcopy"), i18n("&Copy Here"), 11 );

@ -524,7 +524,7 @@ void AlbumIconView::slotRightButtonClicked(const TQPoint& pos)
} }
TQPopupMenu popmenu(this); TQPopupMenu popmenu(this);
KAction *paste = KStdAction::paste(TQT_TQOBJECT(this), TQT_SLOT(slotPaste()), 0); TDEAction *paste = KStdAction::paste(TQT_TQOBJECT(this), TQT_SLOT(slotPaste()), 0);
TQMimeSource *data = kapp->clipboard()->data(TQClipboard::Clipboard); TQMimeSource *data = kapp->clipboard()->data(TQClipboard::Clipboard);
if(!data || !TQUriDrag::canDecode(data)) if(!data || !TQUriDrag::canDecode(data))
@ -643,12 +643,12 @@ void AlbumIconView::slotRightButtonClicked(IconItem *item, const TQPoint& pos)
{ {
DDebug() << "Found JPEGLossless plugin" << endl; DDebug() << "Found JPEGLossless plugin" << endl;
KActionPtrList actionList = plugin->actions(); TDEActionPtrList actionList = plugin->actions();
for (KActionPtrList::const_iterator iter = actionList.begin(); for (TDEActionPtrList::const_iterator iter = actionList.begin();
iter != actionList.end(); ++iter) iter != actionList.end(); ++iter)
{ {
KAction* action = *iter; TDEAction* action = *iter;
if (TQString::fromLatin1(action->name()) if (TQString::fromLatin1(action->name())
== TQString::fromLatin1("jpeglossless_rotate")) == TQString::fromLatin1("jpeglossless_rotate"))
@ -682,8 +682,8 @@ void AlbumIconView::slotRightButtonClicked(IconItem *item, const TQPoint& pos)
// -------------------------------------------------------- // --------------------------------------------------------
KAction *copy = KStdAction::copy(TQT_TQOBJECT(this), TQT_SLOT(slotCopy()), 0); TDEAction *copy = KStdAction::copy(TQT_TQOBJECT(this), TQT_SLOT(slotCopy()), 0);
KAction *paste = KStdAction::paste(TQT_TQOBJECT(this), TQT_SLOT(slotPaste()), 0); TDEAction *paste = KStdAction::paste(TQT_TQOBJECT(this), TQT_SLOT(slotPaste()), 0);
TQMimeSource *data = kapp->clipboard()->data(TQClipboard::Clipboard); TQMimeSource *data = kapp->clipboard()->data(TQClipboard::Clipboard);
if(!data || !TQUriDrag::canDecode(data)) if(!data || !TQUriDrag::canDecode(data))
{ {

@ -50,7 +50,7 @@ public:
TQDateTime lastAccess; TQDateTime lastAccess;
KAction *action; TDEAction *action;
bool valid; bool valid;
TQGuardedPtr<CameraUI> currentCameraUI; TQGuardedPtr<CameraUI> currentCameraUI;
@ -64,7 +64,7 @@ CameraType::CameraType()
CameraType::CameraType(const TQString& title, const TQString& model, CameraType::CameraType(const TQString& title, const TQString& model,
const TQString& port, const TQString& path, const TQString& port, const TQString& path,
const TQDateTime& lastAccess, KAction *action) const TQDateTime& lastAccess, TDEAction *action)
{ {
d = new CameraTypePrivate; d = new CameraTypePrivate;
d->title = title; d->title = title;
@ -133,7 +133,7 @@ void CameraType::setLastAccess(const TQDateTime& lastAccess)
d->lastAccess = lastAccess; d->lastAccess = lastAccess;
} }
void CameraType::setAction(KAction *action) void CameraType::setAction(TDEAction *action)
{ {
d->action = action; d->action = action;
} }
@ -173,7 +173,7 @@ TQDateTime CameraType::lastAccess() const
return d->lastAccess; return d->lastAccess;
} }
KAction* CameraType::action() const TDEAction* CameraType::action() const
{ {
return d->action; return d->action;
} }

@ -31,7 +31,7 @@
#include <tqdatetime.h> #include <tqdatetime.h>
#include <tqguardedptr.h> #include <tqguardedptr.h>
class KAction; class TDEAction;
namespace Digikam namespace Digikam
{ {
@ -47,7 +47,7 @@ public:
CameraType(); CameraType();
CameraType(const TQString& title, const TQString& model, CameraType(const TQString& title, const TQString& model,
const TQString& port, const TQString& path, const TQString& port, const TQString& path,
const TQDateTime& lastAccess, KAction* action=0); const TQDateTime& lastAccess, TDEAction* action=0);
~CameraType(); ~CameraType();
CameraType(const CameraType& ctype); CameraType(const CameraType& ctype);
@ -58,7 +58,7 @@ public:
void setPort(const TQString& port); void setPort(const TQString& port);
void setPath(const TQString& path); void setPath(const TQString& path);
void setLastAccess(const TQDateTime& lastAccess); void setLastAccess(const TQDateTime& lastAccess);
void setAction(KAction *action); void setAction(TDEAction *action);
void setValid(bool valid); void setValid(bool valid);
void setCurrentCameraUI(CameraUI *cameraui); void setCurrentCameraUI(CameraUI *cameraui);
@ -67,7 +67,7 @@ public:
TQString port() const; TQString port() const;
TQString path() const; TQString path() const;
TQDateTime lastAccess() const; TQDateTime lastAccess() const;
KAction* action() const; TDEAction* action() const;
bool valid() const; bool valid() const;
CameraUI *currentCameraUI() const; CameraUI *currentCameraUI() const;

@ -109,7 +109,7 @@ namespace Digikam
DigikamApp* DigikamApp::m_instance = 0; DigikamApp* DigikamApp::m_instance = 0;
DigikamApp::DigikamApp() DigikamApp::DigikamApp()
: KMainWindow( 0, "Digikam" ) : TDEMainWindow( 0, "Digikam" )
{ {
d = new DigikamAppPriv; d = new DigikamAppPriv;
m_instance = this; m_instance = this;
@ -136,7 +136,7 @@ DigikamApp::DigikamApp()
AlbumLister::instance(); AlbumLister::instance();
d->cameraMediaList = new KPopupMenu; d->cameraMediaList = new TDEPopupMenu;
connect(d->cameraMediaList, TQT_SIGNAL( aboutToShow() ), connect(d->cameraMediaList, TQT_SIGNAL( aboutToShow() ),
TQT_TQOBJECT(this), TQT_SLOT(slotCameraMediaMenu())); TQT_TQOBJECT(this), TQT_SLOT(slotCameraMediaMenu()));
@ -256,7 +256,7 @@ void DigikamApp::show()
// Display application window. // Display application window.
KMainWindow::show(); TDEMainWindow::show();
// Report errors from ICC repository path. // Report errors from ICC repository path.
@ -293,31 +293,31 @@ void DigikamApp::show()
slotThumbSizeChanged(d->albumSettings->getDefaultIconSize()); slotThumbSizeChanged(d->albumSettings->getDefaultIconSize());
} }
const TQPtrList<KAction>& DigikamApp::menuImageActions() const TQPtrList<TDEAction>& DigikamApp::menuImageActions()
{ {
return d->kipiImageActions; return d->kipiImageActions;
} }
const TQPtrList<KAction>& DigikamApp::menuBatchActions() const TQPtrList<TDEAction>& DigikamApp::menuBatchActions()
{ {
return d->kipiBatchActions; return d->kipiBatchActions;
} }
const TQPtrList<KAction>& DigikamApp::menuAlbumActions() const TQPtrList<TDEAction>& DigikamApp::menuAlbumActions()
{ {
return d->kipiAlbumActions; return d->kipiAlbumActions;
} }
const TQPtrList<KAction> DigikamApp::menuImportActions() const TQPtrList<TDEAction> DigikamApp::menuImportActions()
{ {
TQPtrList<KAction> importMenu; TQPtrList<TDEAction> importMenu;
importMenu = d->kipiFileActionsImport; importMenu = d->kipiFileActionsImport;
importMenu.append( d->albumImportAction ); importMenu.append( d->albumImportAction );
importMenu.append( d->addImagesAction ); importMenu.append( d->addImagesAction );
return importMenu; return importMenu;
} }
const TQPtrList<KAction> DigikamApp::menuExportActions() const TQPtrList<TDEAction> DigikamApp::menuExportActions()
{ {
return d->kipiFileActionsExport; return d->kipiFileActionsExport;
} }
@ -442,7 +442,7 @@ void DigikamApp::setupStatusBar()
void DigikamApp::setupAccelerators() void DigikamApp::setupAccelerators()
{ {
d->accelerators = new KAccel(this); d->accelerators = new TDEAccel(this);
d->accelerators->insert("Exit Preview Mode", i18n("Exit Preview"), d->accelerators->insert("Exit Preview Mode", i18n("Exit Preview"),
i18n("Exit preview mode"), i18n("Exit preview mode"),
@ -499,7 +499,7 @@ void DigikamApp::setupActions()
{ {
// ----------------------------------------------------------------- // -----------------------------------------------------------------
d->cameraMenuAction = new KActionMenu(i18n("&Camera"), d->cameraMenuAction = new TDEActionMenu(i18n("&Camera"),
"digitalcam", "digitalcam",
actionCollection(), actionCollection(),
"camera_menu"); "camera_menu");
@ -507,7 +507,7 @@ void DigikamApp::setupActions()
// ----------------------------------------------------------------- // -----------------------------------------------------------------
d->themeMenuAction = new KSelectAction(i18n("&Themes"), 0, actionCollection(), "theme_menu"); d->themeMenuAction = new TDESelectAction(i18n("&Themes"), 0, actionCollection(), "theme_menu");
connect(d->themeMenuAction, TQT_SIGNAL(activated(const TQString&)), connect(d->themeMenuAction, TQT_SIGNAL(activated(const TQString&)),
TQT_TQOBJECT(this), TQT_SLOT(slotChangeTheme(const TQString&))); TQT_TQOBJECT(this), TQT_SLOT(slotChangeTheme(const TQString&)));
@ -516,7 +516,7 @@ void DigikamApp::setupActions()
// ----------------------------------------------------------------- // -----------------------------------------------------------------
d->backwardActionMenu = new KToolBarPopupAction(i18n("&Back"), d->backwardActionMenu = new TDEToolBarPopupAction(i18n("&Back"),
"back", "back",
ALT+Key_Left, ALT+Key_Left,
TQT_TQOBJECT(d->view), TQT_TQOBJECT(d->view),
@ -531,7 +531,7 @@ void DigikamApp::setupActions()
connect(d->backwardActionMenu->popupMenu(), TQT_SIGNAL(activated(int)), connect(d->backwardActionMenu->popupMenu(), TQT_SIGNAL(activated(int)),
TQT_TQOBJECT(d->view), TQT_SLOT(slotAlbumHistoryBack(int))); TQT_TQOBJECT(d->view), TQT_SLOT(slotAlbumHistoryBack(int)));
d->forwardActionMenu = new KToolBarPopupAction(i18n("Forward"), d->forwardActionMenu = new TDEToolBarPopupAction(i18n("Forward"),
"forward", "forward",
ALT+Key_Right, ALT+Key_Right,
TQT_TQOBJECT(d->view), TQT_TQOBJECT(d->view),
@ -546,16 +546,16 @@ void DigikamApp::setupActions()
connect(d->forwardActionMenu->popupMenu(), TQT_SIGNAL(activated(int)), connect(d->forwardActionMenu->popupMenu(), TQT_SIGNAL(activated(int)),
TQT_TQOBJECT(d->view), TQT_SLOT(slotAlbumHistoryForward(int))); TQT_TQOBJECT(d->view), TQT_SLOT(slotAlbumHistoryForward(int)));
d->newAction = new KAction(i18n("&New..."), d->newAction = new TDEAction(i18n("&New..."),
"albumfolder-new", "albumfolder-new",
KStdAccel::shortcut(KStdAccel::New), TDEStdAccel::shortcut(TDEStdAccel::New),
TQT_TQOBJECT(d->view), TQT_TQOBJECT(d->view),
TQT_SLOT(slotNewAlbum()), TQT_SLOT(slotNewAlbum()),
actionCollection(), actionCollection(),
"album_new"); "album_new");
d->newAction->setWhatsThis(i18n("Creates a new empty Album in the database.")); d->newAction->setWhatsThis(i18n("Creates a new empty Album in the database."));
d->albumSortAction = new KSelectAction(i18n("&Sort Albums"), d->albumSortAction = new TDESelectAction(i18n("&Sort Albums"),
0, 0,
0, 0,
actionCollection(), actionCollection(),
@ -571,7 +571,7 @@ void DigikamApp::setupActions()
sortActionList.append(i18n("By Date")); sortActionList.append(i18n("By Date"));
d->albumSortAction->setItems(sortActionList); d->albumSortAction->setItems(sortActionList);
d->recurseAlbumsAction = new KToggleAction(i18n("Include Album Sub-Tree"), d->recurseAlbumsAction = new TDEToggleAction(i18n("Include Album Sub-Tree"),
0, 0,
TQT_TQOBJECT(this), TQT_TQOBJECT(this),
0, 0,
@ -583,7 +583,7 @@ void DigikamApp::setupActions()
connect(d->recurseAlbumsAction, TQT_SIGNAL(toggled(bool)), connect(d->recurseAlbumsAction, TQT_SIGNAL(toggled(bool)),
TQT_TQOBJECT(this), TQT_SLOT(slotRecurseAlbums(bool))); TQT_TQOBJECT(this), TQT_SLOT(slotRecurseAlbums(bool)));
d->recurseTagsAction = new KToggleAction(i18n("Include Tag Sub-Tree"), d->recurseTagsAction = new TDEToggleAction(i18n("Include Tag Sub-Tree"),
0, 0,
TQT_TQOBJECT(this), TQT_TQOBJECT(this),
0, 0,
@ -595,7 +595,7 @@ void DigikamApp::setupActions()
connect(d->recurseTagsAction, TQT_SIGNAL(toggled(bool)), connect(d->recurseTagsAction, TQT_SIGNAL(toggled(bool)),
TQT_TQOBJECT(this), TQT_SLOT(slotRecurseTags(bool))); TQT_TQOBJECT(this), TQT_SLOT(slotRecurseTags(bool)));
d->deleteAction = new KAction(i18n("Delete"), d->deleteAction = new TDEAction(i18n("Delete"),
"editdelete", "editdelete",
0, 0,
TQT_TQOBJECT(d->view), TQT_TQOBJECT(d->view),
@ -603,7 +603,7 @@ void DigikamApp::setupActions()
actionCollection(), actionCollection(),
"album_delete"); "album_delete");
d->addImagesAction = new KAction( i18n("Add Images..."), d->addImagesAction = new TDEAction( i18n("Add Images..."),
"albumfolder-importimages", "albumfolder-importimages",
CTRL+Key_I, CTRL+Key_I,
TQT_TQOBJECT(this), TQT_TQOBJECT(this),
@ -612,7 +612,7 @@ void DigikamApp::setupActions()
"album_addImages"); "album_addImages");
d->addImagesAction->setWhatsThis(i18n("Adds new items to the current Album.")); d->addImagesAction->setWhatsThis(i18n("Adds new items to the current Album."));
d->albumImportAction = new KAction( i18n("Add Folders..."), d->albumImportAction = new TDEAction( i18n("Add Folders..."),
"albumfolder-importdir", "albumfolder-importdir",
0, 0,
TQT_TQOBJECT(d->view), TQT_TQOBJECT(d->view),
@ -620,7 +620,7 @@ void DigikamApp::setupActions()
actionCollection(), actionCollection(),
"album_importFolder"); "album_importFolder");
d->propsEditAction = new KAction( i18n("Properties..."), d->propsEditAction = new TDEAction( i18n("Properties..."),
"albumfolder-properties", "albumfolder-properties",
0, 0,
TQT_TQOBJECT(d->view), TQT_TQOBJECT(d->view),
@ -629,7 +629,7 @@ void DigikamApp::setupActions()
"album_propsEdit"); "album_propsEdit");
d->propsEditAction->setWhatsThis(i18n("Edit Album Properties and Collection information.")); d->propsEditAction->setWhatsThis(i18n("Edit Album Properties and Collection information."));
d->refreshAlbumAction = new KAction( i18n("Refresh"), d->refreshAlbumAction = new TDEAction( i18n("Refresh"),
"rebuild", "rebuild",
Key_F5, Key_F5,
TQT_TQOBJECT(d->view), TQT_TQOBJECT(d->view),
@ -638,7 +638,7 @@ void DigikamApp::setupActions()
"album_refresh"); "album_refresh");
d->refreshAlbumAction->setWhatsThis(i18n("Refresh all album contents")); d->refreshAlbumAction->setWhatsThis(i18n("Refresh all album contents"));
d->syncAlbumMetadataAction = new KAction( i18n("Synchronize Images with Database"), d->syncAlbumMetadataAction = new TDEAction( i18n("Synchronize Images with Database"),
"rebuild", "rebuild",
0, 0,
TQT_TQOBJECT(d->view), TQT_TQOBJECT(d->view),
@ -649,7 +649,7 @@ void DigikamApp::setupActions()
"album with the contents of the digiKam database " "album with the contents of the digiKam database "
"(image metadata will be over-written with data from the database).")); "(image metadata will be over-written with data from the database)."));
d->openInKonquiAction = new KAction( i18n("Open in File Manager"), d->openInKonquiAction = new TDEAction( i18n("Open in File Manager"),
"konqueror", "konqueror",
0, 0,
TQT_TQOBJECT(d->view), TQT_TQOBJECT(d->view),
@ -659,21 +659,21 @@ void DigikamApp::setupActions()
// ----------------------------------------------------------- // -----------------------------------------------------------
d->newTagAction = new KAction(i18n("New &Tag..."), "tag-new", d->newTagAction = new TDEAction(i18n("New &Tag..."), "tag-new",
0, TQT_TQOBJECT(d->view), TQT_SLOT(slotNewTag()), 0, TQT_TQOBJECT(d->view), TQT_SLOT(slotNewTag()),
actionCollection(), "tag_new"); actionCollection(), "tag_new");
d->editTagAction = new KAction(i18n("Edit Tag Properties..."), "tag-properties", d->editTagAction = new TDEAction(i18n("Edit Tag Properties..."), "tag-properties",
0, TQT_TQOBJECT(d->view), TQT_SLOT(slotEditTag()), 0, TQT_TQOBJECT(d->view), TQT_SLOT(slotEditTag()),
actionCollection(), "tag_edit"); actionCollection(), "tag_edit");
d->deleteTagAction = new KAction(i18n("Delete Tag"), "tag-delete", d->deleteTagAction = new TDEAction(i18n("Delete Tag"), "tag-delete",
0, TQT_TQOBJECT(d->view), TQT_SLOT(slotDeleteTag()), 0, TQT_TQOBJECT(d->view), TQT_SLOT(slotDeleteTag()),
actionCollection(), "tag_delete"); actionCollection(), "tag_delete");
// ----------------------------------------------------------- // -----------------------------------------------------------
d->imagePreviewAction = new KToggleAction(i18n("View..."), d->imagePreviewAction = new TDEToggleAction(i18n("View..."),
"viewimage", "viewimage",
Key_F3, Key_F3,
TQT_TQOBJECT(d->view), TQT_TQOBJECT(d->view),
@ -681,7 +681,7 @@ void DigikamApp::setupActions()
actionCollection(), actionCollection(),
"image_view"); "image_view");
d->imageViewAction = new KAction(i18n("Edit..."), d->imageViewAction = new TDEAction(i18n("Edit..."),
"editimage", "editimage",
Key_F4, Key_F4,
TQT_TQOBJECT(d->view), TQT_TQOBJECT(d->view),
@ -690,7 +690,7 @@ void DigikamApp::setupActions()
"image_edit"); "image_edit");
d->imageViewAction->setWhatsThis(i18n("Open the selected item in the image editor.")); d->imageViewAction->setWhatsThis(i18n("Open the selected item in the image editor."));
d->imageLightTableAction = new KAction(i18n("Place onto Light Table"), d->imageLightTableAction = new TDEAction(i18n("Place onto Light Table"),
"lighttable", "lighttable",
CTRL+Key_L, CTRL+Key_L,
TQT_TQOBJECT(d->view), TQT_TQOBJECT(d->view),
@ -699,7 +699,7 @@ void DigikamApp::setupActions()
"image_lighttable"); "image_lighttable");
d->imageLightTableAction->setWhatsThis(i18n("Place the selected items on the light table thumbbar.")); d->imageLightTableAction->setWhatsThis(i18n("Place the selected items on the light table thumbbar."));
d->imageAddLightTableAction = new KAction(i18n("Add to Light Table"), d->imageAddLightTableAction = new TDEAction(i18n("Add to Light Table"),
"lighttableadd", "lighttableadd",
SHIFT+CTRL+Key_L, SHIFT+CTRL+Key_L,
TQT_TQOBJECT(d->view), TQT_TQOBJECT(d->view),
@ -708,7 +708,7 @@ void DigikamApp::setupActions()
"image_add_to_lighttable"); "image_add_to_lighttable");
d->imageAddLightTableAction->setWhatsThis(i18n("Add selected items to the light table thumbbar.")); d->imageAddLightTableAction->setWhatsThis(i18n("Add selected items to the light table thumbbar."));
d->imageRenameAction = new KAction(i18n("Rename..."), d->imageRenameAction = new TDEAction(i18n("Rename..."),
"pencil", "pencil",
Key_F2, Key_F2,
TQT_TQOBJECT(d->view), TQT_TQOBJECT(d->view),
@ -718,7 +718,7 @@ void DigikamApp::setupActions()
d->imageRenameAction->setWhatsThis(i18n("Change the filename of the currently selected item.")); d->imageRenameAction->setWhatsThis(i18n("Change the filename of the currently selected item."));
// Pop up dialog to ask user whether to move to trash // Pop up dialog to ask user whether to move to trash
d->imageDeleteAction = new KAction(i18n("Delete"), d->imageDeleteAction = new TDEAction(i18n("Delete"),
"edittrash", "edittrash",
Key_Delete, Key_Delete,
TQT_TQOBJECT(d->view), TQT_TQOBJECT(d->view),
@ -727,7 +727,7 @@ void DigikamApp::setupActions()
"image_delete"); "image_delete");
// Pop up dialog to ask user whether to permanently delete // Pop up dialog to ask user whether to permanently delete
d->imageDeletePermanentlyAction = new KAction(i18n("Delete permanently"), d->imageDeletePermanentlyAction = new TDEAction(i18n("Delete permanently"),
"editdelete", "editdelete",
SHIFT+Key_Delete, SHIFT+Key_Delete,
TQT_TQOBJECT(d->view), TQT_TQOBJECT(d->view),
@ -737,7 +737,7 @@ void DigikamApp::setupActions()
// These two actions are hidden, no menu entry, no toolbar entry, no shortcut. // These two actions are hidden, no menu entry, no toolbar entry, no shortcut.
// Power users may add them. // Power users may add them.
d->imageDeletePermanentlyDirectlyAction = new KAction(i18n("Delete permanently without confirmation"), d->imageDeletePermanentlyDirectlyAction = new TDEAction(i18n("Delete permanently without confirmation"),
"editdelete", "editdelete",
0, 0,
TQT_TQOBJECT(d->view), TQT_TQOBJECT(d->view),
@ -745,7 +745,7 @@ void DigikamApp::setupActions()
actionCollection(), actionCollection(),
"image_delete_permanently_directly"); "image_delete_permanently_directly");
d->imageTrashDirectlyAction = new KAction(i18n("Move to trash without confirmation"), d->imageTrashDirectlyAction = new TDEAction(i18n("Move to trash without confirmation"),
"edittrash", "edittrash",
0, 0,
TQT_TQOBJECT(d->view), TQT_TQOBJECT(d->view),
@ -753,7 +753,7 @@ void DigikamApp::setupActions()
actionCollection(), actionCollection(),
"image_trash_directly"); "image_trash_directly");
d->imageSortAction = new KSelectAction(i18n("&Sort Images"), d->imageSortAction = new TDESelectAction(i18n("&Sort Images"),
0, 0,
0, 0,
actionCollection(), actionCollection(),
@ -778,54 +778,54 @@ void DigikamApp::setupActions()
connect(exifOrientationMapper, TQT_SIGNAL(mapped(int) ), connect(exifOrientationMapper, TQT_SIGNAL(mapped(int) ),
TQT_TQOBJECT(d->view), TQT_SLOT(slotImageExifOrientation(int))); TQT_TQOBJECT(d->view), TQT_SLOT(slotImageExifOrientation(int)));
d->imageExifOrientationActionMenu = new KActionMenu(i18n("Adjust Exif orientation tag"), d->imageExifOrientationActionMenu = new TDEActionMenu(i18n("Adjust Exif orientation tag"),
actionCollection(), actionCollection(),
"image_set_exif_orientation"); "image_set_exif_orientation");
d->imageExifOrientationActionMenu->setDelayed(false); d->imageExifOrientationActionMenu->setDelayed(false);
d->imageSetExifOrientation1Action = new KAction(i18n("Normal"), d->imageSetExifOrientation1Action = new TDEAction(i18n("Normal"),
0, 0,
d->imageExifOrientationActionMenu, d->imageExifOrientationActionMenu,
0, 0,
actionCollection(), actionCollection(),
"image_set_exif_orientation_normal"); "image_set_exif_orientation_normal");
d->imageSetExifOrientation2Action = new KAction(i18n("Flipped Horizontally"), d->imageSetExifOrientation2Action = new TDEAction(i18n("Flipped Horizontally"),
0, 0,
d->imageExifOrientationActionMenu, d->imageExifOrientationActionMenu,
0, 0,
actionCollection(), actionCollection(),
"image_set_exif_orientation_flipped_horizontal"); "image_set_exif_orientation_flipped_horizontal");
d->imageSetExifOrientation3Action = new KAction(i18n("Rotated Upside Down"), d->imageSetExifOrientation3Action = new TDEAction(i18n("Rotated Upside Down"),
0, 0,
d->imageExifOrientationActionMenu, d->imageExifOrientationActionMenu,
0, 0,
actionCollection(), actionCollection(),
"image_set_exif_orientation_rotated_upside_down"); "image_set_exif_orientation_rotated_upside_down");
d->imageSetExifOrientation4Action = new KAction(i18n("Flipped Vertically"), d->imageSetExifOrientation4Action = new TDEAction(i18n("Flipped Vertically"),
0, 0,
d->imageExifOrientationActionMenu, d->imageExifOrientationActionMenu,
0, 0,
actionCollection(), actionCollection(),
"image_set_exif_orientation_flipped_vertically"); "image_set_exif_orientation_flipped_vertically");
d->imageSetExifOrientation5Action = new KAction(i18n("Rotated Right / Horiz. Flipped"), d->imageSetExifOrientation5Action = new TDEAction(i18n("Rotated Right / Horiz. Flipped"),
0, 0,
d->imageExifOrientationActionMenu, d->imageExifOrientationActionMenu,
0, 0,
actionCollection(), actionCollection(),
"image_set_exif_orientation_rotated_right_hor_flipped"); "image_set_exif_orientation_rotated_right_hor_flipped");
d->imageSetExifOrientation6Action = new KAction(i18n("Rotated Right"), d->imageSetExifOrientation6Action = new TDEAction(i18n("Rotated Right"),
0, 0,
d->imageExifOrientationActionMenu, d->imageExifOrientationActionMenu,
0, 0,
actionCollection(), actionCollection(),
"image_set_exif_orientation_rotated_right"); "image_set_exif_orientation_rotated_right");
d->imageSetExifOrientation7Action = new KAction(i18n("Rotated Right / Vert. Flipped"), d->imageSetExifOrientation7Action = new TDEAction(i18n("Rotated Right / Vert. Flipped"),
0, 0,
d->imageExifOrientationActionMenu, d->imageExifOrientationActionMenu,
0, 0,
actionCollection(), actionCollection(),
"image_set_exif_orientation_rotated_right_ver_flipped"); "image_set_exif_orientation_rotated_right_ver_flipped");
d->imageSetExifOrientation8Action = new KAction(i18n("Rotated Left"), d->imageSetExifOrientation8Action = new TDEAction(i18n("Rotated Left"),
0, 0,
d->imageExifOrientationActionMenu, d->imageExifOrientationActionMenu,
0, 0,
@ -876,7 +876,7 @@ void DigikamApp::setupActions()
// ----------------------------------------------------------------- // -----------------------------------------------------------------
d->selectAllAction = new KAction(i18n("Select All"), d->selectAllAction = new TDEAction(i18n("Select All"),
0, 0,
CTRL+Key_A, CTRL+Key_A,
TQT_TQOBJECT(d->view), TQT_TQOBJECT(d->view),
@ -884,7 +884,7 @@ void DigikamApp::setupActions()
actionCollection(), actionCollection(),
"selectAll"); "selectAll");
d->selectNoneAction = new KAction(i18n("Select None"), d->selectNoneAction = new TDEAction(i18n("Select None"),
0, 0,
CTRL+SHIFT+Key_A, CTRL+SHIFT+Key_A,
TQT_TQOBJECT(d->view), TQT_TQOBJECT(d->view),
@ -892,7 +892,7 @@ void DigikamApp::setupActions()
actionCollection(), actionCollection(),
"selectNone"); "selectNone");
d->selectInvertAction = new KAction(i18n("Invert Selection"), d->selectInvertAction = new TDEAction(i18n("Invert Selection"),
0, 0,
CTRL+Key_Asterisk, CTRL+Key_Asterisk,
TQT_TQOBJECT(d->view), TQT_TQOBJECT(d->view),
@ -910,7 +910,7 @@ void DigikamApp::setupActions()
// ----------------------------------------------------------- // -----------------------------------------------------------
d->zoomPlusAction = new KAction(i18n("Zoom In"), d->zoomPlusAction = new TDEAction(i18n("Zoom In"),
"viewmag+", "viewmag+",
CTRL+Key_Plus, CTRL+Key_Plus,
TQT_TQOBJECT(d->view), TQT_TQOBJECT(d->view),
@ -918,7 +918,7 @@ void DigikamApp::setupActions()
actionCollection(), actionCollection(),
"album_zoomin"); "album_zoomin");
d->zoomMinusAction = new KAction(i18n("Zoom Out"), d->zoomMinusAction = new TDEAction(i18n("Zoom Out"),
"viewmag-", "viewmag-",
CTRL+Key_Minus, CTRL+Key_Minus,
TQT_TQOBJECT(d->view), TQT_TQOBJECT(d->view),
@ -926,7 +926,7 @@ void DigikamApp::setupActions()
actionCollection(), actionCollection(),
"album_zoomout"); "album_zoomout");
d->zoomTo100percents = new KAction(i18n("Zoom to 100%"), d->zoomTo100percents = new TDEAction(i18n("Zoom to 100%"),
"viewmag1", "viewmag1",
ALT+CTRL+Key_0, // NOTE: Photoshop 7 use ALT+CTRL+0. ALT+CTRL+Key_0, // NOTE: Photoshop 7 use ALT+CTRL+0.
TQT_TQOBJECT(d->view), TQT_TQOBJECT(d->view),
@ -934,7 +934,7 @@ void DigikamApp::setupActions()
actionCollection(), actionCollection(),
"album_zoomto100percents"); "album_zoomto100percents");
d->zoomFitToWindowAction = new KAction(i18n("Fit to &Window"), d->zoomFitToWindowAction = new TDEAction(i18n("Fit to &Window"),
"view_fit_window", "view_fit_window",
CTRL+SHIFT+Key_E, CTRL+SHIFT+Key_E,
TQT_TQOBJECT(d->view), TQT_TQOBJECT(d->view),
@ -943,7 +943,7 @@ void DigikamApp::setupActions()
"album_zoomfit2window"); "album_zoomfit2window");
// Do not use std KDE action for full screen because action text is too large for app. toolbar. // Do not use std KDE action for full screen because action text is too large for app. toolbar.
d->fullScreenAction = new KToggleAction(i18n("Full Screen"), d->fullScreenAction = new TDEToggleAction(i18n("Full Screen"),
"window_fullscreen", "window_fullscreen",
CTRL+SHIFT+Key_F, CTRL+SHIFT+Key_F,
TQT_TQOBJECT(this), TQT_TQOBJECT(this),
@ -952,24 +952,24 @@ void DigikamApp::setupActions()
"full_screen"); "full_screen");
d->fullScreenAction->setWhatsThis(i18n("Switch the window to full screen mode")); d->fullScreenAction->setWhatsThis(i18n("Switch the window to full screen mode"));
d->slideShowAction = new KActionMenu(i18n("Slideshow"), "slideshow", d->slideShowAction = new TDEActionMenu(i18n("Slideshow"), "slideshow",
actionCollection(), "slideshow"); actionCollection(), "slideshow");
d->slideShowAction->setDelayed(false); d->slideShowAction->setDelayed(false);
d->slideShowAllAction = new KAction(i18n("All"), 0, Key_F9, d->slideShowAllAction = new TDEAction(i18n("All"), 0, Key_F9,
TQT_TQOBJECT(d->view), TQT_SLOT(slotSlideShowAll()), TQT_TQOBJECT(d->view), TQT_SLOT(slotSlideShowAll()),
actionCollection(), "slideshow_all"); actionCollection(), "slideshow_all");
d->slideShowAction->insert(d->slideShowAllAction); d->slideShowAction->insert(d->slideShowAllAction);
d->slideShowSelectionAction = new KAction(i18n("Selection"), 0, ALT+Key_F9, d->slideShowSelectionAction = new TDEAction(i18n("Selection"), 0, ALT+Key_F9,
TQT_TQOBJECT(d->view), TQT_TQOBJECT(d->view),
TQT_SLOT(slotSlideShowSelection()), TQT_SLOT(slotSlideShowSelection()),
actionCollection(), actionCollection(),
"slideshow_selected"); "slideshow_selected");
d->slideShowAction->insert(d->slideShowSelectionAction); d->slideShowAction->insert(d->slideShowSelectionAction);
d->slideShowRecursiveAction = new KAction(i18n("With All Sub-Albums"), 0, SHIFT+Key_F9, d->slideShowRecursiveAction = new TDEAction(i18n("With All Sub-Albums"), 0, SHIFT+Key_F9,
TQT_TQOBJECT(d->view), TQT_TQOBJECT(d->view),
TQT_SLOT(slotSlideShowRecursive()), TQT_SLOT(slotSlideShowRecursive()),
actionCollection(), actionCollection(),
@ -981,7 +981,7 @@ void DigikamApp::setupActions()
actionCollection(), actionCollection(),
"app_exit"); "app_exit");
d->rawCameraListAction = new KAction(i18n("Supported RAW Cameras"), d->rawCameraListAction = new TDEAction(i18n("Supported RAW Cameras"),
"kdcraw", "kdcraw",
0, 0,
TQT_TQOBJECT(this), TQT_TQOBJECT(this),
@ -989,7 +989,7 @@ void DigikamApp::setupActions()
actionCollection(), actionCollection(),
"help_rawcameralist"); "help_rawcameralist");
d->kipiHelpAction = new KAction(i18n("Kipi Plugins Handbook"), d->kipiHelpAction = new TDEAction(i18n("Kipi Plugins Handbook"),
"kipi", "kipi",
0, 0,
TQT_TQOBJECT(this), TQT_TQOBJECT(this),
@ -1002,7 +1002,7 @@ void DigikamApp::setupActions()
actionCollection(), actionCollection(),
"help_tipofday"); "help_tipofday");
d->donateMoneyAction = new KAction(i18n("Donate..."), d->donateMoneyAction = new TDEAction(i18n("Donate..."),
0, 0,
0, 0,
TQT_TQOBJECT(this), TQT_TQOBJECT(this),
@ -1010,7 +1010,7 @@ void DigikamApp::setupActions()
actionCollection(), actionCollection(),
"help_donatemoney"); "help_donatemoney");
d->contributeAction = new KAction(i18n("Contribute..."), d->contributeAction = new TDEAction(i18n("Contribute..."),
0, 0, 0, 0,
TQT_TQOBJECT(this), TQT_SLOT(slotContribute()), TQT_TQOBJECT(this), TQT_SLOT(slotContribute()),
actionCollection(), actionCollection(),
@ -1020,50 +1020,50 @@ void DigikamApp::setupActions()
// -- Rating actions --------------------------------------------------------------- // -- Rating actions ---------------------------------------------------------------
d->rating0Star = new KAction(i18n("Assign Rating \"No Stars\""), CTRL+Key_0, d->rating0Star = new TDEAction(i18n("Assign Rating \"No Stars\""), CTRL+Key_0,
TQT_TQOBJECT(d->view), TQT_SLOT(slotAssignRatingNoStar()), TQT_TQOBJECT(d->view), TQT_SLOT(slotAssignRatingNoStar()),
actionCollection(), "ratenostar"); actionCollection(), "ratenostar");
d->rating1Star = new KAction(i18n("Assign Rating \"One Star\""), CTRL+Key_1, d->rating1Star = new TDEAction(i18n("Assign Rating \"One Star\""), CTRL+Key_1,
TQT_TQOBJECT(d->view), TQT_SLOT(slotAssignRatingOneStar()), TQT_TQOBJECT(d->view), TQT_SLOT(slotAssignRatingOneStar()),
actionCollection(), "rateonestar"); actionCollection(), "rateonestar");
d->rating2Star = new KAction(i18n("Assign Rating \"Two Stars\""), CTRL+Key_2, d->rating2Star = new TDEAction(i18n("Assign Rating \"Two Stars\""), CTRL+Key_2,
TQT_TQOBJECT(d->view), TQT_SLOT(slotAssignRatingTwoStar()), TQT_TQOBJECT(d->view), TQT_SLOT(slotAssignRatingTwoStar()),
actionCollection(), "ratetwostar"); actionCollection(), "ratetwostar");
d->rating3Star = new KAction(i18n("Assign Rating \"Three Stars\""), CTRL+Key_3, d->rating3Star = new TDEAction(i18n("Assign Rating \"Three Stars\""), CTRL+Key_3,
TQT_TQOBJECT(d->view), TQT_SLOT(slotAssignRatingThreeStar()), TQT_TQOBJECT(d->view), TQT_SLOT(slotAssignRatingThreeStar()),
actionCollection(), "ratethreestar"); actionCollection(), "ratethreestar");
d->rating4Star = new KAction(i18n("Assign Rating \"Four Stars\""), CTRL+Key_4, d->rating4Star = new TDEAction(i18n("Assign Rating \"Four Stars\""), CTRL+Key_4,
TQT_TQOBJECT(d->view), TQT_SLOT(slotAssignRatingFourStar()), TQT_TQOBJECT(d->view), TQT_SLOT(slotAssignRatingFourStar()),
actionCollection(), "ratefourstar"); actionCollection(), "ratefourstar");
d->rating5Star = new KAction(i18n("Assign Rating \"Five Stars\""), CTRL+Key_5, d->rating5Star = new TDEAction(i18n("Assign Rating \"Five Stars\""), CTRL+Key_5,
TQT_TQOBJECT(d->view), TQT_SLOT(slotAssignRatingFiveStar()), TQT_TQOBJECT(d->view), TQT_SLOT(slotAssignRatingFiveStar()),
actionCollection(), "ratefivestar"); actionCollection(), "ratefivestar");
// ----------------------------------------------------------- // -----------------------------------------------------------
KAction* findAction = KStdAction::find(TQT_TQOBJECT(d->view), TQT_SLOT(slotNewQuickSearch()), TDEAction* findAction = KStdAction::find(TQT_TQOBJECT(d->view), TQT_SLOT(slotNewQuickSearch()),
actionCollection(), "search_quick"); actionCollection(), "search_quick");
findAction->setText(i18n("Search...")); findAction->setText(i18n("Search..."));
findAction->setIconSet(BarIcon("filefind")); findAction->setIconSet(BarIcon("filefind"));
KAction* advFindAction = KStdAction::find(TQT_TQOBJECT(d->view), TQT_SLOT(slotNewAdvancedSearch()), TDEAction* advFindAction = KStdAction::find(TQT_TQOBJECT(d->view), TQT_SLOT(slotNewAdvancedSearch()),
actionCollection(), "search_advanced"); actionCollection(), "search_advanced");
advFindAction->setText(i18n("Advanced Search...")); advFindAction->setText(i18n("Advanced Search..."));
advFindAction->setShortcut("Ctrl+Alt+F"); advFindAction->setShortcut("Ctrl+Alt+F");
new KAction(i18n("Light Table"), "idea", Key_L, new TDEAction(i18n("Light Table"), "idea", Key_L,
TQT_TQOBJECT(d->view), TQT_SLOT(slotLightTable()), actionCollection(), TQT_TQOBJECT(d->view), TQT_SLOT(slotLightTable()), actionCollection(),
"light_table"); "light_table");
new KAction(i18n("Scan for New Images"), "reload_page", 0, new TDEAction(i18n("Scan for New Images"), "reload_page", 0,
TQT_TQOBJECT(this), TQT_SLOT(slotDatabaseRescan()), actionCollection(), TQT_TQOBJECT(this), TQT_SLOT(slotDatabaseRescan()), actionCollection(),
"database_rescan"); "database_rescan");
new KAction(i18n("Rebuild All Thumbnails..."), "reload_page", 0, new TDEAction(i18n("Rebuild All Thumbnails..."), "reload_page", 0,
TQT_TQOBJECT(this), TQT_SLOT(slotRebuildAllThumbs()), actionCollection(), TQT_TQOBJECT(this), TQT_SLOT(slotRebuildAllThumbs()), actionCollection(),
"thumbs_rebuild"); "thumbs_rebuild");
new KAction(i18n("Update Metadata Database..."), "reload_page", 0, new TDEAction(i18n("Update Metadata Database..."), "reload_page", 0,
TQT_TQOBJECT(this), TQT_SLOT(slotSyncAllPicturesMetadata()), actionCollection(), TQT_TQOBJECT(this), TQT_SLOT(slotSyncAllPicturesMetadata()), actionCollection(),
"sync_metadata"); "sync_metadata");
@ -1192,7 +1192,7 @@ void DigikamApp::slotAlbumSelected(bool val)
d->newAction->setEnabled(false); d->newAction->setEnabled(false);
d->albumImportAction->setEnabled(false); d->albumImportAction->setEnabled(false);
KAction *action; TDEAction *action;
for (action = d->kipiFileActionsImport.first(); action; for (action = d->kipiFileActionsImport.first(); action;
action = d->kipiFileActionsImport.next()) action = d->kipiFileActionsImport.next())
{ {
@ -1209,7 +1209,7 @@ void DigikamApp::slotAlbumSelected(bool val)
d->newAction->setEnabled(true); d->newAction->setEnabled(true);
d->albumImportAction->setEnabled(true); d->albumImportAction->setEnabled(true);
KAction *action; TDEAction *action;
for (action = d->kipiFileActionsImport.first(); action; for (action = d->kipiFileActionsImport.first(); action;
action = d->kipiFileActionsImport.next()) action = d->kipiFileActionsImport.next())
{ {
@ -1236,7 +1236,7 @@ void DigikamApp::slotAlbumSelected(bool val)
d->albumImportAction->setEnabled(false); d->albumImportAction->setEnabled(false);
} }
KAction *action; TDEAction *action;
for (action = d->kipiFileActionsImport.first(); action; for (action = d->kipiFileActionsImport.first(); action;
action = d->kipiFileActionsImport.next()) action = d->kipiFileActionsImport.next())
{ {
@ -1260,7 +1260,7 @@ void DigikamApp::slotTagSelected(bool val)
d->deleteTagAction->setEnabled(true); d->deleteTagAction->setEnabled(true);
d->editTagAction->setEnabled(true); d->editTagAction->setEnabled(true);
KAction *action; TDEAction *action;
for (action = d->kipiFileActionsImport.first(); action; for (action = d->kipiFileActionsImport.first(); action;
action = d->kipiFileActionsImport.next()) action = d->kipiFileActionsImport.next())
{ {
@ -1272,7 +1272,7 @@ void DigikamApp::slotTagSelected(bool val)
d->deleteTagAction->setEnabled(false); d->deleteTagAction->setEnabled(false);
d->editTagAction->setEnabled(false); d->editTagAction->setEnabled(false);
KAction *action; TDEAction *action;
for (action = d->kipiFileActionsImport.first(); action; for (action = d->kipiFileActionsImport.first(); action;
action = d->kipiFileActionsImport.next()) action = d->kipiFileActionsImport.next())
{ {
@ -1478,7 +1478,7 @@ void DigikamApp::slotDownloadImages()
if (!alreadyThere) if (!alreadyThere)
{ {
KAction *cAction = new KAction( TDEAction *cAction = new TDEAction(
i18n("Browse %1").arg(KURL(d->cameraGuiPath).prettyURL()), i18n("Browse %1").arg(KURL(d->cameraGuiPath).prettyURL()),
"camera", "camera",
0, 0,
@ -1540,7 +1540,7 @@ void DigikamApp::slotCameraAdded(CameraType *ctype)
{ {
if (!ctype) return; if (!ctype) return;
KAction *cAction = new KAction(ctype->title(), "camera", 0, TDEAction *cAction = new TDEAction(ctype->title(), "camera", 0,
TQT_TQOBJECT(this), TQT_SLOT(slotCameraConnect()), TQT_TQOBJECT(this), TQT_SLOT(slotCameraConnect()),
actionCollection(), actionCollection(),
ctype->title().utf8()); ctype->title().utf8());
@ -1606,7 +1606,7 @@ void DigikamApp::slotCameraRemoved(CameraType *ctype)
{ {
if (!ctype) return; if (!ctype) return;
KAction *cAction = ctype->action(); TDEAction *cAction = ctype->action();
if (cAction) if (cAction)
d->cameraMenuAction->remove(cAction); d->cameraMenuAction->remove(cAction);
@ -1854,17 +1854,17 @@ void DigikamApp::slotKipiPluginPlug()
++cpt; ++cpt;
plugin->setup( this ); plugin->setup( this );
TQPtrList<KAction>* popup = 0; TQPtrList<TDEAction>* popup = 0;
// Plugin category identification using KAction method based. // Plugin category identification using TDEAction method based.
KActionPtrList actions = plugin->actions(); TDEActionPtrList actions = plugin->actions();
// List of obsolete kipi-plugins to not load. // List of obsolete kipi-plugins to not load.
TQStringList pluginActionsDisabled; TQStringList pluginActionsDisabled;
pluginActionsDisabled << TQString("raw_converter_single"); // Obsolete Since 0.9.5 and new Raw Import tool. pluginActionsDisabled << TQString("raw_converter_single"); // Obsolete Since 0.9.5 and new Raw Import tool.
for( KActionPtrList::Iterator it2 = actions.begin(); it2 != actions.end(); ++it2 ) for( TDEActionPtrList::Iterator it2 = actions.begin(); it2 != actions.end(); ++it2 )
{ {
if ( plugin->category(*it2) == KIPI::IMAGESPLUGIN ) if ( plugin->category(*it2) == KIPI::IMAGESPLUGIN )
popup = &d->kipiImageActions; popup = &d->kipiImageActions;
@ -1886,7 +1886,7 @@ void DigikamApp::slotKipiPluginPlug()
TQString actionName((*it2)->name()); TQString actionName((*it2)->name());
// Plug the KIPI plugins actions in according with the KAction method. // Plug the KIPI plugins actions in according with the TDEAction method.
if (popup) if (popup)
{ {
@ -1924,7 +1924,7 @@ void DigikamApp::loadCameras()
d->cameraMenuAction->popupMenu()->insertSeparator(); d->cameraMenuAction->popupMenu()->insertSeparator();
d->cameraMenuAction->insert(new KAction(i18n("Add Camera..."), 0, d->cameraMenuAction->insert(new TDEAction(i18n("Add Camera..."), 0,
TQT_TQOBJECT(this), TQT_SLOT(slotSetupCamera()), TQT_TQOBJECT(this), TQT_SLOT(slotSetupCamera()),
actionCollection(), actionCollection(),
"camera_add")); "camera_add"));

@ -52,7 +52,7 @@ class ImageInfo;
class CameraType; class CameraType;
class DigikamAppPriv; class DigikamAppPriv;
class DIGIKAM_EXPORT DigikamApp : public KMainWindow class DIGIKAM_EXPORT DigikamApp : public TDEMainWindow
{ {
Q_OBJECT Q_OBJECT
@ -66,12 +66,12 @@ public:
static DigikamApp* getinstance(); static DigikamApp* getinstance();
// KIPI Actions collections access. // KIPI Actions collections access.
const TQPtrList<KAction>& menuImageActions(); const TQPtrList<TDEAction>& menuImageActions();
const TQPtrList<KAction>& menuBatchActions(); const TQPtrList<TDEAction>& menuBatchActions();
const TQPtrList<KAction>& menuAlbumActions(); const TQPtrList<TDEAction>& menuAlbumActions();
const TQPtrList<KAction> menuImportActions(); const TQPtrList<TDEAction> menuImportActions();
const TQPtrList<KAction> menuExportActions(); const TQPtrList<TDEAction> menuExportActions();
void autoDetect(); void autoDetect();
void downloadFrom(const TQString &cameraGuiPath); void downloadFrom(const TQString &cameraGuiPath);

@ -54,10 +54,10 @@
#include "statusnavigatebar.h" #include "statusnavigatebar.h"
#include "digikamview.h" #include "digikamview.h"
class KToolBarPopupAction; class TDEToolBarPopupAction;
class KToggleAction; class TDEToggleAction;
class KActionMenu; class TDEActionMenu;
class KSelectAction; class TDESelectAction;
namespace Digikam namespace Digikam
{ {
@ -158,98 +158,98 @@ public:
bool validIccPath; bool validIccPath;
// KIPI plugins support // KIPI plugins support
TQPtrList<KAction> kipiFileActionsExport; TQPtrList<TDEAction> kipiFileActionsExport;
TQPtrList<KAction> kipiFileActionsImport; TQPtrList<TDEAction> kipiFileActionsImport;
TQPtrList<KAction> kipiImageActions; TQPtrList<TDEAction> kipiImageActions;
TQPtrList<KAction> kipiToolsActions; TQPtrList<TDEAction> kipiToolsActions;
TQPtrList<KAction> kipiBatchActions; TQPtrList<TDEAction> kipiBatchActions;
TQPtrList<KAction> kipiAlbumActions; TQPtrList<TDEAction> kipiAlbumActions;
TQMap<int, TQString> mediaItems; TQMap<int, TQString> mediaItems;
TQString cameraGuiPath; TQString cameraGuiPath;
KPopupMenu *cameraMediaList; TDEPopupMenu *cameraMediaList;
KAccel *accelerators; TDEAccel *accelerators;
TDEConfig *config; TDEConfig *config;
// Album Actions // Album Actions
KAction *newAction; TDEAction *newAction;
KAction *deleteAction; TDEAction *deleteAction;
KAction *imageDeletePermanentlyAction; TDEAction *imageDeletePermanentlyAction;
KAction *imageDeletePermanentlyDirectlyAction; TDEAction *imageDeletePermanentlyDirectlyAction;
KAction *imageTrashDirectlyAction; TDEAction *imageTrashDirectlyAction;
KToolBarPopupAction *backwardActionMenu; TDEToolBarPopupAction *backwardActionMenu;
KToolBarPopupAction *forwardActionMenu; TDEToolBarPopupAction *forwardActionMenu;
KAction *addImagesAction; TDEAction *addImagesAction;
KAction *propsEditAction; TDEAction *propsEditAction;
KAction *albumImportAction; TDEAction *albumImportAction;
KAction *openInKonquiAction; TDEAction *openInKonquiAction;
KAction *refreshAlbumAction; TDEAction *refreshAlbumAction;
KAction *syncAlbumMetadataAction; TDEAction *syncAlbumMetadataAction;
// Tag Actions // Tag Actions
KAction *newTagAction; TDEAction *newTagAction;
KAction *deleteTagAction; TDEAction *deleteTagAction;
KAction *editTagAction; TDEAction *editTagAction;
// Image Actions // Image Actions
KToggleAction *imagePreviewAction; TDEToggleAction *imagePreviewAction;
KAction *imageLightTableAction; TDEAction *imageLightTableAction;
KAction *imageAddLightTableAction; TDEAction *imageAddLightTableAction;
KAction *imageViewAction; TDEAction *imageViewAction;
KAction *imageSetExifOrientation1Action; TDEAction *imageSetExifOrientation1Action;
KAction *imageSetExifOrientation2Action; TDEAction *imageSetExifOrientation2Action;
KAction *imageSetExifOrientation3Action; TDEAction *imageSetExifOrientation3Action;
KAction *imageSetExifOrientation4Action; TDEAction *imageSetExifOrientation4Action;
KAction *imageSetExifOrientation5Action; TDEAction *imageSetExifOrientation5Action;
KAction *imageSetExifOrientation6Action; TDEAction *imageSetExifOrientation6Action;
KAction *imageSetExifOrientation7Action; TDEAction *imageSetExifOrientation7Action;
KAction *imageSetExifOrientation8Action; TDEAction *imageSetExifOrientation8Action;
KAction *imageRenameAction; TDEAction *imageRenameAction;
KAction *imageDeleteAction; TDEAction *imageDeleteAction;
KActionMenu *imageExifOrientationActionMenu; TDEActionMenu *imageExifOrientationActionMenu;
// Selection Actions // Selection Actions
KAction *selectAllAction; TDEAction *selectAllAction;
KAction *selectNoneAction; TDEAction *selectNoneAction;
KAction *selectInvertAction; TDEAction *selectInvertAction;
// View Actions // View Actions
KToggleAction *fullScreenAction; TDEToggleAction *fullScreenAction;
KToggleAction *showMenuBarAction; TDEToggleAction *showMenuBarAction;
KActionMenu *slideShowAction; TDEActionMenu *slideShowAction;
KAction *slideShowAllAction; TDEAction *slideShowAllAction;
KAction *slideShowSelectionAction; TDEAction *slideShowSelectionAction;
KAction *slideShowRecursiveAction; TDEAction *slideShowRecursiveAction;
KSelectAction *imageSortAction; TDESelectAction *imageSortAction;
KSelectAction *albumSortAction; TDESelectAction *albumSortAction;
KToggleAction *recurseAlbumsAction; TDEToggleAction *recurseAlbumsAction;
KToggleAction *recurseTagsAction; TDEToggleAction *recurseTagsAction;
KAction *zoomPlusAction; TDEAction *zoomPlusAction;
KAction *zoomMinusAction; TDEAction *zoomMinusAction;
KAction *zoomFitToWindowAction; TDEAction *zoomFitToWindowAction;
KAction *zoomTo100percents; TDEAction *zoomTo100percents;
KAction *rating0Star; TDEAction *rating0Star;
KAction *rating1Star; TDEAction *rating1Star;
KAction *rating2Star; TDEAction *rating2Star;
KAction *rating3Star; TDEAction *rating3Star;
KAction *rating4Star; TDEAction *rating4Star;
KAction *rating5Star; TDEAction *rating5Star;
// Application Actions // Application Actions
KAction *rawCameraListAction; TDEAction *rawCameraListAction;
KAction *quitAction; TDEAction *quitAction;
KAction *tipAction; TDEAction *tipAction;
KAction *kipiHelpAction; TDEAction *kipiHelpAction;
KAction *donateMoneyAction; TDEAction *donateMoneyAction;
KAction *contributeAction; TDEAction *contributeAction;
KActionMenu *cameraMenuAction; TDEActionMenu *cameraMenuAction;
KSelectAction *themeMenuAction; TDESelectAction *themeMenuAction;
AlbumSettings *albumSettings; AlbumSettings *albumSettings;
AlbumManager *albumManager; AlbumManager *albumManager;

@ -110,7 +110,7 @@ public:
TQToolButton *cornerButton; TQToolButton *cornerButton;
KPopupFrame *panIconPopup; TDEPopupFrame *panIconPopup;
PanIconWidget *panIconWidget; PanIconWidget *panIconWidget;
@ -390,12 +390,12 @@ void ImagePreviewView::slotContextMenu()
{ {
DDebug() << "Found JPEGLossless plugin" << endl; DDebug() << "Found JPEGLossless plugin" << endl;
KActionPtrList actionList = plugin->actions(); TDEActionPtrList actionList = plugin->actions();
for (KActionPtrList::const_iterator iter = actionList.begin(); for (TDEActionPtrList::const_iterator iter = actionList.begin();
iter != actionList.end(); ++iter) iter != actionList.end(); ++iter)
{ {
KAction* action = *iter; TDEAction* action = *iter;
if (TQString::fromLatin1(action->name()) if (TQString::fromLatin1(action->name())
== TQString::fromLatin1("jpeglossless_rotate")) == TQString::fromLatin1("jpeglossless_rotate"))
@ -562,7 +562,7 @@ void ImagePreviewView::slotCornerButtonPressed()
d->panIconPopup = 0; d->panIconPopup = 0;
} }
d->panIconPopup = new KPopupFrame(this); d->panIconPopup = new TDEPopupFrame(this);
PanIconWidget *pan = new PanIconWidget(d->panIconPopup); PanIconWidget *pan = new PanIconWidget(d->panIconPopup);
pan->setImage(180, 120, getImage()); pan->setImage(180, 120, getImage());
d->panIconPopup->setMainWidget(pan); d->panIconPopup->setMainWidget(pan);

@ -147,7 +147,7 @@ void RatingFilter::mousePressEvent(TQMouseEvent* e)
{ {
// Show pop-up menu about Rating Filter condition settings // Show pop-up menu about Rating Filter condition settings
KPopupMenu popmenu(this); TDEPopupMenu popmenu(this);
popmenu.insertTitle(SmallIcon("digikam"), i18n("Rating Filter")); popmenu.insertTitle(SmallIcon("digikam"), i18n("Rating Filter"));
popmenu.setCheckable(true); popmenu.setCheckable(true);
popmenu.insertItem(i18n("Greater Equal Condition"), AlbumLister::GreaterEqualCondition); popmenu.insertItem(i18n("Greater Equal Condition"), AlbumLister::GreaterEqualCondition);

@ -397,7 +397,7 @@ void SearchFolderView::slotContextMenu(TQListViewItem* item, const TQPoint&, int
{ {
if (!item) if (!item)
{ {
KPopupMenu popmenu(this); TDEPopupMenu popmenu(this);
popmenu.insertTitle(SmallIcon("digikam"), i18n("My Searches")); popmenu.insertTitle(SmallIcon("digikam"), i18n("My Searches"));
popmenu.insertItem(SmallIcon("filefind"), i18n("New Simple Search..."), 10); popmenu.insertItem(SmallIcon("filefind"), i18n("New Simple Search..."), 10);
popmenu.insertItem(SmallIcon("find"), i18n("New Advanced Search..."), 11); popmenu.insertItem(SmallIcon("find"), i18n("New Advanced Search..."), 11);
@ -422,7 +422,7 @@ void SearchFolderView::slotContextMenu(TQListViewItem* item, const TQPoint&, int
{ {
SearchFolderItem* sItem = dynamic_cast<SearchFolderItem*>(item); SearchFolderItem* sItem = dynamic_cast<SearchFolderItem*>(item);
KPopupMenu popmenu(this); TDEPopupMenu popmenu(this);
popmenu.insertTitle(SmallIcon("digikam"), i18n("My Searches")); popmenu.insertTitle(SmallIcon("digikam"), i18n("My Searches"));
popmenu.insertItem(SmallIcon("filefind"), i18n("Edit Search..."), 10); popmenu.insertItem(SmallIcon("filefind"), i18n("Edit Search..."), 10);

@ -387,7 +387,7 @@ TagsListCreationErrorDialog::TagsListCreationErrorDialog(TQWidget* parent, const
TQVBoxLayout* vLay = new TQVBoxLayout(box); TQVBoxLayout* vLay = new TQVBoxLayout(box);
TQLabel *label = new TQLabel(i18n("Error been occured during Tag creation:"), box); TQLabel *label = new TQLabel(i18n("Error been occured during Tag creation:"), box);
KListView *listView = new KListView(box); TDEListView *listView = new TDEListView(box);
listView->addColumn(i18n("Tag Path")); listView->addColumn(i18n("Tag Path"));
listView->addColumn(i18n("Error")); listView->addColumn(i18n("Error"));
listView->setResizeMode(TQListView::LastColumn); listView->setResizeMode(TQListView::LastColumn);
@ -398,7 +398,7 @@ TagsListCreationErrorDialog::TagsListCreationErrorDialog(TQWidget* parent, const
vLay->setSpacing(0); vLay->setSpacing(0);
for (TQMap<TQString, TQString>::const_iterator it = errMap.begin() ; it != errMap.end() ; ++it) for (TQMap<TQString, TQString>::const_iterator it = errMap.begin() ; it != errMap.end() ; ++it)
new KListViewItem(listView, it.key(), it.data()); new TDEListViewItem(listView, it.key(), it.data());
adjustSize(); adjustSize();
} }

@ -553,7 +553,7 @@ void TagFilterView::contentsDropEvent(TQDropEvent *e)
if (talbum == itemDrop->album()) if (talbum == itemDrop->album())
return; return;
KPopupMenu popMenu(this); TDEPopupMenu popMenu(this);
popMenu.insertTitle(SmallIcon("digikam"), i18n("Tag Filters")); popMenu.insertTitle(SmallIcon("digikam"), i18n("Tag Filters"));
popMenu.insertItem(SmallIcon("goto"), i18n("&Move Here"), 10); popMenu.insertItem(SmallIcon("goto"), i18n("&Move Here"), 10);
popMenu.insertSeparator(-1); popMenu.insertSeparator(-1);
@ -620,7 +620,7 @@ void TagFilterView::contentsDropEvent(TQDropEvent *e)
} }
else else
{ {
KPopupMenu popMenu(this); TDEPopupMenu popMenu(this);
popMenu.insertTitle(SmallIcon("digikam"), i18n("Tag Filters")); popMenu.insertTitle(SmallIcon("digikam"), i18n("Tag Filters"));
popMenu.insertItem(SmallIcon("tag"), i18n("Assign Tag '%1' to Items") popMenu.insertItem(SmallIcon("tag"), i18n("Assign Tag '%1' to Items")
.arg(destAlbum->prettyURL()), 10) ; .arg(destAlbum->prettyURL()), 10) ;
@ -876,7 +876,7 @@ void TagFilterView::slotContextMenu(TQListViewItem* it, const TQPoint&, int)
connect(d->ABCMenu, TQT_SIGNAL( aboutToShow() ), connect(d->ABCMenu, TQT_SIGNAL( aboutToShow() ),
this, TQT_SLOT( slotABCContextMenu() )); this, TQT_SLOT( slotABCContextMenu() ));
KPopupMenu popmenu(this); TDEPopupMenu popmenu(this);
popmenu.insertTitle(SmallIcon("digikam"), i18n("Tag Filters")); popmenu.insertTitle(SmallIcon("digikam"), i18n("Tag Filters"));
popmenu.insertItem(SmallIcon("tag-new"), i18n("New Tag..."), 10); popmenu.insertItem(SmallIcon("tag-new"), i18n("New Tag..."), 10);
popmenu.insertItem(SmallIcon("tag-addressbook"), i18n("Create Tag From AddressBook"), d->ABCMenu); popmenu.insertItem(SmallIcon("tag-addressbook"), i18n("Create Tag From AddressBook"), d->ABCMenu);

@ -538,7 +538,7 @@ void TagFolderView::slotContextMenu(TQListViewItem *item, const TQPoint &, int)
TagFolderViewItem *tag = dynamic_cast<TagFolderViewItem*>(item); TagFolderViewItem *tag = dynamic_cast<TagFolderViewItem*>(item);
KPopupMenu popmenu(this); TDEPopupMenu popmenu(this);
popmenu.insertTitle(SmallIcon("digikam"), i18n("My Tags")); popmenu.insertTitle(SmallIcon("digikam"), i18n("My Tags"));
popmenu.insertItem(SmallIcon("tag-new"), i18n("New Tag..."), 10); popmenu.insertItem(SmallIcon("tag-new"), i18n("New Tag..."), 10);
popmenu.insertItem(SmallIcon("tag-addressbook"), i18n("Create Tag From AddressBook"), d->ABCMenu); popmenu.insertItem(SmallIcon("tag-addressbook"), i18n("Create Tag From AddressBook"), d->ABCMenu);
@ -835,7 +835,7 @@ void TagFolderView::contentsDropEvent(TQDropEvent *e)
if (talbum == itemDrop->album()) if (talbum == itemDrop->album())
return; return;
KPopupMenu popMenu(this); TDEPopupMenu popMenu(this);
popMenu.insertTitle(SmallIcon("digikam"), i18n("My Tags")); popMenu.insertTitle(SmallIcon("digikam"), i18n("My Tags"));
popMenu.insertItem(SmallIcon("goto"), i18n("&Move Here"), 10); popMenu.insertItem(SmallIcon("goto"), i18n("&Move Here"), 10);
popMenu.insertSeparator(-1); popMenu.insertSeparator(-1);
@ -915,7 +915,7 @@ void TagFolderView::contentsDropEvent(TQDropEvent *e)
} }
else else
{ {
KPopupMenu popMenu(this); TDEPopupMenu popMenu(this);
popMenu.insertTitle(SmallIcon("digikam"), i18n("My Tags")); popMenu.insertTitle(SmallIcon("digikam"), i18n("My Tags"));
popMenu.insertItem(i18n("Set as Tag Thumbnail"), 12); popMenu.insertItem(i18n("Set as Tag Thumbnail"), 12);
popMenu.insertSeparator(-1); popMenu.insertSeparator(-1);
@ -943,7 +943,7 @@ void TagFolderView::contentsDropEvent(TQDropEvent *e)
} }
else else
{ {
KPopupMenu popMenu(this); TDEPopupMenu popMenu(this);
popMenu.insertTitle(SmallIcon("digikam"), i18n("My Tags")); popMenu.insertTitle(SmallIcon("digikam"), i18n("My Tags"));
popMenu.insertItem( SmallIcon("tag"), i18n("Assign Tag '%1' to Items") popMenu.insertItem( SmallIcon("tag"), i18n("Assign Tag '%1' to Items")
.arg(destAlbum->prettyURL()), 10) ; .arg(destAlbum->prettyURL()), 10) ;

@ -269,7 +269,7 @@ void TimeLineFolderView::slotContextMenu(TQListViewItem* item, const TQPoint&, i
TimeLineFolderItem* sItem = dynamic_cast<TimeLineFolderItem*>(item); TimeLineFolderItem* sItem = dynamic_cast<TimeLineFolderItem*>(item);
KPopupMenu popmenu(this); TDEPopupMenu popmenu(this);
popmenu.insertTitle(SmallIcon("digikam"), i18n("My Date Searches")); popmenu.insertTitle(SmallIcon("digikam"), i18n("My Date Searches"));
popmenu.insertItem(SmallIcon("pencil"), i18n("Rename..."), 10); popmenu.insertItem(SmallIcon("pencil"), i18n("Rename..."), 10);
popmenu.insertItem(SmallIcon("editdelete"), i18n("Delete"), 11); popmenu.insertItem(SmallIcon("editdelete"), i18n("Delete"), 11);

@ -44,7 +44,7 @@ K_EXPORT_COMPONENT_FACTORY( digikamimageplugin_adjustcurves,
ImagePlugin_AdjustCurves::ImagePlugin_AdjustCurves(TQObject *parent, const char*, const TQStringList&) ImagePlugin_AdjustCurves::ImagePlugin_AdjustCurves(TQObject *parent, const char*, const TQStringList&)
: Digikam::ImagePlugin(parent, "ImagePlugin_AdjustCurves") : Digikam::ImagePlugin(parent, "ImagePlugin_AdjustCurves")
{ {
m_curvesAction = new KAction(i18n("Curves Adjust..."), "adjustcurves", 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). 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, TQT_SLOT(slotCurvesAdjust()),
actionCollection(), "imageplugin_adjustcurves"); actionCollection(), "imageplugin_adjustcurves");

@ -29,7 +29,7 @@
#include "imageplugin.h" #include "imageplugin.h"
#include "digikam_export.h" #include "digikam_export.h"
class KAction; class TDEAction;
class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_AdjustCurves : public Digikam::ImagePlugin class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_AdjustCurves : public Digikam::ImagePlugin
{ {
@ -50,7 +50,7 @@ private slots:
private: private:
KAction *m_curvesAction; TDEAction *m_curvesAction;
}; };
#endif /* IMAGEPLUGIN_ADJUSTCURVES_H */ #endif /* IMAGEPLUGIN_ADJUSTCURVES_H */

@ -188,7 +188,7 @@ AdjustLevelDialog::AdjustLevelDialog(TQWidget* parent)
// ------------------------------------------------------------- // -------------------------------------------------------------
m_hGradientMinInput = new KGradientSelector( KSelector::Horizontal, gboxSettings ); m_hGradientMinInput = new KGradientSelector( TDESelector::Horizontal, gboxSettings );
m_hGradientMinInput->setFixedHeight( 20 ); m_hGradientMinInput->setFixedHeight( 20 );
m_hGradientMinInput->setMinValue(0); m_hGradientMinInput->setMinValue(0);
m_hGradientMinInput->setMaxValue(m_histoSegments); m_hGradientMinInput->setMaxValue(m_histoSegments);
@ -197,7 +197,7 @@ AdjustLevelDialog::AdjustLevelDialog(TQWidget* parent)
m_hGradientMinInput->setColors( TQColor( "black" ), TQColor( "white" ) ); m_hGradientMinInput->setColors( TQColor( "black" ), TQColor( "white" ) );
m_hGradientMinInput->installEventFilter(this); m_hGradientMinInput->installEventFilter(this);
m_hGradientMaxInput = new KGradientSelector( KSelector::Horizontal, gboxSettings ); m_hGradientMaxInput = new KGradientSelector( TDESelector::Horizontal, gboxSettings );
m_hGradientMaxInput->setFixedHeight( 20 ); m_hGradientMaxInput->setFixedHeight( 20 );
m_hGradientMaxInput->setMinValue(0); m_hGradientMaxInput->setMinValue(0);
m_hGradientMaxInput->setMaxValue(m_histoSegments); m_hGradientMaxInput->setMaxValue(m_histoSegments);
@ -223,7 +223,7 @@ AdjustLevelDialog::AdjustLevelDialog(TQWidget* parent)
TQToolTip::add( m_maxInput, i18n( "Maximal intensity input." ) ); TQToolTip::add( m_maxInput, i18n( "Maximal intensity input." ) );
TQWhatsThis::add( m_maxInput, i18n("<p>Select the maximal intensity input value of the histogram.")); TQWhatsThis::add( m_maxInput, i18n("<p>Select the maximal intensity input value of the histogram."));
m_hGradientMinOutput = new KGradientSelector( KSelector::Horizontal, gboxSettings ); m_hGradientMinOutput = new KGradientSelector( TDESelector::Horizontal, gboxSettings );
m_hGradientMinOutput->setColors( TQColor( "black" ), TQColor( "white" ) ); m_hGradientMinOutput->setColors( TQColor( "black" ), TQColor( "white" ) );
TQWhatsThis::add( m_hGradientMinOutput, i18n("<p>Select the minimal intensity output value of the histogram.")); TQWhatsThis::add( m_hGradientMinOutput, i18n("<p>Select the minimal intensity output value of the histogram."));
TQToolTip::add( m_hGradientMinOutput, i18n( "Minimal intensity output." ) ); TQToolTip::add( m_hGradientMinOutput, i18n( "Minimal intensity output." ) );
@ -232,7 +232,7 @@ AdjustLevelDialog::AdjustLevelDialog(TQWidget* parent)
m_hGradientMinOutput->setMaxValue(m_histoSegments); m_hGradientMinOutput->setMaxValue(m_histoSegments);
m_hGradientMinOutput->installEventFilter(this); m_hGradientMinOutput->installEventFilter(this);
m_hGradientMaxOutput = new KGradientSelector( KSelector::Horizontal, gboxSettings ); m_hGradientMaxOutput = new KGradientSelector( TDESelector::Horizontal, gboxSettings );
m_hGradientMaxOutput->setColors( TQColor( "black" ), TQColor( "white" ) ); m_hGradientMaxOutput->setColors( TQColor( "black" ), TQColor( "white" ) );
TQWhatsThis::add( m_hGradientMaxOutput, i18n("<p>Select the maximal intensity output value of the histogram.")); TQWhatsThis::add( m_hGradientMaxOutput, i18n("<p>Select the maximal intensity output value of the histogram."));
TQToolTip::add( m_hGradientMaxOutput, i18n( "Maximal intensity output." ) ); TQToolTip::add( m_hGradientMaxOutput, i18n( "Maximal intensity output." ) );

@ -181,7 +181,7 @@ AdjustLevelsTool::AdjustLevelsTool(TQObject* parent)
// ------------------------------------------------------------- // -------------------------------------------------------------
m_hGradientMinInput = new KGradientSelector( KSelector::Horizontal, m_gboxSettings->plainPage() ); m_hGradientMinInput = new KGradientSelector( TDESelector::Horizontal, m_gboxSettings->plainPage() );
m_hGradientMinInput->setFixedHeight( 20 ); m_hGradientMinInput->setFixedHeight( 20 );
m_hGradientMinInput->setMinValue(0); m_hGradientMinInput->setMinValue(0);
m_hGradientMinInput->setMaxValue(m_histoSegments); m_hGradientMinInput->setMaxValue(m_histoSegments);
@ -190,7 +190,7 @@ AdjustLevelsTool::AdjustLevelsTool(TQObject* parent)
m_hGradientMinInput->setColors( TQColor( "black" ), TQColor( "white" ) ); m_hGradientMinInput->setColors( TQColor( "black" ), TQColor( "white" ) );
m_hGradientMinInput->installEventFilter(this); m_hGradientMinInput->installEventFilter(this);
m_hGradientMaxInput = new KGradientSelector( KSelector::Horizontal, m_gboxSettings->plainPage() ); m_hGradientMaxInput = new KGradientSelector( TDESelector::Horizontal, m_gboxSettings->plainPage() );
m_hGradientMaxInput->setFixedHeight( 20 ); m_hGradientMaxInput->setFixedHeight( 20 );
m_hGradientMaxInput->setMinValue(0); m_hGradientMaxInput->setMinValue(0);
m_hGradientMaxInput->setMaxValue(m_histoSegments); m_hGradientMaxInput->setMaxValue(m_histoSegments);
@ -218,7 +218,7 @@ AdjustLevelsTool::AdjustLevelsTool(TQObject* parent)
TQToolTip::add( m_maxInput, i18n( "Maximal intensity input." ) ); TQToolTip::add( m_maxInput, i18n( "Maximal intensity input." ) );
TQWhatsThis::add( m_maxInput, i18n("<p>Select the maximal intensity input value of the histogram.")); TQWhatsThis::add( m_maxInput, i18n("<p>Select the maximal intensity input value of the histogram."));
m_hGradientMinOutput = new KGradientSelector( KSelector::Horizontal, m_gboxSettings->plainPage() ); m_hGradientMinOutput = new KGradientSelector( TDESelector::Horizontal, m_gboxSettings->plainPage() );
m_hGradientMinOutput->setColors( TQColor( "black" ), TQColor( "white" ) ); m_hGradientMinOutput->setColors( TQColor( "black" ), TQColor( "white" ) );
TQWhatsThis::add( m_hGradientMinOutput, i18n("<p>Select the minimal intensity output value of the histogram.")); TQWhatsThis::add( m_hGradientMinOutput, i18n("<p>Select the minimal intensity output value of the histogram."));
TQToolTip::add( m_hGradientMinOutput, i18n( "Minimal intensity output." ) ); TQToolTip::add( m_hGradientMinOutput, i18n( "Minimal intensity output." ) );
@ -227,7 +227,7 @@ AdjustLevelsTool::AdjustLevelsTool(TQObject* parent)
m_hGradientMinOutput->setMaxValue(m_histoSegments); m_hGradientMinOutput->setMaxValue(m_histoSegments);
m_hGradientMinOutput->installEventFilter(this); m_hGradientMinOutput->installEventFilter(this);
m_hGradientMaxOutput = new KGradientSelector( KSelector::Horizontal, m_gboxSettings->plainPage() ); m_hGradientMaxOutput = new KGradientSelector( TDESelector::Horizontal, m_gboxSettings->plainPage() );
m_hGradientMaxOutput->setColors( TQColor( "black" ), TQColor( "white" ) ); m_hGradientMaxOutput->setColors( TQColor( "black" ), TQColor( "white" ) );
TQWhatsThis::add( m_hGradientMaxOutput, i18n("<p>Select the maximal intensity output value of the histogram.")); TQWhatsThis::add( m_hGradientMaxOutput, i18n("<p>Select the maximal intensity output value of the histogram."));
TQToolTip::add( m_hGradientMaxOutput, i18n( "Maximal intensity output." ) ); TQToolTip::add( m_hGradientMaxOutput, i18n( "Maximal intensity output." ) );

@ -45,7 +45,7 @@ ImagePlugin_AdjustLevels::ImagePlugin_AdjustLevels(TQObject *parent, const char*
const TQStringList &) const TQStringList &)
: Digikam::ImagePlugin(parent, "ImagePlugin_AdjustLevels") : Digikam::ImagePlugin(parent, "ImagePlugin_AdjustLevels")
{ {
m_levelsAction = new KAction(i18n("Levels Adjust..."), "adjustlevels", m_levelsAction = new TDEAction(i18n("Levels Adjust..."), "adjustlevels",
CTRL+Key_L, // NOTE: Photoshop 7 use CTRL+L. CTRL+Key_L, // NOTE: Photoshop 7 use CTRL+L.
this, TQT_SLOT(slotLevelsAdjust()), this, TQT_SLOT(slotLevelsAdjust()),
actionCollection(), "imageplugin_adjustlevels"); actionCollection(), "imageplugin_adjustlevels");

@ -29,7 +29,7 @@
#include "imageplugin.h" #include "imageplugin.h"
#include "digikam_export.h" #include "digikam_export.h"
class KAction; class TDEAction;
class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_AdjustLevels : public Digikam::ImagePlugin class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_AdjustLevels : public Digikam::ImagePlugin
{ {
@ -50,7 +50,7 @@ private slots:
private: private:
KAction *m_levelsAction; TDEAction *m_levelsAction;
}; };
#endif /* IMAGEPLUGIN_ADJUSTLEVELS_H */ #endif /* IMAGEPLUGIN_ADJUSTLEVELS_H */

@ -45,7 +45,7 @@ K_EXPORT_COMPONENT_FACTORY(digikamimageplugin_antivignetting,
ImagePlugin_AntiVignetting::ImagePlugin_AntiVignetting(TQObject *parent, const char*, const TQStringList &) ImagePlugin_AntiVignetting::ImagePlugin_AntiVignetting(TQObject *parent, const char*, const TQStringList &)
: Digikam::ImagePlugin(parent, "ImagePlugin_AntiVignetting") : Digikam::ImagePlugin(parent, "ImagePlugin_AntiVignetting")
{ {
m_antivignettingAction = new KAction(i18n("Vignetting Correction..."), "antivignetting", 0, m_antivignettingAction = new TDEAction(i18n("Vignetting Correction..."), "antivignetting", 0,
this, TQT_SLOT(slotAntiVignetting()), this, TQT_SLOT(slotAntiVignetting()),
actionCollection(), "imageplugin_antivignetting"); actionCollection(), "imageplugin_antivignetting");

@ -30,7 +30,7 @@
#include "imageplugin.h" #include "imageplugin.h"
#include "digikam_export.h" #include "digikam_export.h"
class KAction; class TDEAction;
class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_AntiVignetting : public Digikam::ImagePlugin class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_AntiVignetting : public Digikam::ImagePlugin
{ {
@ -51,7 +51,7 @@ private slots:
private: private:
KAction *m_antivignettingAction; TDEAction *m_antivignettingAction;
}; };
#endif /* IMAGEPLUGIN_ANTIVIGNETTING_H */ #endif /* IMAGEPLUGIN_ANTIVIGNETTING_H */

@ -45,7 +45,7 @@ K_EXPORT_COMPONENT_FACTORY(digikamimageplugin_blurfx,
ImagePlugin_BlurFX::ImagePlugin_BlurFX(TQObject *parent, const char*, const TQStringList &) ImagePlugin_BlurFX::ImagePlugin_BlurFX(TQObject *parent, const char*, const TQStringList &)
: Digikam::ImagePlugin(parent, "ImagePlugin_BlurFX") : Digikam::ImagePlugin(parent, "ImagePlugin_BlurFX")
{ {
m_blurfxAction = new KAction(i18n("Blur Effects..."), "blurfx", 0, m_blurfxAction = new TDEAction(i18n("Blur Effects..."), "blurfx", 0,
this, TQT_SLOT(slotBlurFX()), this, TQT_SLOT(slotBlurFX()),
actionCollection(), "imageplugin_blurfx"); actionCollection(), "imageplugin_blurfx");

@ -29,7 +29,7 @@
#include "imageplugin.h" #include "imageplugin.h"
#include "digikam_export.h" #include "digikam_export.h"
class KAction; class TDEAction;
class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_BlurFX : public Digikam::ImagePlugin class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_BlurFX : public Digikam::ImagePlugin
{ {
@ -50,7 +50,7 @@ private slots:
private: private:
KAction *m_blurfxAction; TDEAction *m_blurfxAction;
}; };
#endif /* IMAGEPLUGIN_BLURFX_H */ #endif /* IMAGEPLUGIN_BLURFX_H */

@ -45,7 +45,7 @@ K_EXPORT_COMPONENT_FACTORY(digikamimageplugin_border,
ImagePlugin_Border::ImagePlugin_Border(TQObject *parent, const char*, const TQStringList &) ImagePlugin_Border::ImagePlugin_Border(TQObject *parent, const char*, const TQStringList &)
: Digikam::ImagePlugin(parent, "ImagePlugin_Border") : Digikam::ImagePlugin(parent, "ImagePlugin_Border")
{ {
m_borderAction = new KAction(i18n("Add Border..."), "bordertool", m_borderAction = new TDEAction(i18n("Add Border..."), "bordertool",
0, 0,
this, TQT_SLOT(slotBorder()), this, TQT_SLOT(slotBorder()),
actionCollection(), "imageplugin_border"); actionCollection(), "imageplugin_border");

@ -30,7 +30,7 @@
#include "imageplugin.h" #include "imageplugin.h"
#include "digikam_export.h" #include "digikam_export.h"
class KAction; class TDEAction;
class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_Border : public Digikam::ImagePlugin class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_Border : public Digikam::ImagePlugin
{ {
@ -51,7 +51,7 @@ private slots:
private: private:
KAction *m_borderAction; TDEAction *m_borderAction;
}; };
#endif /* IMAGEPLUGIN_BORDER_H */ #endif /* IMAGEPLUGIN_BORDER_H */

@ -45,7 +45,7 @@ ImagePlugin_ChannelMixer::ImagePlugin_ChannelMixer(TQObject *parent, const char*
const TQStringList &) const TQStringList &)
: Digikam::ImagePlugin(parent, "ImagePlugin_ChannelMixer") : Digikam::ImagePlugin(parent, "ImagePlugin_ChannelMixer")
{ {
m_channelMixerAction = new KAction(i18n("Channel Mixer..."), "channelmixer", m_channelMixerAction = new TDEAction(i18n("Channel Mixer..."), "channelmixer",
CTRL+Key_H, CTRL+Key_H,
this, TQT_SLOT(slotChannelMixer()), this, TQT_SLOT(slotChannelMixer()),
actionCollection(), "imageplugin_channelmixer"); actionCollection(), "imageplugin_channelmixer");

@ -29,7 +29,7 @@
#include "imageplugin.h" #include "imageplugin.h"
#include "digikam_export.h" #include "digikam_export.h"
class KAction; class TDEAction;
class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_ChannelMixer : public Digikam::ImagePlugin class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_ChannelMixer : public Digikam::ImagePlugin
{ {
@ -50,7 +50,7 @@ private slots:
private: private:
KAction *m_channelMixerAction; TDEAction *m_channelMixerAction;
}; };
#endif /* IMAGEPLUGIN_CHANNELMIXER_H */ #endif /* IMAGEPLUGIN_CHANNELMIXER_H */

@ -47,7 +47,7 @@ ImagePlugin_Charcoal::ImagePlugin_Charcoal(TQObject *parent, const char*,
const TQStringList &) const TQStringList &)
: Digikam::ImagePlugin(parent, "ImagePlugin_Charcoal") : Digikam::ImagePlugin(parent, "ImagePlugin_Charcoal")
{ {
m_charcoalAction = new KAction(i18n("Charcoal Drawing..."), "charcoaltool", 0, m_charcoalAction = new TDEAction(i18n("Charcoal Drawing..."), "charcoaltool", 0,
this, TQT_SLOT(slotCharcoal()), this, TQT_SLOT(slotCharcoal()),
actionCollection(), "imageplugin_charcoal"); actionCollection(), "imageplugin_charcoal");

@ -30,7 +30,7 @@
#include "imageplugin.h" #include "imageplugin.h"
#include "digikam_export.h" #include "digikam_export.h"
class KAction; class TDEAction;
class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_Charcoal : public Digikam::ImagePlugin class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_Charcoal : public Digikam::ImagePlugin
{ {
@ -51,7 +51,7 @@ private slots:
private: private:
KAction *m_charcoalAction; TDEAction *m_charcoalAction;
}; };
#endif /* IMAGEPLUGIN_CHARCOAL_H */ #endif /* IMAGEPLUGIN_CHARCOAL_H */

@ -47,7 +47,7 @@ K_EXPORT_COMPONENT_FACTORY(digikamimageplugin_colorfx,
ImagePlugin_ColorFX::ImagePlugin_ColorFX(TQObject *parent, const char*, const TQStringList &) ImagePlugin_ColorFX::ImagePlugin_ColorFX(TQObject *parent, const char*, const TQStringList &)
: Digikam::ImagePlugin(parent, "ImagePlugin_ColorFX") : Digikam::ImagePlugin(parent, "ImagePlugin_ColorFX")
{ {
m_solarizeAction = new KAction(i18n("Color Effects..."), "colorfx", 0, m_solarizeAction = new TDEAction(i18n("Color Effects..."), "colorfx", 0,
this, TQT_SLOT(slotColorFX()), this, TQT_SLOT(slotColorFX()),
actionCollection(), "imageplugin_colorfx"); actionCollection(), "imageplugin_colorfx");

@ -31,7 +31,7 @@
#include "imageplugin.h" #include "imageplugin.h"
#include "digikam_export.h" #include "digikam_export.h"
class KAction; class TDEAction;
class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_ColorFX : public Digikam::ImagePlugin class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_ColorFX : public Digikam::ImagePlugin
{ {
@ -51,7 +51,7 @@ private slots:
private: private:
KAction *m_solarizeAction; TDEAction *m_solarizeAction;
}; };
#endif /* IMAGEPLUGIN_COLORFX_H */ #endif /* IMAGEPLUGIN_COLORFX_H */

@ -65,66 +65,66 @@ ImagePlugin_Core::ImagePlugin_Core(TQObject *parent, const char*, const TQString
//------------------------------- //-------------------------------
// Fix and Colors menu actions // Fix and Colors menu actions
m_blurAction = new KAction(i18n("Blur..."), "blurimage", 0, m_blurAction = new TDEAction(i18n("Blur..."), "blurimage", 0,
this, TQT_SLOT(slotBlur()), this, TQT_SLOT(slotBlur()),
actionCollection(), "implugcore_blur"); actionCollection(), "implugcore_blur");
m_sharpenAction = new KAction(i18n("Sharpen..."), "sharpenimage", 0, m_sharpenAction = new TDEAction(i18n("Sharpen..."), "sharpenimage", 0,
this, TQT_SLOT(slotSharpen()), this, TQT_SLOT(slotSharpen()),
actionCollection(), "implugcore_sharpen"); actionCollection(), "implugcore_sharpen");
m_redeyeAction = new KAction(i18n("Red Eye..."), "redeyes", 0, m_redeyeAction = new TDEAction(i18n("Red Eye..."), "redeyes", 0,
this, TQT_SLOT(slotRedEye()), this, TQT_SLOT(slotRedEye()),
actionCollection(), "implugcore_redeye"); actionCollection(), "implugcore_redeye");
m_redeyeAction->setWhatsThis( i18n( "This filter can be used to correct red eyes in a photo. " 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.") ); "Select a region including the eyes to use this option.") );
m_BCGAction = new KAction(i18n("Brightness/Contrast/Gamma..."), "contrast", 0, m_BCGAction = new TDEAction(i18n("Brightness/Contrast/Gamma..."), "contrast", 0,
this, TQT_SLOT(slotBCG()), this, TQT_SLOT(slotBCG()),
actionCollection(), "implugcore_bcg"); actionCollection(), "implugcore_bcg");
m_HSLAction = new KAction(i18n("Hue/Saturation/Lightness..."), "adjusthsl", m_HSLAction = new TDEAction(i18n("Hue/Saturation/Lightness..."), "adjusthsl",
CTRL+Key_U, // NOTE: Photoshop 7 use CTRL+U. CTRL+Key_U, // NOTE: Photoshop 7 use CTRL+U.
this, TQT_SLOT(slotHSL()), this, TQT_SLOT(slotHSL()),
actionCollection(), "implugcore_hsl"); actionCollection(), "implugcore_hsl");
m_RGBAction = new KAction(i18n("Color Balance..."), "adjustrgb", m_RGBAction = new TDEAction(i18n("Color Balance..."), "adjustrgb",
CTRL+Key_B, // NOTE: Photoshop 7 use CTRL+B. CTRL+Key_B, // NOTE: Photoshop 7 use CTRL+B.
this, TQT_SLOT(slotRGB()), this, TQT_SLOT(slotRGB()),
actionCollection(), "implugcore_rgb"); actionCollection(), "implugcore_rgb");
m_autoCorrectionAction = new KAction(i18n("Auto-Correction..."), "autocorrection", m_autoCorrectionAction = new TDEAction(i18n("Auto-Correction..."), "autocorrection",
CTRL+SHIFT+Key_B, // NOTE: Photoshop 7 use CTRL+SHIFT+B with 'Auto-Color' option. CTRL+SHIFT+Key_B, // NOTE: Photoshop 7 use CTRL+SHIFT+B with 'Auto-Color' option.
this, TQT_SLOT(slotAutoCorrection()), this, TQT_SLOT(slotAutoCorrection()),
actionCollection(), "implugcore_autocorrection"); actionCollection(), "implugcore_autocorrection");
m_invertAction = new KAction(i18n("Invert"), "invertimage", m_invertAction = new TDEAction(i18n("Invert"), "invertimage",
CTRL+Key_I, // NOTE: Photoshop 7 use CTRL+I. CTRL+Key_I, // NOTE: Photoshop 7 use CTRL+I.
this, TQT_SLOT(slotInvert()), this, TQT_SLOT(slotInvert()),
actionCollection(), "implugcore_invert"); actionCollection(), "implugcore_invert");
m_convertTo8Bits = new KAction(i18n("8 bits"), "depth16to8", 0, m_convertTo8Bits = new TDEAction(i18n("8 bits"), "depth16to8", 0,
this, TQT_SLOT(slotConvertTo8Bits()), this, TQT_SLOT(slotConvertTo8Bits()),
actionCollection(), "implugcore_convertto8bits"); actionCollection(), "implugcore_convertto8bits");
m_convertTo16Bits = new KAction(i18n("16 bits"), "depth8to16", 0, m_convertTo16Bits = new TDEAction(i18n("16 bits"), "depth8to16", 0,
this, TQT_SLOT(slotConvertTo16Bits()), this, TQT_SLOT(slotConvertTo16Bits()),
actionCollection(), "implugcore_convertto16bits"); actionCollection(), "implugcore_convertto16bits");
m_colorManagementAction = new KAction(i18n("Color Management..."), "colormanagement", 0, m_colorManagementAction = new TDEAction(i18n("Color Management..."), "colormanagement", 0,
this, TQT_SLOT(slotColorManagement()), this, TQT_SLOT(slotColorManagement()),
actionCollection(), "implugcore_colormanagement"); actionCollection(), "implugcore_colormanagement");
//------------------------------- //-------------------------------
// Filters menu actions. // Filters menu actions.
m_BWAction = new KAction(i18n("Black && White..."), "bwtonal", 0, m_BWAction = new TDEAction(i18n("Black && White..."), "bwtonal", 0,
this, TQT_SLOT(slotBW()), this, TQT_SLOT(slotBW()),
actionCollection(), "implugcore_blackwhite"); actionCollection(), "implugcore_blackwhite");
//------------------------------- //-------------------------------
// Transform menu actions. // Transform menu actions.
m_aspectRatioCropAction = new KAction(i18n("Aspect Ratio Crop..."), "ratiocrop", 0, m_aspectRatioCropAction = new TDEAction(i18n("Aspect Ratio Crop..."), "ratiocrop", 0,
this, TQT_SLOT(slotRatioCrop()), this, TQT_SLOT(slotRatioCrop()),
actionCollection(), "implugcore_ratiocrop"); actionCollection(), "implugcore_ratiocrop");

@ -30,7 +30,7 @@
#include "imageplugin.h" #include "imageplugin.h"
#include "digikam_export.h" #include "digikam_export.h"
class KAction; class TDEAction;
class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_Core : public Digikam::ImagePlugin class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_Core : public Digikam::ImagePlugin
{ {
@ -67,19 +67,19 @@ private slots:
private: private:
KAction *m_redeyeAction; TDEAction *m_redeyeAction;
KAction *m_BCGAction; TDEAction *m_BCGAction;
KAction *m_HSLAction; TDEAction *m_HSLAction;
KAction *m_RGBAction; TDEAction *m_RGBAction;
KAction *m_autoCorrectionAction; TDEAction *m_autoCorrectionAction;
KAction *m_invertAction; TDEAction *m_invertAction;
KAction *m_BWAction; TDEAction *m_BWAction;
KAction *m_aspectRatioCropAction; TDEAction *m_aspectRatioCropAction;
KAction *m_sharpenAction; TDEAction *m_sharpenAction;
KAction *m_blurAction; TDEAction *m_blurAction;
KAction *m_colorManagementAction; TDEAction *m_colorManagementAction;
KAction *m_convertTo8Bits; TDEAction *m_convertTo8Bits;
KAction *m_convertTo16Bits; TDEAction *m_convertTo16Bits;
}; };
#endif /* IMAGEPLUGIN_CORE_H */ #endif /* IMAGEPLUGIN_CORE_H */

@ -47,7 +47,7 @@ K_EXPORT_COMPONENT_FACTORY(digikamimageplugin_distortionfx,
ImagePlugin_DistortionFX::ImagePlugin_DistortionFX(TQObject *parent, const char*, const TQStringList &) ImagePlugin_DistortionFX::ImagePlugin_DistortionFX(TQObject *parent, const char*, const TQStringList &)
: Digikam::ImagePlugin(parent, "ImagePlugin_DistortionFX") : Digikam::ImagePlugin(parent, "ImagePlugin_DistortionFX")
{ {
m_distortionfxAction = new KAction(i18n("Distortion Effects..."), "distortionfx", 0, m_distortionfxAction = new TDEAction(i18n("Distortion Effects..."), "distortionfx", 0,
this, TQT_SLOT(slotDistortionFX()), this, TQT_SLOT(slotDistortionFX()),
actionCollection(), "imageplugin_distortionfx"); actionCollection(), "imageplugin_distortionfx");

@ -32,7 +32,7 @@
#include "imageplugin.h" #include "imageplugin.h"
#include "digikam_export.h" #include "digikam_export.h"
class KAction; class TDEAction;
class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_DistortionFX : public Digikam::ImagePlugin class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_DistortionFX : public Digikam::ImagePlugin
{ {
@ -53,7 +53,7 @@ private slots:
private: private:
KAction *m_distortionfxAction; TDEAction *m_distortionfxAction;
}; };
#endif /* IMAGEPLUGIN_DISTORTIONFX_H */ #endif /* IMAGEPLUGIN_DISTORTIONFX_H */

@ -47,7 +47,7 @@ ImagePlugin_Emboss::ImagePlugin_Emboss(TQObject *parent, const char*,
const TQStringList &) const TQStringList &)
: Digikam::ImagePlugin(parent, "ImagePlugin_Emboss") : Digikam::ImagePlugin(parent, "ImagePlugin_Emboss")
{ {
m_embossAction = new KAction(i18n("Emboss..."), "embosstool", 0, m_embossAction = new TDEAction(i18n("Emboss..."), "embosstool", 0,
this, TQT_SLOT(slotEmboss()), this, TQT_SLOT(slotEmboss()),
actionCollection(), "imageplugin_emboss"); actionCollection(), "imageplugin_emboss");

@ -30,7 +30,7 @@
#include "imageplugin.h" #include "imageplugin.h"
#include "digikam_export.h" #include "digikam_export.h"
class KAction; class TDEAction;
class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_Emboss : public Digikam::ImagePlugin class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_Emboss : public Digikam::ImagePlugin
{ {
@ -51,7 +51,7 @@ private slots:
private: private:
KAction *m_embossAction; TDEAction *m_embossAction;
}; };
#endif /* IMAGEPLUGIN_EMBOSS_H */ #endif /* IMAGEPLUGIN_EMBOSS_H */

@ -46,7 +46,7 @@ K_EXPORT_COMPONENT_FACTORY(digikamimageplugin_filmgrain,
ImagePlugin_FilmGrain::ImagePlugin_FilmGrain(TQObject *parent, const char*, const TQStringList &) ImagePlugin_FilmGrain::ImagePlugin_FilmGrain(TQObject *parent, const char*, const TQStringList &)
: Digikam::ImagePlugin(parent, "ImagePlugin_FilmGrain") : Digikam::ImagePlugin(parent, "ImagePlugin_FilmGrain")
{ {
m_filmgrainAction = new KAction(i18n("Add Film Grain..."), "filmgrain", 0, m_filmgrainAction = new TDEAction(i18n("Add Film Grain..."), "filmgrain", 0,
this, TQT_SLOT(slotFilmGrain()), this, TQT_SLOT(slotFilmGrain()),
actionCollection(), "imageplugin_filmgrain"); actionCollection(), "imageplugin_filmgrain");

@ -30,7 +30,7 @@
#include "imageplugin.h" #include "imageplugin.h"
#include "digikam_export.h" #include "digikam_export.h"
class KAction; class TDEAction;
class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_FilmGrain : public Digikam::ImagePlugin class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_FilmGrain : public Digikam::ImagePlugin
{ {
@ -51,7 +51,7 @@ private slots:
private: private:
KAction *m_filmgrainAction; TDEAction *m_filmgrainAction;
}; };
#endif /* IMAGEPLUGIN_FILMGRAIN_H */ #endif /* IMAGEPLUGIN_FILMGRAIN_H */

@ -45,7 +45,7 @@ K_EXPORT_COMPONENT_FACTORY(digikamimageplugin_freerotation,
ImagePlugin_FreeRotation::ImagePlugin_FreeRotation(TQObject *parent, const char*, const TQStringList &) ImagePlugin_FreeRotation::ImagePlugin_FreeRotation(TQObject *parent, const char*, const TQStringList &)
: Digikam::ImagePlugin(parent, "ImagePlugin_FreeRotation") : Digikam::ImagePlugin(parent, "ImagePlugin_FreeRotation")
{ {
m_freerotationAction = new KAction(i18n("Free Rotation..."), "freerotation", 0, m_freerotationAction = new TDEAction(i18n("Free Rotation..."), "freerotation", 0,
this, TQT_SLOT(slotFreeRotation()), this, TQT_SLOT(slotFreeRotation()),
actionCollection(), "imageplugin_freerotation"); actionCollection(), "imageplugin_freerotation");

@ -30,7 +30,7 @@
#include "imageplugin.h" #include "imageplugin.h"
#include "digikam_export.h" #include "digikam_export.h"
class KAction; class TDEAction;
class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_FreeRotation : public Digikam::ImagePlugin class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_FreeRotation : public Digikam::ImagePlugin
{ {
@ -51,7 +51,7 @@ private slots:
private: private:
KAction *m_freerotationAction; TDEAction *m_freerotationAction;
}; };
#endif /* IMAGEPLUGIN_FREEROTATION_H */ #endif /* IMAGEPLUGIN_FREEROTATION_H */

@ -47,7 +47,7 @@ K_EXPORT_COMPONENT_FACTORY(digikamimageplugin_hotpixels,
ImagePlugin_HotPixels::ImagePlugin_HotPixels(TQObject *parent, const char*, const TQStringList &) ImagePlugin_HotPixels::ImagePlugin_HotPixels(TQObject *parent, const char*, const TQStringList &)
: Digikam::ImagePlugin(parent, "ImagePlugin_HotPixels") : Digikam::ImagePlugin(parent, "ImagePlugin_HotPixels")
{ {
m_hotpixelsAction = new KAction(i18n("Hot Pixels..."), "hotpixels", 0, m_hotpixelsAction = new TDEAction(i18n("Hot Pixels..."), "hotpixels", 0,
this, TQT_SLOT(slotHotPixels()), this, TQT_SLOT(slotHotPixels()),
actionCollection(), "imageplugin_hotpixels"); actionCollection(), "imageplugin_hotpixels");

@ -50,7 +50,7 @@ private slots:
private: private:
KAction *m_hotpixelsAction; TDEAction *m_hotpixelsAction;
}; };
#endif /* IMAGEPLUGIN_HOTPIXELS_H */ #endif /* IMAGEPLUGIN_HOTPIXELS_H */

@ -46,7 +46,7 @@ K_EXPORT_COMPONENT_FACTORY(digikamimageplugin_infrared,
ImagePlugin_Infrared::ImagePlugin_Infrared(TQObject *parent, const char*, const TQStringList &) ImagePlugin_Infrared::ImagePlugin_Infrared(TQObject *parent, const char*, const TQStringList &)
: Digikam::ImagePlugin(parent, "ImagePlugin_Infrared") : Digikam::ImagePlugin(parent, "ImagePlugin_Infrared")
{ {
m_infraredAction = new KAction(i18n("Infrared Film..."), "infrared", 0, m_infraredAction = new TDEAction(i18n("Infrared Film..."), "infrared", 0,
this, TQT_SLOT(slotInfrared()), this, TQT_SLOT(slotInfrared()),
actionCollection(), "imageplugin_infrared"); actionCollection(), "imageplugin_infrared");

@ -30,7 +30,7 @@
#include "imageplugin.h" #include "imageplugin.h"
#include "digikam_export.h" #include "digikam_export.h"
class KAction; class TDEAction;
class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_Infrared : public Digikam::ImagePlugin class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_Infrared : public Digikam::ImagePlugin
{ {
@ -51,7 +51,7 @@ private slots:
private: private:
KAction *m_infraredAction; TDEAction *m_infraredAction;
}; };
#endif /* IMAGEPLUGIN_INFRARED_H */ #endif /* IMAGEPLUGIN_INFRARED_H */

@ -48,7 +48,7 @@ K_EXPORT_COMPONENT_FACTORY(digikamimageplugin_inpainting,
ImagePlugin_InPainting::ImagePlugin_InPainting(TQObject *parent, const char*, const TQStringList &) ImagePlugin_InPainting::ImagePlugin_InPainting(TQObject *parent, const char*, const TQStringList &)
: Digikam::ImagePlugin(parent, "ImagePlugin_InPainting") : Digikam::ImagePlugin(parent, "ImagePlugin_InPainting")
{ {
m_inPaintingAction = new KAction(i18n("Inpainting..."), "inpainting", m_inPaintingAction = new TDEAction(i18n("Inpainting..."), "inpainting",
CTRL+Key_E, CTRL+Key_E,
this, TQT_SLOT(slotInPainting()), this, TQT_SLOT(slotInPainting()),
actionCollection(), "imageplugin_inpainting"); actionCollection(), "imageplugin_inpainting");

@ -30,7 +30,7 @@
#include "imageplugin.h" #include "imageplugin.h"
#include "digikam_export.h" #include "digikam_export.h"
class KAction; class TDEAction;
class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_InPainting : public Digikam::ImagePlugin class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_InPainting : public Digikam::ImagePlugin
{ {
@ -51,7 +51,7 @@ private slots:
private: private:
KAction *m_inPaintingAction; TDEAction *m_inPaintingAction;
}; };
#endif /* IMAGEPLUGIN_INPAINTING_H */ #endif /* IMAGEPLUGIN_INPAINTING_H */

@ -186,7 +186,7 @@ FontChooserWidget::FontChooserWidget(TQWidget *parent, const char *name,
// Now create the actual boxes that hold the info // Now create the actual boxes that hold the info
familyListBox = new KListBox( page, "familyListBox"); familyListBox = new TDEListBox( page, "familyListBox");
familyListBox->setEnabled( !diff ); familyListBox->setEnabled( !diff );
gridLayout->addWidget( familyListBox, row, 0 ); gridLayout->addWidget( familyListBox, row, 0 );
TQString fontFamilyWhatsThisText = i18n("Here you can choose the font family to be used." ); TQString fontFamilyWhatsThisText = i18n("Here you can choose the font family to be used." );
@ -207,7 +207,7 @@ FontChooserWidget::FontChooserWidget(TQWidget *parent, const char *name,
familyListBox->setMinimumHeight( minimumListHeight( familyListBox, visibleListSize ) ); familyListBox->setMinimumHeight( minimumListHeight( familyListBox, visibleListSize ) );
styleListBox = new KListBox( page, "styleListBox"); styleListBox = new TDEListBox( page, "styleListBox");
styleListBox->setEnabled( !diff ); styleListBox->setEnabled( !diff );
gridLayout->addWidget(styleListBox, row, 1); gridLayout->addWidget(styleListBox, row, 1);
TQString fontStyleWhatsThisText = i18n("Here you can choose the font style to be used." ); TQString fontStyleWhatsThisText = i18n("Here you can choose the font style to be used." );
@ -223,7 +223,7 @@ FontChooserWidget::FontChooserWidget(TQWidget *parent, const char *name,
connect(styleListBox, TQT_SIGNAL(highlighted(const TQString &)), connect(styleListBox, TQT_SIGNAL(highlighted(const TQString &)),
this, TQT_SLOT(style_chosen_slot(const TQString &))); this, TQT_SLOT(style_chosen_slot(const TQString &)));
sizeListBox = new KListBox( page, "sizeListBox"); sizeListBox = new TDEListBox( page, "sizeListBox");
sizeOfFont = new KIntNumInput( page, "sizeOfFont"); sizeOfFont = new KIntNumInput( page, "sizeOfFont");
sizeOfFont->setMinValue(4); sizeOfFont->setMinValue(4);

@ -37,7 +37,7 @@ class TQGroupBox;
class TQLabel; class TQLabel;
class TQStringList; class TQStringList;
class KListBox; class TDEListBox;
class KIntNumInput; class KIntNumInput;
namespace DigikamInsertTextImagesPlugin namespace DigikamInsertTextImagesPlugin
@ -156,9 +156,9 @@ private:
KIntNumInput *sizeOfFont; KIntNumInput *sizeOfFont;
KListBox *familyListBox; TDEListBox *familyListBox;
KListBox *styleListBox; TDEListBox *styleListBox;
KListBox *sizeListBox; TDEListBox *sizeListBox;
private: private:

@ -44,7 +44,7 @@ K_EXPORT_COMPONENT_FACTORY(digikamimageplugin_inserttext,
ImagePlugin_InsertText::ImagePlugin_InsertText(TQObject *parent, const char*, const TQStringList &) ImagePlugin_InsertText::ImagePlugin_InsertText(TQObject *parent, const char*, const TQStringList &)
: Digikam::ImagePlugin(parent, "ImagePlugin_InsertText") : Digikam::ImagePlugin(parent, "ImagePlugin_InsertText")
{ {
m_insertTextAction = new KAction(i18n("Insert Text..."), "inserttext", m_insertTextAction = new TDEAction(i18n("Insert Text..."), "inserttext",
SHIFT+CTRL+Key_T, SHIFT+CTRL+Key_T,
this, TQT_SLOT(slotInsertText()), this, TQT_SLOT(slotInsertText()),
actionCollection(), "imageplugin_inserttext"); actionCollection(), "imageplugin_inserttext");

@ -29,7 +29,7 @@
#include "imageplugin.h" #include "imageplugin.h"
#include "digikam_export.h" #include "digikam_export.h"
class KAction; class TDEAction;
class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_InsertText : public Digikam::ImagePlugin class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_InsertText : public Digikam::ImagePlugin
{ {
@ -50,7 +50,7 @@ private slots:
private: private:
KAction *m_insertTextAction; TDEAction *m_insertTextAction;
}; };
#endif /* IMAGEPLUGIN_INSERTTEXT_H */ #endif /* IMAGEPLUGIN_INSERTTEXT_H */

@ -44,7 +44,7 @@ K_EXPORT_COMPONENT_FACTORY(digikamimageplugin_lensdistortion,
ImagePlugin_LensDistortion::ImagePlugin_LensDistortion(TQObject *parent, const char*, const TQStringList &) ImagePlugin_LensDistortion::ImagePlugin_LensDistortion(TQObject *parent, const char*, const TQStringList &)
: Digikam::ImagePlugin(parent, "ImagePlugin_LensDistortion") : Digikam::ImagePlugin(parent, "ImagePlugin_LensDistortion")
{ {
m_lensdistortionAction = new KAction(i18n("Lens Distortion..."), "lensdistortion", 0, m_lensdistortionAction = new TDEAction(i18n("Lens Distortion..."), "lensdistortion", 0,
this, TQT_SLOT(slotLensDistortion()), this, TQT_SLOT(slotLensDistortion()),
actionCollection(), "imageplugin_lensdistortion"); actionCollection(), "imageplugin_lensdistortion");

@ -29,7 +29,7 @@
#include "imageplugin.h" #include "imageplugin.h"
#include "digikam_export.h" #include "digikam_export.h"
class KAction; class TDEAction;
class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_LensDistortion : public Digikam::ImagePlugin class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_LensDistortion : public Digikam::ImagePlugin
{ {
@ -50,7 +50,7 @@ private slots:
private: private:
KAction *m_lensdistortionAction; TDEAction *m_lensdistortionAction;
}; };
#endif /* IMAGEPLUGIN_LENSDISTORTION_H */ #endif /* IMAGEPLUGIN_LENSDISTORTION_H */

@ -45,7 +45,7 @@ K_EXPORT_COMPONENT_FACTORY(digikamimageplugin_noisereduction,
ImagePlugin_NoiseReduction::ImagePlugin_NoiseReduction(TQObject *parent, const char*, const TQStringList &) ImagePlugin_NoiseReduction::ImagePlugin_NoiseReduction(TQObject *parent, const char*, const TQStringList &)
: Digikam::ImagePlugin(parent, "ImagePlugin_NoiseReduction") : Digikam::ImagePlugin(parent, "ImagePlugin_NoiseReduction")
{ {
m_noiseReductionAction = new KAction(i18n("Noise Reduction..."), "noisereduction", 0, m_noiseReductionAction = new TDEAction(i18n("Noise Reduction..."), "noisereduction", 0,
this, TQT_SLOT(slotNoiseReduction()), this, TQT_SLOT(slotNoiseReduction()),
actionCollection(), "imageplugin_noisereduction"); actionCollection(), "imageplugin_noisereduction");

@ -29,7 +29,7 @@
#include "imageplugin.h" #include "imageplugin.h"
#include "digikam_export.h" #include "digikam_export.h"
class KAction; class TDEAction;
class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_NoiseReduction : public Digikam::ImagePlugin class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_NoiseReduction : public Digikam::ImagePlugin
{ {
@ -50,7 +50,7 @@ private slots:
private: private:
KAction *m_noiseReductionAction; TDEAction *m_noiseReductionAction;
}; };
#endif /* IMAGEPLUGIN_NOISEREDUCTION_H */ #endif /* IMAGEPLUGIN_NOISEREDUCTION_H */

@ -45,7 +45,7 @@ K_EXPORT_COMPONENT_FACTORY(digikamimageplugin_oilpaint,
ImagePlugin_OilPaint::ImagePlugin_OilPaint(TQObject *parent, const char*, const TQStringList&) ImagePlugin_OilPaint::ImagePlugin_OilPaint(TQObject *parent, const char*, const TQStringList&)
: Digikam::ImagePlugin(parent, "ImagePlugin_OilPaint") : Digikam::ImagePlugin(parent, "ImagePlugin_OilPaint")
{ {
m_oilpaintAction = new KAction(i18n("Oil Paint..."), "oilpaint", 0, m_oilpaintAction = new TDEAction(i18n("Oil Paint..."), "oilpaint", 0,
this, TQT_SLOT(slotOilPaint()), this, TQT_SLOT(slotOilPaint()),
actionCollection(), "imageplugin_oilpaint"); actionCollection(), "imageplugin_oilpaint");

@ -29,7 +29,7 @@
#include "imageplugin.h" #include "imageplugin.h"
#include "digikam_export.h" #include "digikam_export.h"
class KAction; class TDEAction;
class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_OilPaint : public Digikam::ImagePlugin class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_OilPaint : public Digikam::ImagePlugin
{ {
@ -50,7 +50,7 @@ private slots:
private: private:
KAction *m_oilpaintAction; TDEAction *m_oilpaintAction;
}; };
#endif /* IMAGEPLUGIN_OILPAINT_H */ #endif /* IMAGEPLUGIN_OILPAINT_H */

@ -44,7 +44,7 @@ K_EXPORT_COMPONENT_FACTORY(digikamimageplugin_perspective,
ImagePlugin_Perspective::ImagePlugin_Perspective(TQObject *parent, const char*, const TQStringList &) ImagePlugin_Perspective::ImagePlugin_Perspective(TQObject *parent, const char*, const TQStringList &)
: Digikam::ImagePlugin(parent, "ImagePlugin_Perspective") : Digikam::ImagePlugin(parent, "ImagePlugin_Perspective")
{ {
m_perspectiveAction = new KAction(i18n("Perspective Adjustment..."), "perspective", 0, m_perspectiveAction = new TDEAction(i18n("Perspective Adjustment..."), "perspective", 0,
this, TQT_SLOT(slotPerspective()), this, TQT_SLOT(slotPerspective()),
actionCollection(), "imageplugin_perspective"); actionCollection(), "imageplugin_perspective");

@ -29,7 +29,7 @@
#include "imageplugin.h" #include "imageplugin.h"
#include "digikam_export.h" #include "digikam_export.h"
class KAction; class TDEAction;
class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_Perspective : public Digikam::ImagePlugin class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_Perspective : public Digikam::ImagePlugin
{ {
@ -50,7 +50,7 @@ private slots:
private: private:
KAction *m_perspectiveAction; TDEAction *m_perspectiveAction;
}; };
#endif /* IMAGEPLUGIN_PERSPECTIVE_H */ #endif /* IMAGEPLUGIN_PERSPECTIVE_H */

@ -44,7 +44,7 @@ K_EXPORT_COMPONENT_FACTORY(digikamimageplugin_raindrop,
ImagePlugin_RainDrop::ImagePlugin_RainDrop(TQObject *parent, const char*, const TQStringList &) ImagePlugin_RainDrop::ImagePlugin_RainDrop(TQObject *parent, const char*, const TQStringList &)
: Digikam::ImagePlugin(parent, "ImagePlugin_RainDrop") : Digikam::ImagePlugin(parent, "ImagePlugin_RainDrop")
{ {
m_raindropAction = new KAction(i18n("Raindrops..."), "raindrop", 0, m_raindropAction = new TDEAction(i18n("Raindrops..."), "raindrop", 0,
this, TQT_SLOT(slotRainDrop()), this, TQT_SLOT(slotRainDrop()),
actionCollection(), "imageplugin_raindrop"); actionCollection(), "imageplugin_raindrop");

@ -29,7 +29,7 @@
#include "imageplugin.h" #include "imageplugin.h"
#include "digikam_export.h" #include "digikam_export.h"
class KAction; class TDEAction;
class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_RainDrop : public Digikam::ImagePlugin class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_RainDrop : public Digikam::ImagePlugin
{ {
@ -50,7 +50,7 @@ private slots:
private: private:
KAction *m_raindropAction; TDEAction *m_raindropAction;
}; };
#endif /* IMAGEPLUGIN_RAINDROP_H */ #endif /* IMAGEPLUGIN_RAINDROP_H */

@ -46,7 +46,7 @@ K_EXPORT_COMPONENT_FACTORY(digikamimageplugin_restoration,
ImagePlugin_Restoration::ImagePlugin_Restoration(TQObject *parent, const char*, const TQStringList &) ImagePlugin_Restoration::ImagePlugin_Restoration(TQObject *parent, const char*, const TQStringList &)
: Digikam::ImagePlugin(parent, "ImagePlugin_Restoration") : Digikam::ImagePlugin(parent, "ImagePlugin_Restoration")
{ {
m_restorationAction = new KAction(i18n("Restoration..."), "restoration", 0, m_restorationAction = new TDEAction(i18n("Restoration..."), "restoration", 0,
this, TQT_SLOT(slotRestoration()), this, TQT_SLOT(slotRestoration()),
actionCollection(), "imageplugin_restoration"); actionCollection(), "imageplugin_restoration");

@ -30,7 +30,7 @@
#include "imageplugin.h" #include "imageplugin.h"
#include "digikam_export.h" #include "digikam_export.h"
class KAction; class TDEAction;
class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_Restoration : public Digikam::ImagePlugin class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_Restoration : public Digikam::ImagePlugin
{ {
@ -51,7 +51,7 @@ private slots:
private: private:
KAction *m_restorationAction; TDEAction *m_restorationAction;
}; };
#endif /* IMAGEPLUGIN_RESTORATION_H */ #endif /* IMAGEPLUGIN_RESTORATION_H */

@ -44,7 +44,7 @@ K_EXPORT_COMPONENT_FACTORY(digikamimageplugin_sheartool,
ImagePlugin_ShearTool::ImagePlugin_ShearTool(TQObject *parent, const char*, const TQStringList &) ImagePlugin_ShearTool::ImagePlugin_ShearTool(TQObject *parent, const char*, const TQStringList &)
: Digikam::ImagePlugin(parent, "ImagePlugin_ShearTool") : Digikam::ImagePlugin(parent, "ImagePlugin_ShearTool")
{ {
m_sheartoolAction = new KAction(i18n("Shear..."), "shear", 0, m_sheartoolAction = new TDEAction(i18n("Shear..."), "shear", 0,
this, TQT_SLOT(slotShearTool()), this, TQT_SLOT(slotShearTool()),
actionCollection(), "imageplugin_sheartool"); actionCollection(), "imageplugin_sheartool");

@ -29,7 +29,7 @@
#include "imageplugin.h" #include "imageplugin.h"
#include "digikam_export.h" #include "digikam_export.h"
class KAction; class TDEAction;
class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_ShearTool : public Digikam::ImagePlugin class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_ShearTool : public Digikam::ImagePlugin
{ {
@ -50,7 +50,7 @@ private slots:
private: private:
KAction *m_sheartoolAction; TDEAction *m_sheartoolAction;
}; };
#endif /* IMAGEPLUGIN_SHEARTOOL_H */ #endif /* IMAGEPLUGIN_SHEARTOOL_H */

@ -46,7 +46,7 @@ K_EXPORT_COMPONENT_FACTORY(digikamimageplugin_superimpose,
ImagePlugin_SuperImpose::ImagePlugin_SuperImpose(TQObject *parent, const char*, const TQStringList &) ImagePlugin_SuperImpose::ImagePlugin_SuperImpose(TQObject *parent, const char*, const TQStringList &)
: Digikam::ImagePlugin(parent, "ImagePlugin_SuperImpose") : Digikam::ImagePlugin(parent, "ImagePlugin_SuperImpose")
{ {
m_superimposeAction = new KAction(i18n("Template Superimpose..."), "superimpose", 0, m_superimposeAction = new TDEAction(i18n("Template Superimpose..."), "superimpose", 0,
this, TQT_SLOT(slotSuperImpose()), this, TQT_SLOT(slotSuperImpose()),
actionCollection(), "imageplugin_superimpose"); actionCollection(), "imageplugin_superimpose");

@ -31,7 +31,7 @@
#include "imageplugin.h" #include "imageplugin.h"
#include "digikam_export.h" #include "digikam_export.h"
class KAction; class TDEAction;
class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_SuperImpose : public Digikam::ImagePlugin class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_SuperImpose : public Digikam::ImagePlugin
{ {
@ -52,7 +52,7 @@ private slots:
private: private:
KAction *m_superimposeAction; TDEAction *m_superimposeAction;
}; };
#endif /* IMAGEPLUGIN_SUPERIMPOSE_H */ #endif /* IMAGEPLUGIN_SUPERIMPOSE_H */

@ -45,7 +45,7 @@ K_EXPORT_COMPONENT_FACTORY(digikamimageplugin_texture,
ImagePlugin_Texture::ImagePlugin_Texture(TQObject *parent, const char*, const TQStringList &) ImagePlugin_Texture::ImagePlugin_Texture(TQObject *parent, const char*, const TQStringList &)
: Digikam::ImagePlugin(parent, "ImagePlugin_Texture") : Digikam::ImagePlugin(parent, "ImagePlugin_Texture")
{ {
m_textureAction = new KAction(i18n("Apply Texture..."), "texture", 0, m_textureAction = new TDEAction(i18n("Apply Texture..."), "texture", 0,
this, TQT_SLOT(slotTexture()), this, TQT_SLOT(slotTexture()),
actionCollection(), "imageplugin_texture"); actionCollection(), "imageplugin_texture");

@ -29,7 +29,7 @@
#include "imageplugin.h" #include "imageplugin.h"
#include "digikam_export.h" #include "digikam_export.h"
class KAction; class TDEAction;
class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_Texture : public Digikam::ImagePlugin class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_Texture : public Digikam::ImagePlugin
{ {
@ -50,7 +50,7 @@ private slots:
private: private:
KAction *m_textureAction; TDEAction *m_textureAction;
}; };
#endif /* IMAGEPLUGIN_TEXTURE_H */ #endif /* IMAGEPLUGIN_TEXTURE_H */

@ -45,7 +45,7 @@ K_EXPORT_COMPONENT_FACTORY(digikamimageplugin_whitebalance,
ImagePlugin_WhiteBalance::ImagePlugin_WhiteBalance(TQObject *parent, const char*, const TQStringList &) ImagePlugin_WhiteBalance::ImagePlugin_WhiteBalance(TQObject *parent, const char*, const TQStringList &)
: Digikam::ImagePlugin(parent, "ImagePlugin_WhiteBalance") : Digikam::ImagePlugin(parent, "ImagePlugin_WhiteBalance")
{ {
m_whitebalanceAction = new KAction(i18n("White Balance..."), "whitebalance", m_whitebalanceAction = new TDEAction(i18n("White Balance..."), "whitebalance",
CTRL+SHIFT+Key_W, CTRL+SHIFT+Key_W,
this, TQT_SLOT(slotWhiteBalance()), this, TQT_SLOT(slotWhiteBalance()),
actionCollection(), "imageplugin_whitebalance"); actionCollection(), "imageplugin_whitebalance");

@ -30,7 +30,7 @@
#include "imageplugin.h" #include "imageplugin.h"
#include "digikam_export.h" #include "digikam_export.h"
class KAction; class TDEAction;
class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_WhiteBalance : public Digikam::ImagePlugin class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_WhiteBalance : public Digikam::ImagePlugin
{ {
@ -51,7 +51,7 @@ private slots:
private: private:
KAction *m_whitebalanceAction; TDEAction *m_whitebalanceAction;
}; };
#endif /* IMAGEPLUGIN_WHITEBALANCE_H */ #endif /* IMAGEPLUGIN_WHITEBALANCE_H */

@ -41,7 +41,7 @@
#include "deletedialogbase.h" #include "deletedialogbase.h"
class TQStringList; class TQStringList;
class KListBox; class TDEListBox;
class KGuiItem; class KGuiItem;
class TQLabel; class TQLabel;
class TQWidgetStack; class TQWidgetStack;

@ -83,7 +83,7 @@
</widget> </widget>
</hbox> </hbox>
</widget> </widget>
<widget class="KListBox"> <widget class="TDEListBox">
<property name="name"> <property name="name">
<cstring>ddFileList</cstring> <cstring>ddFileList</cstring>
</property> </property>

@ -822,7 +822,7 @@ void ImageDescEditTab::slotRightButtonClicked(TQListViewItem *item, const TQPoin
connect(d->ABCMenu, TQT_SIGNAL( aboutToShow() ), connect(d->ABCMenu, TQT_SIGNAL( aboutToShow() ),
this, TQT_SLOT( slotABCContextMenu() )); this, TQT_SLOT( slotABCContextMenu() ));
KPopupMenu popmenu(this); TDEPopupMenu popmenu(this);
popmenu.insertTitle(SmallIcon("digikam"), i18n("Tags")); popmenu.insertTitle(SmallIcon("digikam"), i18n("Tags"));
popmenu.insertItem(SmallIcon("tag-new"), i18n("New Tag..."), 10); popmenu.insertItem(SmallIcon("tag-new"), i18n("New Tag..."), 10);
popmenu.insertItem(SmallIcon("tag-addressbook"), i18n("Create Tag From AddressBook"), d->ABCMenu); popmenu.insertItem(SmallIcon("tag-addressbook"), i18n("Create Tag From AddressBook"), d->ABCMenu);

@ -267,7 +267,7 @@ void TAlbumListView::contentsDropEvent(TQDropEvent *e)
if (talbum == itemDrop->album()) if (talbum == itemDrop->album())
return; return;
KPopupMenu popMenu(this); TDEPopupMenu popMenu(this);
popMenu.insertTitle(SmallIcon("digikam"), i18n("Tags")); popMenu.insertTitle(SmallIcon("digikam"), i18n("Tags"));
popMenu.insertItem(SmallIcon("goto"), i18n("&Move Here"), 10); popMenu.insertItem(SmallIcon("goto"), i18n("&Move Here"), 10);
popMenu.insertSeparator(-1); popMenu.insertSeparator(-1);
@ -347,7 +347,7 @@ void TAlbumListView::contentsDropEvent(TQDropEvent *e)
} }
else else
{ {
KPopupMenu popMenu(this); TDEPopupMenu popMenu(this);
popMenu.insertTitle(SmallIcon("digikam"), i18n("Tags")); popMenu.insertTitle(SmallIcon("digikam"), i18n("Tags"));
popMenu.insertItem(i18n("Set as Tag Thumbnail"), 12); popMenu.insertItem(i18n("Set as Tag Thumbnail"), 12);
popMenu.insertSeparator(-1); popMenu.insertSeparator(-1);
@ -376,7 +376,7 @@ void TAlbumListView::contentsDropEvent(TQDropEvent *e)
} }
else else
{ {
KPopupMenu popMenu(this); TDEPopupMenu popMenu(this);
popMenu.insertTitle(SmallIcon("digikam"), i18n("Tags")); popMenu.insertTitle(SmallIcon("digikam"), i18n("Tags"));
popMenu.insertItem( SmallIcon("tag"), i18n("Assign Tag '%1' to Items") popMenu.insertItem( SmallIcon("tag"), i18n("Assign Tag '%1' to Items")
.arg(destAlbum->prettyURL()), 10) ; .arg(destAlbum->prettyURL()), 10) ;

@ -44,7 +44,7 @@ namespace Digikam
{ {
DLogoAction::DLogoAction(TQObject* parent, const char* name) DLogoAction::DLogoAction(TQObject* parent, const char* name)
: KAction(parent, name) : TDEAction(parent, name)
{ {
setText("digikam.org"); setText("digikam.org");
setIcon("digikam"); setIcon("digikam");
@ -52,12 +52,12 @@ DLogoAction::DLogoAction(TQObject* parent, const char* name)
int DLogoAction::plug(TQWidget *widget, int index) int DLogoAction::plug(TQWidget *widget, int index)
{ {
if (kapp && !kapp->authorizeKAction(name())) if (kapp && !kapp->authorizeTDEAction(name()))
return -1; return -1;
if ( widget->inherits( "KToolBar" ) ) if ( widget->inherits( "TDEToolBar" ) )
{ {
KToolBar *bar = (KToolBar *)widget; TDEToolBar *bar = (TDEToolBar *)widget;
int id = getToolButtonID(); int id = getToolButtonID();
KURLLabel *pixmapLogo = new KURLLabel(Digikam::webProjectUrl(), TQString(), bar); KURLLabel *pixmapLogo = new KURLLabel(Digikam::webProjectUrl(), TQString(), bar);
pixmapLogo->setMargin(0); pixmapLogo->setMargin(0);
@ -83,7 +83,7 @@ int DLogoAction::plug(TQWidget *widget, int index)
return containerCount() - 1; return containerCount() - 1;
} }
int containerId = KAction::plug( widget, index ); int containerId = TDEAction::plug( widget, index );
return containerId; return containerId;
} }

@ -35,7 +35,7 @@
namespace Digikam namespace Digikam
{ {
class DIGIKAM_EXPORT DLogoAction : public KAction class DIGIKAM_EXPORT DLogoAction : public TDEAction
{ {
Q_OBJECT Q_OBJECT

@ -49,7 +49,7 @@ static TQImage s_dpopupmenu_sidePixmap;
static TQColor s_dpopupmenu_sidePixmapColor; static TQColor s_dpopupmenu_sidePixmapColor;
DPopupMenu::DPopupMenu(TQWidget* parent, const char* name) DPopupMenu::DPopupMenu(TQWidget* parent, const char* name)
: KPopupMenu(parent, name) : TDEPopupMenu(parent, name)
{ {
// Must be initialized so that we know the size on first invocation // Must be initialized so that we know the size on first invocation
if ( s_dpopupmenu_sidePixmap.isNull() ) if ( s_dpopupmenu_sidePixmap.isNull() )
@ -131,27 +131,27 @@ TQColor DPopupMenu::calcPixmapColor()
void DPopupMenu::setMinimumSize(const TQSize & s) void DPopupMenu::setMinimumSize(const TQSize & s)
{ {
KPopupMenu::setMinimumSize(s.width() + s_dpopupmenu_sidePixmap.width(), s.height()); TDEPopupMenu::setMinimumSize(s.width() + s_dpopupmenu_sidePixmap.width(), s.height());
} }
void DPopupMenu::setMaximumSize(const TQSize & s) void DPopupMenu::setMaximumSize(const TQSize & s)
{ {
KPopupMenu::setMaximumSize(s.width() + s_dpopupmenu_sidePixmap.width(), s.height()); TDEPopupMenu::setMaximumSize(s.width() + s_dpopupmenu_sidePixmap.width(), s.height());
} }
void DPopupMenu::setMinimumSize(int w, int h) void DPopupMenu::setMinimumSize(int w, int h)
{ {
KPopupMenu::setMinimumSize(w + s_dpopupmenu_sidePixmap.width(), h); TDEPopupMenu::setMinimumSize(w + s_dpopupmenu_sidePixmap.width(), h);
} }
void DPopupMenu::setMaximumSize(int w, int h) void DPopupMenu::setMaximumSize(int w, int h)
{ {
KPopupMenu::setMaximumSize(w + s_dpopupmenu_sidePixmap.width(), h); TDEPopupMenu::setMaximumSize(w + s_dpopupmenu_sidePixmap.width(), h);
} }
void DPopupMenu::resizeEvent(TQResizeEvent * e) void DPopupMenu::resizeEvent(TQResizeEvent * e)
{ {
KPopupMenu::resizeEvent(e); TDEPopupMenu::resizeEvent(e);
setFrameRect(TQStyle::visualRect(TQRect(s_dpopupmenu_sidePixmap.width(), 0, setFrameRect(TQStyle::visualRect(TQRect(s_dpopupmenu_sidePixmap.width(), 0,
width() - s_dpopupmenu_sidePixmap.width(), height()), width() - s_dpopupmenu_sidePixmap.width(), height()),
@ -162,7 +162,7 @@ void DPopupMenu::resizeEvent(TQResizeEvent * e)
void DPopupMenu::resize(int width, int height) void DPopupMenu::resize(int width, int height)
{ {
width = kMax(width, maximumSize().width()); width = kMax(width, maximumSize().width());
KPopupMenu::resize(width, height); TDEPopupMenu::resize(width, height);
} }
void DPopupMenu::paintEvent(TQPaintEvent* e) void DPopupMenu::paintEvent(TQPaintEvent* e)

@ -46,7 +46,7 @@ class TQSize;
namespace Digikam namespace Digikam
{ {
class DIGIKAM_EXPORT DPopupMenu : public KPopupMenu class DIGIKAM_EXPORT DPopupMenu : public TDEPopupMenu
{ {
public: public:

@ -142,12 +142,12 @@ public:
KURL lastOpenedDirectory; KURL lastOpenedDirectory;
KToggleAction *showBarAction; TDEToggleAction *showBarAction;
KAction *openFilesInFolderAction; TDEAction *openFilesInFolderAction;
KAction *fileOpenAction; TDEAction *fileOpenAction;
KActionMenu *BCGAction; TDEActionMenu *BCGAction;
Digikam::ThumbBarView *thumbBar; Digikam::ThumbBarView *thumbBar;
Digikam::ThumbBarItem *currentItem; Digikam::ThumbBarItem *currentItem;
@ -211,25 +211,25 @@ ShowFoto::ShowFoto(const KURL::List& urlList)
if ( !m_imagePluginLoader->pluginLibraryIsLoaded("digikamimageplugin_core") ) if ( !m_imagePluginLoader->pluginLibraryIsLoaded("digikamimageplugin_core") )
{ {
d->BCGAction = new KActionMenu(i18n("Brightness/Contrast/Gamma"), 0, 0, "showfoto_bcg"); d->BCGAction = new TDEActionMenu(i18n("Brightness/Contrast/Gamma"), 0, 0, "showfoto_bcg");
d->BCGAction->setDelayed(false); d->BCGAction->setDelayed(false);
KAction *incGammaAction = new KAction(i18n("Increase Gamma"), 0, ALT+Key_G, TDEAction *incGammaAction = new TDEAction(i18n("Increase Gamma"), 0, ALT+Key_G,
TQT_TQOBJECT(this), TQT_SLOT(slotChangeBCG()), TQT_TQOBJECT(this), TQT_SLOT(slotChangeBCG()),
actionCollection(), "gamma_plus"); actionCollection(), "gamma_plus");
KAction *decGammaAction = new KAction(i18n("Decrease Gamma"), 0, ALT+SHIFT+Key_G, TDEAction *decGammaAction = new TDEAction(i18n("Decrease Gamma"), 0, ALT+SHIFT+Key_G,
TQT_TQOBJECT(this), TQT_SLOT(slotChangeBCG()), TQT_TQOBJECT(this), TQT_SLOT(slotChangeBCG()),
actionCollection(), "gamma_minus"); actionCollection(), "gamma_minus");
KAction *incBrightAction = new KAction(i18n("Increase Brightness"), 0, ALT+Key_B, TDEAction *incBrightAction = new TDEAction(i18n("Increase Brightness"), 0, ALT+Key_B,
TQT_TQOBJECT(this), TQT_SLOT(slotChangeBCG()), TQT_TQOBJECT(this), TQT_SLOT(slotChangeBCG()),
actionCollection(), "brightness_plus"); actionCollection(), "brightness_plus");
KAction *decBrightAction = new KAction(i18n("Decrease Brightness"), 0, ALT+SHIFT+Key_B, TDEAction *decBrightAction = new TDEAction(i18n("Decrease Brightness"), 0, ALT+SHIFT+Key_B,
TQT_TQOBJECT(this), TQT_SLOT(slotChangeBCG()), TQT_TQOBJECT(this), TQT_SLOT(slotChangeBCG()),
actionCollection(), "brightness_minus"); actionCollection(), "brightness_minus");
KAction *incContrastAction = new KAction(i18n("Increase Contrast"), 0, ALT+Key_C, TDEAction *incContrastAction = new TDEAction(i18n("Increase Contrast"), 0, ALT+Key_C,
TQT_TQOBJECT(this), TQT_SLOT(slotChangeBCG()), TQT_TQOBJECT(this), TQT_SLOT(slotChangeBCG()),
actionCollection(), "contrast_plus"); actionCollection(), "contrast_plus");
KAction *decContrastAction = new KAction(i18n("Decrease Contrast"), 0, ALT+SHIFT+Key_C, TDEAction *decContrastAction = new TDEAction(i18n("Decrease Contrast"), 0, ALT+SHIFT+Key_C,
TQT_TQOBJECT(this), TQT_SLOT(slotChangeBCG()), TQT_TQOBJECT(this), TQT_SLOT(slotChangeBCG()),
actionCollection(), "contrast_minus"); actionCollection(), "contrast_minus");
@ -240,7 +240,7 @@ ShowFoto::ShowFoto(const KURL::List& urlList)
d->BCGAction->insert(incGammaAction); d->BCGAction->insert(incGammaAction);
d->BCGAction->insert(decGammaAction); d->BCGAction->insert(decGammaAction);
TQPtrList<KAction> bcg_actions; TQPtrList<TDEAction> bcg_actions;
bcg_actions.append( d->BCGAction ); bcg_actions.append( d->BCGAction );
unplugActionList( "showfoto_bcg" ); unplugActionList( "showfoto_bcg" );
plugActionList( "showfoto_bcg", bcg_actions ); plugActionList( "showfoto_bcg", bcg_actions );
@ -352,7 +352,7 @@ void ShowFoto::show()
// Display application window. // Display application window.
KMainWindow::show(); TDEMainWindow::show();
// Report errors from ICC repository path. // Report errors from ICC repository path.
@ -481,7 +481,7 @@ void ShowFoto::setupActions()
d->fileOpenAction = KStdAction::open(TQT_TQOBJECT(this), TQT_SLOT(slotOpenFile()), d->fileOpenAction = KStdAction::open(TQT_TQOBJECT(this), TQT_SLOT(slotOpenFile()),
actionCollection(), "showfoto_open_file"); actionCollection(), "showfoto_open_file");
d->openFilesInFolderAction = new KAction(i18n("Open folder"), d->openFilesInFolderAction = new TDEAction(i18n("Open folder"),
"folder_image", "folder_image",
CTRL+SHIFT+Key_O, CTRL+SHIFT+Key_O,
TQT_TQOBJECT(this), TQT_TQOBJECT(this),
@ -493,7 +493,7 @@ void ShowFoto::setupActions()
// Extra 'View' menu actions --------------------------------------------- // Extra 'View' menu actions ---------------------------------------------
d->showBarAction = new KToggleAction(i18n("Show Thumbnails"), 0, d->showBarAction = new TDEToggleAction(i18n("Show Thumbnails"), 0,
CTRL+Key_T, CTRL+Key_T,
TQT_TQOBJECT(this), TQT_SLOT(slotToggleShowBar()), TQT_TQOBJECT(this), TQT_SLOT(slotToggleShowBar()),
actionCollection(), "shofoto_showthumbs"); actionCollection(), "shofoto_showthumbs");

@ -275,7 +275,7 @@ void AlbumSelectDialog::slotSelectionChanged()
void AlbumSelectDialog::slotContextMenu(TQListViewItem *, const TQPoint &, int) void AlbumSelectDialog::slotContextMenu(TQListViewItem *, const TQPoint &, int)
{ {
TQPopupMenu popmenu(d->folderView); TQPopupMenu popmenu(d->folderView);
KAction *action = new KAction(i18n( "Create New Album" ), TDEAction *action = new TDEAction(i18n( "Create New Album" ),
"albumfolder-new", 0, TQT_TQOBJECT(this), "albumfolder-new", 0, TQT_TQOBJECT(this),
TQT_SLOT( slotUser1() ), TQT_SLOT( slotUser1() ),
TQT_TQOBJECT(&popmenu)); TQT_TQOBJECT(&popmenu));

@ -750,7 +750,7 @@ void CameraIconView::slotRightButtonClicked(const TQPoint&)
void CameraIconView::uploadItemPopupMenu(const KURL::List& srcURLs) void CameraIconView::uploadItemPopupMenu(const KURL::List& srcURLs)
{ {
KPopupMenu popMenu(this); TDEPopupMenu popMenu(this);
popMenu.insertTitle(SmallIcon("digikam"), d->cameraUI->cameraTitle()); popMenu.insertTitle(SmallIcon("digikam"), d->cameraUI->cameraTitle());
popMenu.insertItem( SmallIcon("goto"), i18n("&Upload to camera"), 10 ); popMenu.insertItem( SmallIcon("goto"), i18n("&Upload to camera"), 10 );
popMenu.insertSeparator(-1); popMenu.insertSeparator(-1);

@ -139,7 +139,7 @@ public:
TQWidget *parent; TQWidget *parent;
KPopupFrame *panIconPopup; TDEPopupFrame *panIconPopup;
DImgInterface *im; DImgInterface *im;
@ -1340,7 +1340,7 @@ void Canvas::slotCornerButtonPressed()
d->panIconPopup = 0; d->panIconPopup = 0;
} }
d->panIconPopup = new KPopupFrame(this); d->panIconPopup = new TDEPopupFrame(this);
ImagePanIconWidget *pan = new ImagePanIconWidget(180, 120, d->panIconPopup); ImagePanIconWidget *pan = new ImagePanIconWidget(180, 120, d->panIconPopup);
d->panIconPopup->setMainWidget(pan); d->panIconPopup->setMainWidget(pan);

@ -113,7 +113,7 @@ namespace Digikam
{ {
EditorWindow::EditorWindow(const char *name) EditorWindow::EditorWindow(const char *name)
: KMainWindow(0, name, WType_TopLevel) : TDEMainWindow(0, name, WType_TopLevel)
{ {
d = new EditorWindowPriv; d = new EditorWindowPriv;
@ -167,7 +167,7 @@ EditorStackView* EditorWindow::editorStackView() const
void EditorWindow::setupContextMenu() void EditorWindow::setupContextMenu()
{ {
m_contextMenu = new DPopupMenu(this); m_contextMenu = new DPopupMenu(this);
KActionCollection *ac = actionCollection(); TDEActionCollection *ac = actionCollection();
if( ac->action("editorwindow_backward") ) ac->action("editorwindow_backward")->plug(m_contextMenu); if( ac->action("editorwindow_backward") ) ac->action("editorwindow_backward")->plug(m_contextMenu);
if( ac->action("editorwindow_forward") ) ac->action("editorwindow_forward")->plug(m_contextMenu); if( ac->action("editorwindow_forward") ) ac->action("editorwindow_forward")->plug(m_contextMenu);
m_contextMenu->insertSeparator(); m_contextMenu->insertSeparator();
@ -264,13 +264,13 @@ void EditorWindow::setupStandardActions()
m_forwardAction = KStdAction::forward(TQT_TQOBJECT(this), TQT_SLOT(slotForward()), m_forwardAction = KStdAction::forward(TQT_TQOBJECT(this), TQT_SLOT(slotForward()),
actionCollection(), "editorwindow_forward"); actionCollection(), "editorwindow_forward");
m_firstAction = new KAction(i18n("&First"), "start", m_firstAction = new TDEAction(i18n("&First"), "start",
KStdAccel::shortcut( KStdAccel::Home), TDEStdAccel::shortcut( TDEStdAccel::Home),
TQT_TQOBJECT(this), TQT_SLOT(slotFirst()), TQT_TQOBJECT(this), TQT_SLOT(slotFirst()),
actionCollection(), "editorwindow_first"); actionCollection(), "editorwindow_first");
m_lastAction = new KAction(i18n("&Last"), "finish", m_lastAction = new TDEAction(i18n("&Last"), "finish",
KStdAccel::shortcut( KStdAccel::End), TDEStdAccel::shortcut( TDEStdAccel::End),
TQT_TQOBJECT(this), TQT_SLOT(slotLast()), TQT_TQOBJECT(this), TQT_SLOT(slotLast()),
actionCollection(), "editorwindow_last"); actionCollection(), "editorwindow_last");
@ -287,12 +287,12 @@ void EditorWindow::setupStandardActions()
m_saveAsAction->setEnabled(false); m_saveAsAction->setEnabled(false);
m_revertAction->setEnabled(false); m_revertAction->setEnabled(false);
d->filePrintAction = new KAction(i18n("Print Image..."), "fileprint", d->filePrintAction = new TDEAction(i18n("Print Image..."), "fileprint",
CTRL+Key_P, CTRL+Key_P,
TQT_TQOBJECT(this), TQT_SLOT(slotFilePrint()), TQT_TQOBJECT(this), TQT_SLOT(slotFilePrint()),
actionCollection(), "editorwindow_print"); actionCollection(), "editorwindow_print");
m_fileDeleteAction = new KAction(i18n("Move to Trash"), "edittrash", m_fileDeleteAction = new TDEAction(i18n("Move to Trash"), "edittrash",
Key_Delete, Key_Delete,
TQT_TQOBJECT(this), TQT_SLOT(slotDeleteCurrentItem()), TQT_TQOBJECT(this), TQT_SLOT(slotDeleteCurrentItem()),
actionCollection(), "editorwindow_delete"); actionCollection(), "editorwindow_delete");
@ -306,8 +306,8 @@ void EditorWindow::setupStandardActions()
d->copyAction->setEnabled(false); d->copyAction->setEnabled(false);
m_undoAction = new KToolBarPopupAction(i18n("Undo"), "undo", m_undoAction = new TDEToolBarPopupAction(i18n("Undo"), "undo",
KStdAccel::shortcut(KStdAccel::Undo), TDEStdAccel::shortcut(TDEStdAccel::Undo),
TQT_TQOBJECT(m_canvas), TQT_SLOT(slotUndo()), TQT_TQOBJECT(m_canvas), TQT_SLOT(slotUndo()),
actionCollection(), "editorwindow_undo"); actionCollection(), "editorwindow_undo");
@ -319,8 +319,8 @@ void EditorWindow::setupStandardActions()
m_undoAction->setEnabled(false); m_undoAction->setEnabled(false);
m_redoAction = new KToolBarPopupAction(i18n("Redo"), "redo", m_redoAction = new TDEToolBarPopupAction(i18n("Redo"), "redo",
KStdAccel::shortcut(KStdAccel::Redo), TDEStdAccel::shortcut(TDEStdAccel::Redo),
TQT_TQOBJECT(m_canvas), TQT_SLOT(slotRedo()), TQT_TQOBJECT(m_canvas), TQT_SLOT(slotRedo()),
actionCollection(), "editorwindow_redo"); actionCollection(), "editorwindow_redo");
@ -332,7 +332,7 @@ void EditorWindow::setupStandardActions()
m_redoAction->setEnabled(false); m_redoAction->setEnabled(false);
d->selectAllAction = new KAction(i18n("Select All"), d->selectAllAction = new TDEAction(i18n("Select All"),
0, 0,
CTRL+Key_A, CTRL+Key_A,
TQT_TQOBJECT(m_canvas), TQT_TQOBJECT(m_canvas),
@ -340,7 +340,7 @@ void EditorWindow::setupStandardActions()
actionCollection(), actionCollection(),
"editorwindow_selectAll"); "editorwindow_selectAll");
d->selectNoneAction = new KAction(i18n("Select None"), d->selectNoneAction = new TDEAction(i18n("Select None"),
0, 0,
CTRL+SHIFT+Key_A, CTRL+SHIFT+Key_A,
TQT_TQOBJECT(m_canvas), TQT_TQOBJECT(m_canvas),
@ -356,18 +356,18 @@ void EditorWindow::setupStandardActions()
d->zoomMinusAction = KStdAction::zoomOut(TQT_TQOBJECT(this), TQT_SLOT(slotDecreaseZoom()), d->zoomMinusAction = KStdAction::zoomOut(TQT_TQOBJECT(this), TQT_SLOT(slotDecreaseZoom()),
actionCollection(), "editorwindow_zoomminus"); actionCollection(), "editorwindow_zoomminus");
d->zoomTo100percents = new KAction(i18n("Zoom to 100%"), "viewmag1", d->zoomTo100percents = new TDEAction(i18n("Zoom to 100%"), "viewmag1",
ALT+CTRL+Key_0, // NOTE: Photoshop 7 use ALT+CTRL+0. ALT+CTRL+Key_0, // NOTE: Photoshop 7 use ALT+CTRL+0.
TQT_TQOBJECT(this), TQT_SLOT(slotZoomTo100Percents()), TQT_TQOBJECT(this), TQT_SLOT(slotZoomTo100Percents()),
actionCollection(), "editorwindow_zoomto100percents"); actionCollection(), "editorwindow_zoomto100percents");
d->zoomFitToWindowAction = new KToggleAction(i18n("Fit to &Window"), "view_fit_window", d->zoomFitToWindowAction = new TDEToggleAction(i18n("Fit to &Window"), "view_fit_window",
CTRL+SHIFT+Key_E, // NOTE: Gimp 2 use CTRL+SHIFT+E. CTRL+SHIFT+Key_E, // NOTE: Gimp 2 use CTRL+SHIFT+E.
TQT_TQOBJECT(this), TQT_SLOT(slotToggleFitToWindow()), TQT_TQOBJECT(this), TQT_SLOT(slotToggleFitToWindow()),
actionCollection(), "editorwindow_zoomfit2window"); actionCollection(), "editorwindow_zoomfit2window");
d->zoomFitToSelectAction = new KAction(i18n("Fit to &Selection"), "viewmagfit", d->zoomFitToSelectAction = new TDEAction(i18n("Fit to &Selection"), "viewmagfit",
ALT+CTRL+Key_S, TQT_TQOBJECT(this), TQT_SLOT(slotFitToSelect()), ALT+CTRL+Key_S, TQT_TQOBJECT(this), TQT_SLOT(slotFitToSelect()),
actionCollection(), "editorwindow_zoomfit2select"); actionCollection(), "editorwindow_zoomfit2select");
d->zoomFitToSelectAction->setEnabled(false); d->zoomFitToSelectAction->setEnabled(false);
@ -401,38 +401,38 @@ void EditorWindow::setupStandardActions()
TQT_TQOBJECT(this), TQT_SLOT(slotZoomTextChanged(const TQString &)) ); TQT_TQOBJECT(this), TQT_SLOT(slotZoomTextChanged(const TQString &)) );
// Do not use std KDE action for full screen because action text is too large for app. toolbar. // Do not use std KDE action for full screen because action text is too large for app. toolbar.
m_fullScreenAction = new KToggleAction(i18n("Full Screen"), "window_fullscreen", m_fullScreenAction = new TDEToggleAction(i18n("Full Screen"), "window_fullscreen",
CTRL+SHIFT+Key_F, TQT_TQOBJECT(this), CTRL+SHIFT+Key_F, TQT_TQOBJECT(this),
TQT_SLOT(slotToggleFullScreen()), TQT_SLOT(slotToggleFullScreen()),
actionCollection(), "editorwindow_fullscreen"); actionCollection(), "editorwindow_fullscreen");
m_fullScreenAction->setWhatsThis(i18n("Toggle the window to full screen mode")); m_fullScreenAction->setWhatsThis(i18n("Toggle the window to full screen mode"));
d->slideShowAction = new KAction(i18n("Slideshow"), "slideshow", Key_F9, d->slideShowAction = new TDEAction(i18n("Slideshow"), "slideshow", Key_F9,
TQT_TQOBJECT(this), TQT_SLOT(slotToggleSlideShow()), TQT_TQOBJECT(this), TQT_SLOT(slotToggleSlideShow()),
actionCollection(),"editorwindow_slideshow"); actionCollection(),"editorwindow_slideshow");
d->viewUnderExpoAction = new KToggleAction(i18n("Under-Exposure Indicator"), "underexposure", d->viewUnderExpoAction = new TDEToggleAction(i18n("Under-Exposure Indicator"), "underexposure",
Key_F10, TQT_TQOBJECT(this), Key_F10, TQT_TQOBJECT(this),
TQT_SLOT(slotToggleUnderExposureIndicator()), TQT_SLOT(slotToggleUnderExposureIndicator()),
actionCollection(),"editorwindow_underexposure"); actionCollection(),"editorwindow_underexposure");
d->viewOverExpoAction = new KToggleAction(i18n("Over-Exposure Indicator"), "overexposure", d->viewOverExpoAction = new TDEToggleAction(i18n("Over-Exposure Indicator"), "overexposure",
Key_F11, TQT_TQOBJECT(this), Key_F11, TQT_TQOBJECT(this),
TQT_SLOT(slotToggleOverExposureIndicator()), TQT_SLOT(slotToggleOverExposureIndicator()),
actionCollection(),"editorwindow_overexposure"); actionCollection(),"editorwindow_overexposure");
d->viewCMViewAction = new KToggleAction(i18n("Color Managed View"), "tv", d->viewCMViewAction = new TDEToggleAction(i18n("Color Managed View"), "tv",
Key_F12, TQT_TQOBJECT(this), Key_F12, TQT_TQOBJECT(this),
TQT_SLOT(slotToggleColorManagedView()), TQT_SLOT(slotToggleColorManagedView()),
actionCollection(),"editorwindow_cmview"); actionCollection(),"editorwindow_cmview");
// -- Standard 'Transform' menu actions --------------------------------------------- // -- Standard 'Transform' menu actions ---------------------------------------------
d->resizeAction = new KAction(i18n("&Resize..."), "resize_image", 0, d->resizeAction = new TDEAction(i18n("&Resize..."), "resize_image", 0,
TQT_TQOBJECT(this), TQT_SLOT(slotResize()), TQT_TQOBJECT(this), TQT_SLOT(slotResize()),
actionCollection(), "editorwindow_resize"); actionCollection(), "editorwindow_resize");
d->cropAction = new KAction(i18n("Crop"), "crop", d->cropAction = new TDEAction(i18n("Crop"), "crop",
CTRL+Key_X, CTRL+Key_X,
TQT_TQOBJECT(m_canvas), TQT_SLOT(slotCrop()), TQT_TQOBJECT(m_canvas), TQT_SLOT(slotCrop()),
actionCollection(), "editorwindow_crop"); actionCollection(), "editorwindow_crop");
@ -443,25 +443,25 @@ void EditorWindow::setupStandardActions()
// -- Standard 'Flip' menu actions --------------------------------------------- // -- Standard 'Flip' menu actions ---------------------------------------------
d->flipHorizAction = new KAction(i18n("FlipQt::Horizontally"), "mirror", CTRL+Key_Asterisk, d->flipHorizAction = new TDEAction(i18n("FlipQt::Horizontally"), "mirror", CTRL+Key_Asterisk,
TQT_TQOBJECT(m_canvas), TQT_SLOT(slotFlipHoriz()), TQT_TQOBJECT(m_canvas), TQT_SLOT(slotFlipHoriz()),
actionCollection(), "editorwindow_flip_horiz"); actionCollection(), "editorwindow_flip_horiz");
d->flipHorizAction->setEnabled(false); d->flipHorizAction->setEnabled(false);
d->flipVertAction = new KAction(i18n("FlipQt::Vertically"), "flip", CTRL+Key_Slash, d->flipVertAction = new TDEAction(i18n("FlipQt::Vertically"), "flip", CTRL+Key_Slash,
TQT_TQOBJECT(m_canvas), TQT_SLOT(slotFlipVert()), TQT_TQOBJECT(m_canvas), TQT_SLOT(slotFlipVert()),
actionCollection(), "editorwindow_flip_vert"); actionCollection(), "editorwindow_flip_vert");
d->flipVertAction->setEnabled(false); d->flipVertAction->setEnabled(false);
// -- Standard 'Rotate' menu actions ---------------------------------------- // -- Standard 'Rotate' menu actions ----------------------------------------
d->rotateLeftAction = new KAction(i18n("Rotate Left"), d->rotateLeftAction = new TDEAction(i18n("Rotate Left"),
"rotate_ccw", SHIFT+CTRL+Key_Left, "rotate_ccw", SHIFT+CTRL+Key_Left,
TQT_TQOBJECT(m_canvas), TQT_SLOT(slotRotate270()), TQT_TQOBJECT(m_canvas), TQT_SLOT(slotRotate270()),
actionCollection(), actionCollection(),
"editorwindow_rotate_left"); "editorwindow_rotate_left");
d->rotateLeftAction->setEnabled(false); d->rotateLeftAction->setEnabled(false);
d->rotateRightAction = new KAction(i18n("Rotate Right"), d->rotateRightAction = new TDEAction(i18n("Rotate Right"),
"rotate_cw", SHIFT+CTRL+Key_Right, "rotate_cw", SHIFT+CTRL+Key_Right,
TQT_TQOBJECT(m_canvas), TQT_SLOT(slotRotate90()), TQT_TQOBJECT(m_canvas), TQT_SLOT(slotRotate90()),
actionCollection(), actionCollection(),
@ -478,7 +478,7 @@ void EditorWindow::setupStandardActions()
// ----------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------
m_themeMenuAction = new KSelectAction(i18n("&Themes"), 0, actionCollection(), "theme_menu"); m_themeMenuAction = new TDESelectAction(i18n("&Themes"), 0, actionCollection(), "theme_menu");
m_themeMenuAction->setItems(ThemeEngine::instance()->themeNames()); m_themeMenuAction->setItems(ThemeEngine::instance()->themeNames());
connect(m_themeMenuAction, TQT_SIGNAL(activated(const TQString&)), connect(m_themeMenuAction, TQT_SIGNAL(activated(const TQString&)),
@ -489,19 +489,19 @@ void EditorWindow::setupStandardActions()
// -- Standard 'Help' menu actions --------------------------------------------- // -- Standard 'Help' menu actions ---------------------------------------------
d->donateMoneyAction = new KAction(i18n("Donate..."), d->donateMoneyAction = new TDEAction(i18n("Donate..."),
0, 0, 0, 0,
TQT_TQOBJECT(this), TQT_SLOT(slotDonateMoney()), TQT_TQOBJECT(this), TQT_SLOT(slotDonateMoney()),
actionCollection(), actionCollection(),
"editorwindow_donatemoney"); "editorwindow_donatemoney");
d->contributeAction = new KAction(i18n("Contribute..."), d->contributeAction = new TDEAction(i18n("Contribute..."),
0, 0, 0, 0,
TQT_TQOBJECT(this), TQT_SLOT(slotContribute()), TQT_TQOBJECT(this), TQT_SLOT(slotContribute()),
actionCollection(), actionCollection(),
"editorwindow_contribute"); "editorwindow_contribute");
d->rawCameraListAction = new KAction(i18n("Supported RAW Cameras"), d->rawCameraListAction = new TDEAction(i18n("Supported RAW Cameras"),
"kdcraw", "kdcraw",
0, 0,
TQT_TQOBJECT(this), TQT_TQOBJECT(this),
@ -512,7 +512,7 @@ void EditorWindow::setupStandardActions()
void EditorWindow::setupStandardAccelerators() void EditorWindow::setupStandardAccelerators()
{ {
d->accelerators = new KAccel(this); d->accelerators = new TDEAccel(this);
d->accelerators->insert("Exit fullscreen", i18n("Exit Fullscreen mode"), d->accelerators->insert("Exit fullscreen", i18n("Exit Fullscreen mode"),
i18n("Exit out of the fullscreen mode"), i18n("Exit out of the fullscreen mode"),
@ -785,7 +785,7 @@ void EditorWindow::slotEscapePressed()
m_fullScreenAction->activate(); m_fullScreenAction->activate();
} }
void EditorWindow::plugActionAccel(KAction* action) void EditorWindow::plugActionAccel(TDEAction* action)
{ {
if (!action) if (!action)
return; return;
@ -798,7 +798,7 @@ void EditorWindow::plugActionAccel(KAction* action)
TQT_SLOT(activate())); TQT_SLOT(activate()));
} }
void EditorWindow::unplugActionAccel(KAction* action) void EditorWindow::unplugActionAccel(TDEAction* action)
{ {
d->accelerators->remove(action->text()); d->accelerators->remove(action->text());
} }
@ -1050,11 +1050,11 @@ void EditorWindow::slotToggleFullScreen()
topDock()->show(); topDock()->show();
bottomDock()->show(); bottomDock()->show();
TQObject* obj = child("ToolBar","KToolBar"); TQObject* obj = child("ToolBar","TDEToolBar");
if (obj) if (obj)
{ {
KToolBar* toolBar = static_cast<KToolBar*>(TQT_TQWIDGET(obj)); TDEToolBar* toolBar = static_cast<TDEToolBar*>(TQT_TQWIDGET(obj));
if (m_fullScreenAction->isPlugged(toolBar) && d->removeFullScreenButton) if (m_fullScreenAction->isPlugged(toolBar) && d->removeFullScreenButton)
m_fullScreenAction->unplug(toolBar); m_fullScreenAction->unplug(toolBar);
@ -1096,11 +1096,11 @@ void EditorWindow::slotToggleFullScreen()
rightDock()->hide(); rightDock()->hide();
bottomDock()->hide(); bottomDock()->hide();
TQObject* obj = child("ToolBar","KToolBar"); TQObject* obj = child("ToolBar","TDEToolBar");
if (obj) if (obj)
{ {
KToolBar* toolBar = static_cast<KToolBar*>(TQT_TQWIDGET(obj)); TDEToolBar* toolBar = static_cast<TDEToolBar*>(TQT_TQWIDGET(obj));
if (d->fullScreenHideToolBar) if (d->fullScreenHideToolBar)
{ {
@ -1290,8 +1290,8 @@ void EditorWindow::slotSelected(bool val)
void EditorWindow::hideToolBars() void EditorWindow::hideToolBars()
{ {
TQPtrListIterator<KToolBar> it = toolBarIterator(); TQPtrListIterator<TDEToolBar> it = toolBarIterator();
KToolBar* bar; TDEToolBar* bar;
for(;it.current()!=0L; ++it) for(;it.current()!=0L; ++it)
{ {
@ -1306,8 +1306,8 @@ void EditorWindow::hideToolBars()
void EditorWindow::showToolBars() void EditorWindow::showToolBars()
{ {
TQPtrListIterator<KToolBar> it = toolBarIterator(); TQPtrListIterator<TDEToolBar> it = toolBarIterator();
KToolBar* bar; TDEToolBar* bar;
for( ; it.current()!=0L ; ++it) for( ; it.current()!=0L ; ++it)
{ {

@ -44,10 +44,10 @@ class TQSplitter;
class TQPopupMenu; class TQPopupMenu;
class TQLabel; class TQLabel;
class KToolBarPopupAction; class TDEToolBarPopupAction;
class KToggleAction; class TDEToggleAction;
class KAction; class TDEAction;
class KSelectAction; class TDESelectAction;
namespace Digikam namespace Digikam
{ {
@ -63,7 +63,7 @@ class SlideShowSettings;
class EditorStackView; class EditorStackView;
class EditorWindowPriv; class EditorWindowPriv;
class DIGIKAM_EXPORT EditorWindow : public KMainWindow class DIGIKAM_EXPORT EditorWindow : public TDEMainWindow
{ {
Q_OBJECT Q_OBJECT
@ -94,21 +94,21 @@ protected:
TQSplitter *m_splitter; TQSplitter *m_splitter;
KAction *m_saveAction; TDEAction *m_saveAction;
KAction *m_saveAsAction; TDEAction *m_saveAsAction;
KAction *m_revertAction; TDEAction *m_revertAction;
KAction *m_fileDeleteAction; TDEAction *m_fileDeleteAction;
KAction *m_forwardAction; TDEAction *m_forwardAction;
KAction *m_backwardAction; TDEAction *m_backwardAction;
KAction *m_firstAction; TDEAction *m_firstAction;
KAction *m_lastAction; TDEAction *m_lastAction;
KToggleAction *m_fullScreenAction; TDEToggleAction *m_fullScreenAction;
KSelectAction *m_themeMenuAction; TDESelectAction *m_themeMenuAction;
KToolBarPopupAction *m_undoAction; TDEToolBarPopupAction *m_undoAction;
KToolBarPopupAction *m_redoAction; TDEToolBarPopupAction *m_redoAction;
DPopupMenu *m_contextMenu; DPopupMenu *m_contextMenu;
EditorStackView *m_stackView; EditorStackView *m_stackView;
@ -134,8 +134,8 @@ protected:
void printImage(KURL url); void printImage(KURL url);
void plugActionAccel(KAction* action); void plugActionAccel(TDEAction* action);
void unplugActionAccel(KAction* action); void unplugActionAccel(TDEAction* action);
void unLoadImagePlugins(); void unLoadImagePlugins();
void loadImagePlugins(); void loadImagePlugins();

@ -29,12 +29,12 @@ class TQToolButton;
class TQLabel; class TQLabel;
class KComboBox; class KComboBox;
class KAction; class TDEAction;
class KToggleAction; class TDEToggleAction;
class KWidgetAction; class KWidgetAction;
class KSelectAction; class TDESelectAction;
class KActionMenu; class TDEActionMenu;
class KAccel; class TDEAccel;
namespace Digikam namespace Digikam
{ {
@ -100,36 +100,36 @@ public:
TQToolButton *underExposureIndicator; TQToolButton *underExposureIndicator;
TQToolButton *overExposureIndicator; TQToolButton *overExposureIndicator;
KAction *rawCameraListAction; TDEAction *rawCameraListAction;
KAction *donateMoneyAction; TDEAction *donateMoneyAction;
KAction *contributeAction; TDEAction *contributeAction;
KAction *filePrintAction; TDEAction *filePrintAction;
KAction *copyAction; TDEAction *copyAction;
KAction *resizeAction; TDEAction *resizeAction;
KAction *cropAction; TDEAction *cropAction;
KAction *zoomPlusAction; TDEAction *zoomPlusAction;
KAction *zoomMinusAction; TDEAction *zoomMinusAction;
KAction *zoomTo100percents; TDEAction *zoomTo100percents;
KAction *zoomFitToSelectAction; TDEAction *zoomFitToSelectAction;
KAction *rotateLeftAction; TDEAction *rotateLeftAction;
KAction *rotateRightAction; TDEAction *rotateRightAction;
KAction *flipHorizAction; TDEAction *flipHorizAction;
KAction *flipVertAction; TDEAction *flipVertAction;
KAction *slideShowAction; TDEAction *slideShowAction;
KAction *selectAllAction; TDEAction *selectAllAction;
KAction *selectNoneAction; TDEAction *selectNoneAction;
KToggleAction *zoomFitToWindowAction; TDEToggleAction *zoomFitToWindowAction;
KToggleAction *viewCMViewAction; TDEToggleAction *viewCMViewAction;
KToggleAction *viewUnderExpoAction; TDEToggleAction *viewUnderExpoAction;
KToggleAction *viewOverExpoAction; TDEToggleAction *viewOverExpoAction;
KToggleAction *showMenuBarAction; TDEToggleAction *showMenuBarAction;
KWidgetAction *zoomComboAction; KWidgetAction *zoomComboAction;
KComboBox *zoomCombo; KComboBox *zoomCombo;
KAccel *accelerators; TDEAccel *accelerators;
ICCSettingsContainer *ICCSettings; ICCSettingsContainer *ICCSettings;

@ -129,17 +129,17 @@ public:
KURL urlCurrent; KURL urlCurrent;
// Rating actions. // Rating actions.
KAction *star0; TDEAction *star0;
KAction *star1; TDEAction *star1;
KAction *star2; TDEAction *star2;
KAction *star3; TDEAction *star3;
KAction *star4; TDEAction *star4;
KAction *star5; TDEAction *star5;
// Delete actions // Delete actions
KAction *fileDeletePermanentlyAction; TDEAction *fileDeletePermanentlyAction;
KAction *fileDeletePermanentlyDirectlyAction; TDEAction *fileDeletePermanentlyDirectlyAction;
KAction *fileTrashDirectlyAction; TDEAction *fileTrashDirectlyAction;
ImageInfoList imageInfoList; ImageInfoList imageInfoList;
ImageInfo *imageInfoCurrent; ImageInfo *imageInfoCurrent;
@ -311,29 +311,29 @@ void ImageWindow::setupActions()
// -- Rating actions --------------------------------------------------------------- // -- Rating actions ---------------------------------------------------------------
d->star0 = new KAction(i18n("Assign Rating \"No Stars\""), CTRL+Key_0, d->star0 = new TDEAction(i18n("Assign Rating \"No Stars\""), CTRL+Key_0,
TQT_TQOBJECT(this), TQT_SLOT(slotAssignRatingNoStar()), TQT_TQOBJECT(this), TQT_SLOT(slotAssignRatingNoStar()),
actionCollection(), "imageview_ratenostar"); actionCollection(), "imageview_ratenostar");
d->star1 = new KAction(i18n("Assign Rating \"One Star\""), CTRL+Key_1, d->star1 = new TDEAction(i18n("Assign Rating \"One Star\""), CTRL+Key_1,
TQT_TQOBJECT(this), TQT_SLOT(slotAssignRatingOneStar()), TQT_TQOBJECT(this), TQT_SLOT(slotAssignRatingOneStar()),
actionCollection(), "imageview_rateonestar"); actionCollection(), "imageview_rateonestar");
d->star2 = new KAction(i18n("Assign Rating \"Two Stars\""), CTRL+Key_2, d->star2 = new TDEAction(i18n("Assign Rating \"Two Stars\""), CTRL+Key_2,
TQT_TQOBJECT(this), TQT_SLOT(slotAssignRatingTwoStar()), TQT_TQOBJECT(this), TQT_SLOT(slotAssignRatingTwoStar()),
actionCollection(), "imageview_ratetwostar"); actionCollection(), "imageview_ratetwostar");
d->star3 = new KAction(i18n("Assign Rating \"Three Stars\""), CTRL+Key_3, d->star3 = new TDEAction(i18n("Assign Rating \"Three Stars\""), CTRL+Key_3,
TQT_TQOBJECT(this), TQT_SLOT(slotAssignRatingThreeStar()), TQT_TQOBJECT(this), TQT_SLOT(slotAssignRatingThreeStar()),
actionCollection(), "imageview_ratethreestar"); actionCollection(), "imageview_ratethreestar");
d->star4 = new KAction(i18n("Assign Rating \"Four Stars\""), CTRL+Key_4, d->star4 = new TDEAction(i18n("Assign Rating \"Four Stars\""), CTRL+Key_4,
TQT_TQOBJECT(this), TQT_SLOT(slotAssignRatingFourStar()), TQT_TQOBJECT(this), TQT_SLOT(slotAssignRatingFourStar()),
actionCollection(), "imageview_ratefourstar"); actionCollection(), "imageview_ratefourstar");
d->star5 = new KAction(i18n("Assign Rating \"Five Stars\""), CTRL+Key_5, d->star5 = new TDEAction(i18n("Assign Rating \"Five Stars\""), CTRL+Key_5,
TQT_TQOBJECT(this), TQT_SLOT(slotAssignRatingFiveStar()), TQT_TQOBJECT(this), TQT_SLOT(slotAssignRatingFiveStar()),
actionCollection(), "imageview_ratefivestar"); actionCollection(), "imageview_ratefivestar");
// -- Special Delete actions --------------------------------------------------------------- // -- Special Delete actions ---------------------------------------------------------------
// Pop up dialog to ask user whether to permanently delete // Pop up dialog to ask user whether to permanently delete
d->fileDeletePermanentlyAction = new KAction(i18n("Delete File Permanently"), d->fileDeletePermanentlyAction = new TDEAction(i18n("Delete File Permanently"),
"editdelete", "editdelete",
SHIFT+Key_Delete, SHIFT+Key_Delete,
TQT_TQOBJECT(this), TQT_TQOBJECT(this),
@ -343,7 +343,7 @@ void ImageWindow::setupActions()
// These two actions are hidden, no menu entry, no toolbar entry, no shortcut. // These two actions are hidden, no menu entry, no toolbar entry, no shortcut.
// Power users may add them. // Power users may add them.
d->fileDeletePermanentlyDirectlyAction = new KAction(i18n("Delete Permanently without Confirmation"), d->fileDeletePermanentlyDirectlyAction = new TDEAction(i18n("Delete Permanently without Confirmation"),
"editdelete", "editdelete",
0, 0,
TQT_TQOBJECT(this), TQT_TQOBJECT(this),
@ -351,7 +351,7 @@ void ImageWindow::setupActions()
actionCollection(), actionCollection(),
"image_delete_permanently_directly"); "image_delete_permanently_directly");
d->fileTrashDirectlyAction = new KAction(i18n("Move to Trash without Confirmation"), d->fileTrashDirectlyAction = new TDEAction(i18n("Move to Trash without Confirmation"),
"edittrash", "edittrash",
0, 0,
TQT_TQOBJECT(this), TQT_TQOBJECT(this),

@ -68,7 +68,7 @@ public:
TQToolButton *cornerButton; TQToolButton *cornerButton;
KPopupFrame *panIconPopup; TDEPopupFrame *panIconPopup;
KURL url; KURL url;
@ -214,7 +214,7 @@ void RawPreview::slotCornerButtonPressed()
d->panIconPopup = 0; d->panIconPopup = 0;
} }
d->panIconPopup = new KPopupFrame(this); d->panIconPopup = new TDEPopupFrame(this);
PanIconWidget *pan = new PanIconWidget(d->panIconPopup); PanIconWidget *pan = new PanIconWidget(d->panIconPopup);
pan->setImage(180, 120, postProcessedImage()); pan->setImage(180, 120, postProcessedImage());
d->panIconPopup->setMainWidget(pan); d->panIconPopup->setMainWidget(pan);

@ -167,7 +167,7 @@ void LightTableBar::contentsMouseReleaseEvent(TQMouseEvent *e)
if (e->button() == Qt::RightButton) if (e->button() == Qt::RightButton)
{ {
KPopupMenu popmenu(this); TDEPopupMenu popmenu(this);
if (item) if (item)
{ {

@ -108,7 +108,7 @@ public:
TQToolButton *cornerButton; TQToolButton *cornerButton;
KPopupFrame *panIconPopup; TDEPopupFrame *panIconPopup;
PanIconWidget *panIconWidget; PanIconWidget *panIconWidget;
@ -537,7 +537,7 @@ void LightTablePreview::slotCornerButtonPressed()
d->panIconPopup = 0; d->panIconPopup = 0;
} }
d->panIconPopup = new KPopupFrame(this); d->panIconPopup = new TDEPopupFrame(this);
PanIconWidget *pan = new PanIconWidget(d->panIconPopup); PanIconWidget *pan = new PanIconWidget(d->panIconPopup);
pan->setImage(180, 120, getImage()); pan->setImage(180, 120, getImage());
d->panIconPopup->setMainWidget(pan); d->panIconPopup->setMainWidget(pan);

@ -87,7 +87,7 @@ bool LightTableWindow::lightTableWindowCreated()
} }
LightTableWindow::LightTableWindow() LightTableWindow::LightTableWindow()
: KMainWindow(0, "lighttable", WType_TopLevel) : TDEMainWindow(0, "lighttable", WType_TopLevel)
{ {
d = new LightTableWindowPriv; d = new LightTableWindowPriv;
m_instance = this; m_instance = this;
@ -336,46 +336,46 @@ void LightTableWindow::setupActions()
actionCollection(), "lighttable_forward"); actionCollection(), "lighttable_forward");
d->forwardAction->setEnabled(false); d->forwardAction->setEnabled(false);
d->firstAction = new KAction(i18n("&First"), "start", d->firstAction = new TDEAction(i18n("&First"), "start",
KStdAccel::shortcut( KStdAccel::Home), TDEStdAccel::shortcut( TDEStdAccel::Home),
TQT_TQOBJECT(this), TQT_SLOT(slotFirst()), TQT_TQOBJECT(this), TQT_SLOT(slotFirst()),
actionCollection(), "lighttable_first"); actionCollection(), "lighttable_first");
d->firstAction->setEnabled(false); d->firstAction->setEnabled(false);
d->lastAction = new KAction(i18n("&Last"), "finish", d->lastAction = new TDEAction(i18n("&Last"), "finish",
KStdAccel::shortcut( KStdAccel::End), TDEStdAccel::shortcut( TDEStdAccel::End),
TQT_TQOBJECT(this), TQT_SLOT(slotLast()), TQT_TQOBJECT(this), TQT_SLOT(slotLast()),
actionCollection(), "lighttable_last"); actionCollection(), "lighttable_last");
d->lastAction->setEnabled(false); d->lastAction->setEnabled(false);
d->setItemLeftAction = new KAction(i18n("On Left"), "previous", d->setItemLeftAction = new TDEAction(i18n("On Left"), "previous",
CTRL+Key_L, TQT_TQOBJECT(this), TQT_SLOT(slotSetItemLeft()), CTRL+Key_L, TQT_TQOBJECT(this), TQT_SLOT(slotSetItemLeft()),
actionCollection(), "lighttable_setitemleft"); actionCollection(), "lighttable_setitemleft");
d->setItemLeftAction->setEnabled(false); d->setItemLeftAction->setEnabled(false);
d->setItemLeftAction->setWhatsThis(i18n("Show item on left panel")); d->setItemLeftAction->setWhatsThis(i18n("Show item on left panel"));
d->setItemRightAction = new KAction(i18n("On Right"), "next", d->setItemRightAction = new TDEAction(i18n("On Right"), "next",
CTRL+Key_R, TQT_TQOBJECT(this), TQT_SLOT(slotSetItemRight()), CTRL+Key_R, TQT_TQOBJECT(this), TQT_SLOT(slotSetItemRight()),
actionCollection(), "lighttable_setitemright"); actionCollection(), "lighttable_setitemright");
d->setItemRightAction->setEnabled(false); d->setItemRightAction->setEnabled(false);
d->setItemRightAction->setWhatsThis(i18n("Show item on right panel")); d->setItemRightAction->setWhatsThis(i18n("Show item on right panel"));
d->editItemAction = new KAction(i18n("Edit"), "editimage", d->editItemAction = new TDEAction(i18n("Edit"), "editimage",
Key_F4, TQT_TQOBJECT(this), TQT_SLOT(slotEditItem()), Key_F4, TQT_TQOBJECT(this), TQT_SLOT(slotEditItem()),
actionCollection(), "lighttable_edititem"); actionCollection(), "lighttable_edititem");
d->editItemAction->setEnabled(false); d->editItemAction->setEnabled(false);
d->removeItemAction = new KAction(i18n("Remove item from LightTable"), "fileclose", d->removeItemAction = new TDEAction(i18n("Remove item from LightTable"), "fileclose",
CTRL+Key_K, TQT_TQOBJECT(this), TQT_SLOT(slotRemoveItem()), CTRL+Key_K, TQT_TQOBJECT(this), TQT_SLOT(slotRemoveItem()),
actionCollection(), "lighttable_removeitem"); actionCollection(), "lighttable_removeitem");
d->removeItemAction->setEnabled(false); d->removeItemAction->setEnabled(false);
d->clearListAction = new KAction(i18n("Remove all items from LightTable"), "editshred", d->clearListAction = new TDEAction(i18n("Remove all items from LightTable"), "editshred",
CTRL+SHIFT+Key_K, TQT_TQOBJECT(this), TQT_SLOT(slotClearItemsList()), CTRL+SHIFT+Key_K, TQT_TQOBJECT(this), TQT_SLOT(slotClearItemsList()),
actionCollection(), "lighttable_clearlist"); actionCollection(), "lighttable_clearlist");
d->clearListAction->setEnabled(false); d->clearListAction->setEnabled(false);
d->fileDeleteAction = new KAction(i18n("Move to Trash"), "edittrash", d->fileDeleteAction = new TDEAction(i18n("Move to Trash"), "edittrash",
Key_Delete, Key_Delete,
TQT_TQOBJECT(this), TQT_SLOT(slotDeleteItem()), TQT_TQOBJECT(this), TQT_SLOT(slotDeleteItem()),
actionCollection(), "lighttable_filedelete"); actionCollection(), "lighttable_filedelete");
@ -385,14 +385,14 @@ void LightTableWindow::setupActions()
// -- Standard 'View' menu actions --------------------------------------------- // -- Standard 'View' menu actions ---------------------------------------------
d->syncPreviewAction = new KToggleAction(i18n("Synchronize"), "goto", d->syncPreviewAction = new TDEToggleAction(i18n("Synchronize"), "goto",
CTRL+SHIFT+Key_Y, TQT_TQOBJECT(this), CTRL+SHIFT+Key_Y, TQT_TQOBJECT(this),
TQT_SLOT(slotToggleSyncPreview()), TQT_SLOT(slotToggleSyncPreview()),
actionCollection(), "lighttable_syncpreview"); actionCollection(), "lighttable_syncpreview");
d->syncPreviewAction->setEnabled(false); d->syncPreviewAction->setEnabled(false);
d->syncPreviewAction->setWhatsThis(i18n("Synchronize preview from left and right panels")); d->syncPreviewAction->setWhatsThis(i18n("Synchronize preview from left and right panels"));
d->navigateByPairAction = new KToggleAction(i18n("By Pair"), "kcmsystem", d->navigateByPairAction = new TDEToggleAction(i18n("By Pair"), "kcmsystem",
CTRL+SHIFT+Key_P, TQT_TQOBJECT(this), CTRL+SHIFT+Key_P, TQT_TQOBJECT(this),
TQT_SLOT(slotToggleNavigateByPair()), TQT_SLOT(slotToggleNavigateByPair()),
actionCollection(), "lighttable_navigatebypair"); actionCollection(), "lighttable_navigatebypair");
@ -407,23 +407,23 @@ void LightTableWindow::setupActions()
actionCollection(), "lighttable_zoomminus"); actionCollection(), "lighttable_zoomminus");
d->zoomMinusAction->setEnabled(false); d->zoomMinusAction->setEnabled(false);
d->zoomTo100percents = new KAction(i18n("Zoom to 100%"), "viewmag1", d->zoomTo100percents = new TDEAction(i18n("Zoom to 100%"), "viewmag1",
ALT+CTRL+Key_0, // NOTE: Photoshop 7 use ALT+CTRL+0. ALT+CTRL+Key_0, // NOTE: Photoshop 7 use ALT+CTRL+0.
TQT_TQOBJECT(this), TQT_SLOT(slotZoomTo100Percents()), TQT_TQOBJECT(this), TQT_SLOT(slotZoomTo100Percents()),
actionCollection(), "lighttable_zoomto100percents"); actionCollection(), "lighttable_zoomto100percents");
d->zoomFitToWindowAction = new KAction(i18n("Fit to &Window"), "view_fit_window", d->zoomFitToWindowAction = new TDEAction(i18n("Fit to &Window"), "view_fit_window",
CTRL+SHIFT+Key_E, TQT_TQOBJECT(this), TQT_SLOT(slotFitToWindow()), CTRL+SHIFT+Key_E, TQT_TQOBJECT(this), TQT_SLOT(slotFitToWindow()),
actionCollection(), "lighttable_zoomfit2window"); actionCollection(), "lighttable_zoomfit2window");
// Do not use std KDE action for full screen because action text is too large for app. toolbar. // Do not use std KDE action for full screen because action text is too large for app. toolbar.
d->fullScreenAction = new KToggleAction(i18n("Full Screen"), "window_fullscreen", d->fullScreenAction = new TDEToggleAction(i18n("Full Screen"), "window_fullscreen",
CTRL+SHIFT+Key_F, TQT_TQOBJECT(this), CTRL+SHIFT+Key_F, TQT_TQOBJECT(this),
TQT_SLOT(slotToggleFullScreen()), TQT_SLOT(slotToggleFullScreen()),
actionCollection(), "lighttable_fullscreen"); actionCollection(), "lighttable_fullscreen");
d->fullScreenAction->setWhatsThis(i18n("Toggle the window to full screen mode")); d->fullScreenAction->setWhatsThis(i18n("Toggle the window to full screen mode"));
d->slideShowAction = new KAction(i18n("Slideshow"), "slideshow", Key_F9, d->slideShowAction = new TDEAction(i18n("Slideshow"), "slideshow", Key_F9,
TQT_TQOBJECT(this), TQT_SLOT(slotToggleSlideShow()), TQT_TQOBJECT(this), TQT_SLOT(slotToggleSlideShow()),
actionCollection(),"lighttable_slideshow"); actionCollection(),"lighttable_slideshow");
@ -437,7 +437,7 @@ void LightTableWindow::setupActions()
// ----------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------
d->themeMenuAction = new KSelectAction(i18n("&Themes"), 0, actionCollection(), "theme_menu"); d->themeMenuAction = new TDESelectAction(i18n("&Themes"), 0, actionCollection(), "theme_menu");
connect(d->themeMenuAction, TQT_SIGNAL(activated(const TQString&)), connect(d->themeMenuAction, TQT_SIGNAL(activated(const TQString&)),
TQT_TQOBJECT(this), TQT_SLOT(slotChangeTheme(const TQString&))); TQT_TQOBJECT(this), TQT_SLOT(slotChangeTheme(const TQString&)));
@ -447,19 +447,19 @@ void LightTableWindow::setupActions()
// -- Standard 'Help' menu actions --------------------------------------------- // -- Standard 'Help' menu actions ---------------------------------------------
d->donateMoneyAction = new KAction(i18n("Donate..."), d->donateMoneyAction = new TDEAction(i18n("Donate..."),
0, 0, 0, 0,
TQT_TQOBJECT(this), TQT_SLOT(slotDonateMoney()), TQT_TQOBJECT(this), TQT_SLOT(slotDonateMoney()),
actionCollection(), actionCollection(),
"lighttable_donatemoney"); "lighttable_donatemoney");
d->contributeAction = new KAction(i18n("Contribute..."), d->contributeAction = new TDEAction(i18n("Contribute..."),
0, 0, 0, 0,
TQT_TQOBJECT(this), TQT_SLOT(slotContribute()), TQT_TQOBJECT(this), TQT_SLOT(slotContribute()),
actionCollection(), actionCollection(),
"lighttable_contribute"); "lighttable_contribute");
d->rawCameraListAction = new KAction(i18n("Supported RAW Cameras"), d->rawCameraListAction = new TDEAction(i18n("Supported RAW Cameras"),
"kdcraw", "kdcraw",
0, 0,
TQT_TQOBJECT(this), TQT_TQOBJECT(this),
@ -476,22 +476,22 @@ void LightTableWindow::setupActions()
// -- Rating actions --------------------------------------------------------------- // -- Rating actions ---------------------------------------------------------------
d->star0 = new KAction(i18n("Assign Rating \"No Stars\""), CTRL+Key_0, d->star0 = new TDEAction(i18n("Assign Rating \"No Stars\""), CTRL+Key_0,
TQT_TQOBJECT(d->barView), TQT_SLOT(slotAssignRatingNoStar()), TQT_TQOBJECT(d->barView), TQT_SLOT(slotAssignRatingNoStar()),
actionCollection(), "lighttable_ratenostar"); actionCollection(), "lighttable_ratenostar");
d->star1 = new KAction(i18n("Assign Rating \"One Star\""), CTRL+Key_1, d->star1 = new TDEAction(i18n("Assign Rating \"One Star\""), CTRL+Key_1,
TQT_TQOBJECT(d->barView), TQT_SLOT(slotAssignRatingOneStar()), TQT_TQOBJECT(d->barView), TQT_SLOT(slotAssignRatingOneStar()),
actionCollection(), "lighttable_rateonestar"); actionCollection(), "lighttable_rateonestar");
d->star2 = new KAction(i18n("Assign Rating \"Two Stars\""), CTRL+Key_2, d->star2 = new TDEAction(i18n("Assign Rating \"Two Stars\""), CTRL+Key_2,
TQT_TQOBJECT(d->barView), TQT_SLOT(slotAssignRatingTwoStar()), TQT_TQOBJECT(d->barView), TQT_SLOT(slotAssignRatingTwoStar()),
actionCollection(), "lighttable_ratetwostar"); actionCollection(), "lighttable_ratetwostar");
d->star3 = new KAction(i18n("Assign Rating \"Three Stars\""), CTRL+Key_3, d->star3 = new TDEAction(i18n("Assign Rating \"Three Stars\""), CTRL+Key_3,
TQT_TQOBJECT(d->barView), TQT_SLOT(slotAssignRatingThreeStar()), TQT_TQOBJECT(d->barView), TQT_SLOT(slotAssignRatingThreeStar()),
actionCollection(), "lighttable_ratethreestar"); actionCollection(), "lighttable_ratethreestar");
d->star4 = new KAction(i18n("Assign Rating \"Four Stars\""), CTRL+Key_4, d->star4 = new TDEAction(i18n("Assign Rating \"Four Stars\""), CTRL+Key_4,
TQT_TQOBJECT(d->barView), TQT_SLOT(slotAssignRatingFourStar()), TQT_TQOBJECT(d->barView), TQT_SLOT(slotAssignRatingFourStar()),
actionCollection(), "lighttable_ratefourstar"); actionCollection(), "lighttable_ratefourstar");
d->star5 = new KAction(i18n("Assign Rating \"Five Stars\""), CTRL+Key_5, d->star5 = new TDEAction(i18n("Assign Rating \"Five Stars\""), CTRL+Key_5,
TQT_TQOBJECT(d->barView), TQT_SLOT(slotAssignRatingFiveStar()), TQT_TQOBJECT(d->barView), TQT_SLOT(slotAssignRatingFiveStar()),
actionCollection(), "lighttable_ratefivestar"); actionCollection(), "lighttable_ratefivestar");
@ -504,7 +504,7 @@ void LightTableWindow::setupActions()
void LightTableWindow::setupAccelerators() void LightTableWindow::setupAccelerators()
{ {
d->accelerators = new KAccel(this); d->accelerators = new TDEAccel(this);
d->accelerators->insert("Exit fullscreen", i18n("Exit Fullscreen mode"), d->accelerators->insert("Exit fullscreen", i18n("Exit Fullscreen mode"),
i18n("Exit fullscreen viewing mode"), i18n("Exit fullscreen viewing mode"),
@ -1345,11 +1345,11 @@ void LightTableWindow::slotToggleFullScreen()
topDock()->show(); topDock()->show();
bottomDock()->show(); bottomDock()->show();
TQObject* obj = child("ToolBar","KToolBar"); TQObject* obj = child("ToolBar","TDEToolBar");
if (obj) if (obj)
{ {
KToolBar* toolBar = static_cast<KToolBar*>(TQT_TQWIDGET(obj)); TDEToolBar* toolBar = static_cast<TDEToolBar*>(TQT_TQWIDGET(obj));
if (d->fullScreenAction->isPlugged(toolBar) && d->removeFullScreenButton) if (d->fullScreenAction->isPlugged(toolBar) && d->removeFullScreenButton)
d->fullScreenAction->unplug(toolBar); d->fullScreenAction->unplug(toolBar);
@ -1385,11 +1385,11 @@ void LightTableWindow::slotToggleFullScreen()
rightDock()->hide(); rightDock()->hide();
bottomDock()->hide(); bottomDock()->hide();
TQObject* obj = child("ToolBar","KToolBar"); TQObject* obj = child("ToolBar","TDEToolBar");
if (obj) if (obj)
{ {
KToolBar* toolBar = static_cast<KToolBar*>(TQT_TQWIDGET(obj)); TDEToolBar* toolBar = static_cast<TDEToolBar*>(TQT_TQWIDGET(obj));
if (d->fullScreenHideToolBar) if (d->fullScreenHideToolBar)
{ {
@ -1441,8 +1441,8 @@ void LightTableWindow::slotEscapePressed()
void LightTableWindow::showToolBars() void LightTableWindow::showToolBars()
{ {
TQPtrListIterator<KToolBar> it = toolBarIterator(); TQPtrListIterator<TDEToolBar> it = toolBarIterator();
KToolBar* bar; TDEToolBar* bar;
for( ; it.current()!=0L ; ++it) for( ; it.current()!=0L ; ++it)
{ {
@ -1457,8 +1457,8 @@ void LightTableWindow::showToolBars()
void LightTableWindow::hideToolBars() void LightTableWindow::hideToolBars()
{ {
TQPtrListIterator<KToolBar> it = toolBarIterator(); TQPtrListIterator<TDEToolBar> it = toolBarIterator();
KToolBar* bar; TDEToolBar* bar;
for( ; it.current()!=0L ; ++it) for( ; it.current()!=0L ; ++it)
{ {
@ -1471,7 +1471,7 @@ void LightTableWindow::hideToolBars()
} }
} }
void LightTableWindow::plugActionAccel(KAction* action) void LightTableWindow::plugActionAccel(TDEAction* action)
{ {
if (!action) if (!action)
return; return;
@ -1484,7 +1484,7 @@ void LightTableWindow::plugActionAccel(KAction* action)
TQT_SLOT(activate())); TQT_SLOT(activate()));
} }
void LightTableWindow::unplugActionAccel(KAction* action) void LightTableWindow::unplugActionAccel(TDEAction* action)
{ {
d->accelerators->remove(action->text()); d->accelerators->remove(action->text());
} }

@ -37,7 +37,7 @@
#include "imageinfo.h" #include "imageinfo.h"
class KAction; class TDEAction;
namespace Digikam namespace Digikam
{ {
@ -46,7 +46,7 @@ class SlideShowSettings;
class ThumbBarItem; class ThumbBarItem;
class LightTableWindowPriv; class LightTableWindowPriv;
class LightTableWindow : public KMainWindow class LightTableWindow : public TDEMainWindow
{ {
Q_OBJECT Q_OBJECT
@ -82,8 +82,8 @@ private:
void slideShow(bool startWithCurrent, SlideShowSettings& settings); void slideShow(bool startWithCurrent, SlideShowSettings& settings);
void showToolBars(); void showToolBars();
void hideToolBars(); void hideToolBars();
void plugActionAccel(KAction* action); void plugActionAccel(TDEAction* action);
void unplugActionAccel(KAction* action); void unplugActionAccel(TDEAction* action);
void readSettings(); void readSettings();
void writeSettings(); void writeSettings();
void refreshStatusBar(); void refreshStatusBar();

@ -106,41 +106,41 @@ public:
TQSplitter *vSplitter; TQSplitter *vSplitter;
// Rating actions. // Rating actions.
KAction *star0; TDEAction *star0;
KAction *star1; TDEAction *star1;
KAction *star2; TDEAction *star2;
KAction *star3; TDEAction *star3;
KAction *star4; TDEAction *star4;
KAction *star5; TDEAction *star5;
KAction *forwardAction; TDEAction *forwardAction;
KAction *backwardAction; TDEAction *backwardAction;
KAction *firstAction; TDEAction *firstAction;
KAction *lastAction; TDEAction *lastAction;
KAction *setItemLeftAction; TDEAction *setItemLeftAction;
KAction *setItemRightAction; TDEAction *setItemRightAction;
KAction *clearListAction; TDEAction *clearListAction;
KAction *editItemAction; TDEAction *editItemAction;
KAction *removeItemAction; TDEAction *removeItemAction;
KAction *fileDeleteAction; TDEAction *fileDeleteAction;
KAction *slideShowAction; TDEAction *slideShowAction;
KAction *donateMoneyAction; TDEAction *donateMoneyAction;
KAction *contributeAction; TDEAction *contributeAction;
KAction *zoomPlusAction; TDEAction *zoomPlusAction;
KAction *zoomMinusAction; TDEAction *zoomMinusAction;
KAction *zoomTo100percents; TDEAction *zoomTo100percents;
KAction *zoomFitToWindowAction; TDEAction *zoomFitToWindowAction;
KAction *rawCameraListAction; TDEAction *rawCameraListAction;
KSelectAction *themeMenuAction; TDESelectAction *themeMenuAction;
KToggleAction *fullScreenAction; TDEToggleAction *fullScreenAction;
KToggleAction *syncPreviewAction; TDEToggleAction *syncPreviewAction;
KToggleAction *navigateByPairAction; TDEToggleAction *navigateByPairAction;
KToggleAction *showMenuBarAction; TDEToggleAction *showMenuBarAction;
KAccel *accelerators; TDEAccel *accelerators;
LightTableBar *barView; LightTableBar *barView;

@ -90,7 +90,7 @@ SetupCollections::SetupCollections(TQWidget* parent )
// -------------------------------------------------------- // --------------------------------------------------------
d->albumCollectionBox = new KListBox(this); d->albumCollectionBox = new TDEListBox(this);
TQWhatsThis::add( d->albumCollectionBox, i18n("<p>You can add or remove Album " TQWhatsThis::add( d->albumCollectionBox, i18n("<p>You can add or remove Album "
"collection types here to improve how " "collection types here to improve how "
"your Albums are sorted in digiKam.")); "your Albums are sorted in digiKam."));

Loading…
Cancel
Save