summaryrefslogtreecommitdiffstats
path: root/kipi-plugins/batchprocessimages/batchprocessimageslist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kipi-plugins/batchprocessimages/batchprocessimageslist.cpp')
-rw-r--r--kipi-plugins/batchprocessimages/batchprocessimageslist.cpp52
1 files changed, 26 insertions, 26 deletions
diff --git a/kipi-plugins/batchprocessimages/batchprocessimageslist.cpp b/kipi-plugins/batchprocessimages/batchprocessimageslist.cpp
index fd0e3fd..aa2ad34 100644
--- a/kipi-plugins/batchprocessimages/batchprocessimageslist.cpp
+++ b/kipi-plugins/batchprocessimages/batchprocessimageslist.cpp
@@ -20,14 +20,14 @@
*
* ============================================================ */
-// Include files for Qt
+// Include files for TQt
-#include <qevent.h>
-#include <qdragobject.h>
-#include <qstrlist.h>
-#include <qfileinfo.h>
-#include <qwhatsthis.h>
-#include <qlistview.h>
+#include <tqevent.h>
+#include <tqdragobject.h>
+#include <tqstrlist.h>
+#include <tqfileinfo.h>
+#include <tqwhatsthis.h>
+#include <tqlistview.h>
// Include files for KDE
@@ -41,8 +41,8 @@
namespace KIPIBatchProcessImagesPlugin
{
-BatchProcessImagesList::BatchProcessImagesList(QWidget *parent, const char *name)
- : KListView(parent, name)
+BatchProcessImagesList::BatchProcessImagesList(TQWidget *tqparent, const char *name)
+ : KListView(tqparent, name)
{
setAcceptDrops(true);
setDropVisualizer(false);
@@ -52,10 +52,10 @@ BatchProcessImagesList::BatchProcessImagesList(QWidget *parent, const char *name
addColumn(i18n("Result"));
setSorting(3);
setItemMargin(3);
- setResizeMode(QListView::LastColumn);
- setSelectionMode(QListView::Single);
+ setResizeMode(TQListView::LastColumn);
+ setSelectionMode(TQListView::Single);
setAllColumnsShowFocus ( true );
- QWhatsThis::add( this, i18n("<p>You can see here the operations' results "
+ TQWhatsThis::add( this, i18n("<p>You can see here the operations' results "
"during the process. Double-click on an item for more "
"information once the process has ended. "
"<p>You can use the \"Add\" button or drag-and-drop "
@@ -64,41 +64,41 @@ BatchProcessImagesList::BatchProcessImagesList(QWidget *parent, const char *name
"the process' results will be merged to the target Album.") );
}
-void BatchProcessImagesList::dragEnterEvent(QDragEnterEvent *e)
+void BatchProcessImagesList::dragEnterEvent(TQDragEnterEvent *e)
{
- e->accept(QUriDrag::canDecode(e));
+ e->accept(TQUriDrag::canDecode(e));
}
-bool BatchProcessImagesList::acceptDrag(QDropEvent* e) const
+bool BatchProcessImagesList::acceptDrag(TQDropEvent* e) const
{
- return ( QUriDrag::canDecode(e) );
+ return ( TQUriDrag::canDecode(e) );
}
-void BatchProcessImagesList::contentsDropEvent(QDropEvent* e)
+void BatchProcessImagesList::contentsDropEvent(TQDropEvent* e)
{
droppedImagesItems(e);
}
-void BatchProcessImagesList::dropEvent(QDropEvent *e)
+void BatchProcessImagesList::dropEvent(TQDropEvent *e)
{
droppedImagesItems(e);
}
-void BatchProcessImagesList::droppedImagesItems(QDropEvent *e)
+void BatchProcessImagesList::droppedImagesItems(TQDropEvent *e)
{
- QStrList strList;
- QStringList FilesPath;
+ TQStrList strList;
+ TQStringList FilesPath;
- if ( !QUriDrag::decode(e, strList) ) return;
+ if ( !TQUriDrag::decode(e, strList) ) return;
- QStrList stringList;
- QStrListIterator it(strList);
+ TQStrList stringList;
+ TQStrListIterator it(strList);
char *str;
while ( (str = it.current()) != 0 )
{
- QString filePath = QUriDrag::uriToLocalFile(str);
- QFileInfo fileInfo(filePath);
+ TQString filePath = TQUriDrag::uriToLocalFile(str);
+ TQFileInfo fileInfo(filePath);
if (fileInfo.isFile() && fileInfo.exists())
FilesPath.append(fileInfo.filePath());