summaryrefslogtreecommitdiffstats
path: root/src/core/clipboard_qt.cpp
diff options
context:
space:
mode:
authorAndras Becsi <andras.becsi@digia.com>2014-03-24 18:49:30 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-28 13:33:11 +0100
commit9be81c588afc913f5214d78608fecafeef8bc160 (patch)
tree19b06bff7e5016845ad30babc32ae5cc9f3834e6 /src/core/clipboard_qt.cpp
parent9a1a09bf82ea98a2b69b351120619c787ce990a8 (diff)
Get rid of GTK dependencies
Build with aura by default and remove GTK related code. This patch introduces a mechanism for setting gyp build configuration variables using a GYP_CONFIG and adds a desktop_linux.pri configuration for this target. Change-Id: I6b044ba52ebb20c187572669af94a6fc280b0412 Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'src/core/clipboard_qt.cpp')
-rw-r--r--src/core/clipboard_qt.cpp14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/core/clipboard_qt.cpp b/src/core/clipboard_qt.cpp
index 701ccacb1..ef2e28603 100644
--- a/src/core/clipboard_qt.cpp
+++ b/src/core/clipboard_qt.cpp
@@ -356,18 +356,10 @@ const Clipboard::FormatType& Clipboard::GetPepperCustomDataFormatType()
return type;
}
-#if defined(TOOLKIT_GTK)
-void Clipboard::SetGtkClipboard(ClipboardType type)
+#if defined(OS_WIN) || defined(USE_AURA)
+bool Clipboard::FormatType::operator<(const FormatType& other) const
{
-}
-
-void Clipboard::InsertMapping(const char* key, char* data, size_t data_len)
-{
-}
-
-GtkClipboard* Clipboard::LookupBackingClipboard(ClipboardType type) const
-{
- return NULL;
+ return data_.compare(other.data_) < 0;
}
#endif