summaryrefslogtreecommitdiffstats
path: root/digikam/utilities/cameragui/dkcamera.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'digikam/utilities/cameragui/dkcamera.cpp')
-rw-r--r--digikam/utilities/cameragui/dkcamera.cpp46
1 files changed, 23 insertions, 23 deletions
diff --git a/digikam/utilities/cameragui/dkcamera.cpp b/digikam/utilities/cameragui/dkcamera.cpp
index a0adaffd..f5abe393 100644
--- a/digikam/utilities/cameragui/dkcamera.cpp
+++ b/digikam/utilities/cameragui/dkcamera.cpp
@@ -22,9 +22,9 @@
*
* ============================================================ */
-// Qt includes.
+// TQt includes.
-#include <qdeepcopy.h>
+#include <tqdeepcopy.h>
// Local includes.
@@ -34,7 +34,7 @@
namespace Digikam
{
-DKCamera::DKCamera(const QString& title, const QString& model, const QString& port, const QString& path)
+DKCamera::DKCamera(const TQString& title, const TQString& model, const TQString& port, const TQString& path)
{
m_title = title;
m_model = model;
@@ -42,10 +42,10 @@ DKCamera::DKCamera(const QString& title, const QString& model, const QString& po
m_path = path;
AlbumSettings* settings = AlbumSettings::instance();
- m_imageFilter = QDeepCopy<QString>(settings->getImageFileFilter());
- m_movieFilter = QDeepCopy<QString>(settings->getMovieFileFilter());
- m_audioFilter = QDeepCopy<QString>(settings->getAudioFileFilter());
- m_rawFilter = QDeepCopy<QString>(settings->getRawFileFilter());
+ m_imageFilter = TQDeepCopy<TQString>(settings->getImageFileFilter());
+ m_movieFilter = TQDeepCopy<TQString>(settings->getMovieFileFilter());
+ m_audioFilter = TQDeepCopy<TQString>(settings->getAudioFileFilter());
+ m_rawFilter = TQDeepCopy<TQString>(settings->getRawFileFilter());
m_imageFilter = m_imageFilter.lower();
m_movieFilter = m_movieFilter.lower();
@@ -57,32 +57,32 @@ DKCamera::~DKCamera()
{
}
-QString DKCamera::title() const
+TQString DKCamera::title() const
{
return m_title;
}
-QString DKCamera::model() const
+TQString DKCamera::model() const
{
return m_model;
}
-QString DKCamera::port() const
+TQString DKCamera::port() const
{
return m_port;
}
-QString DKCamera::path() const
+TQString DKCamera::path() const
{
return m_path;
}
-QString DKCamera::mimeType(const QString& fileext) const
+TQString DKCamera::mimeType(const TQString& fileext) const
{
- if (fileext.isEmpty()) return QString();
+ if (fileext.isEmpty()) return TQString();
- QString ext = fileext;
- QString mime;
+ TQString ext = fileext;
+ TQString mime;
// Massage known variations of known mimetypes into KDE specific ones
if (ext == "jpg" || ext == "jpe")
@@ -90,21 +90,21 @@ QString DKCamera::mimeType(const QString& fileext) const
else if (ext == "tif")
ext = "tiff";
- if (m_rawFilter.contains(ext))
+ if (m_rawFilter.tqcontains(ext))
{
- mime = QString("image/x-raw");
+ mime = TQString("image/x-raw");
}
- else if (m_imageFilter.contains(ext))
+ else if (m_imageFilter.tqcontains(ext))
{
- mime = QString("image/") + ext;
+ mime = TQString("image/") + ext;
}
- else if (m_movieFilter.contains(ext))
+ else if (m_movieFilter.tqcontains(ext))
{
- mime = QString("video/") + ext;
+ mime = TQString("video/") + ext;
}
- else if (m_audioFilter.contains(ext))
+ else if (m_audioFilter.tqcontains(ext))
{
- mime = QString("audio/") + ext;
+ mime = TQString("audio/") + ext;
}
return mime;