summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt')
-rw-r--r--rbutil/rbutilqt/base/ttscarbon.h3
-rw-r--r--rbutil/rbutilqt/base/ttsmssp.h3
-rw-r--r--rbutil/rbutilqt/base/ttssapi4.h3
-rw-r--r--rbutil/rbutilqt/base/utils.cpp3
-rw-r--r--rbutil/rbutilqt/base/ziputil.h1
5 files changed, 5 insertions, 8 deletions
diff --git a/rbutil/rbutilqt/base/ttscarbon.h b/rbutil/rbutilqt/base/ttscarbon.h
index 831a2f7fdf..4d7cef24d8 100644
--- a/rbutil/rbutilqt/base/ttscarbon.h
+++ b/rbutil/rbutilqt/base/ttscarbon.h
@@ -67,9 +67,6 @@ class TTSCarbon : public TTSBase
unsigned int extended2int(unsigned char* buf);
int convertAiffToWav(const char* aiff, const char* wav);
-
- protected:
- // static QMap<QString,QString> ttsList;
};
#endif // TTSCARBON_H
diff --git a/rbutil/rbutilqt/base/ttsmssp.h b/rbutil/rbutilqt/base/ttsmssp.h
index 72300e8f79..6727ed5d37 100644
--- a/rbutil/rbutilqt/base/ttsmssp.h
+++ b/rbutil/rbutilqt/base/ttsmssp.h
@@ -26,10 +26,9 @@
class TTSMssp: public TTSSapi
{
- //! Enum to identify the settings
Q_OBJECT
public:
- TTSMssp(QObject* parent=NULL)
+ TTSMssp(QObject* parent=NULL) : TTSSapi(parent)
{
m_TTSTemplate = "cscript //nologo \"%exe\" "
"/language:%lang /voice:\"%voice\" "
diff --git a/rbutil/rbutilqt/base/ttssapi4.h b/rbutil/rbutilqt/base/ttssapi4.h
index bcfb036107..7964cbfd2b 100644
--- a/rbutil/rbutilqt/base/ttssapi4.h
+++ b/rbutil/rbutilqt/base/ttssapi4.h
@@ -26,10 +26,9 @@
class TTSSapi4: public TTSSapi
{
- //! Enum to identify the settings
Q_OBJECT
public:
- TTSSapi4(QObject* parent=NULL)
+ TTSSapi4(QObject* parent=NULL) : TTSSapi(parent)
{
m_TTSTemplate = "cscript //nologo \"%exe\" "
"/language:%lang /voice:\"%voice\" "
diff --git a/rbutil/rbutilqt/base/utils.cpp b/rbutil/rbutilqt/base/utils.cpp
index eec03fe0ad..6261c36424 100644
--- a/rbutil/rbutilqt/base/utils.cpp
+++ b/rbutil/rbutilqt/base/utils.cpp
@@ -788,6 +788,9 @@ bool Utils::ejectDevice(QString device)
return true;
#endif
+#if defined(Q_OS_LINUX)
+ (void)device;
+#endif
return false;
}
diff --git a/rbutil/rbutilqt/base/ziputil.h b/rbutil/rbutilqt/base/ziputil.h
index 5ea76a03a1..49a1bd3f06 100644
--- a/rbutil/rbutilqt/base/ziputil.h
+++ b/rbutil/rbutilqt/base/ziputil.h
@@ -46,7 +46,6 @@ class ZipUtil : public QObject
private:
QList<QuaZipFileInfo> contentProperties();
QuaZip* m_zip;
- QuaZipFile* m_file;
};
#endif