summaryrefslogtreecommitdiffstats
path: root/src/cite/clipboard.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-02 06:40:27 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-02 06:40:27 +0000
commit2595a15ebeb6fc46b7cb241d01ec0c2460ec2111 (patch)
tree18a8f0f4ac5a86dacfa74c3537551ec39bc85e75 /src/cite/clipboard.cpp
parent1d90725a4001fab9d3922b2cbcceeee5e2d1686f (diff)
downloadtellico-2595a15ebeb6fc46b7cb241d01ec0c2460ec2111.tar.gz
tellico-2595a15ebeb6fc46b7cb241d01ec0c2460ec2111.zip
TQt4 port tellico
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/tellico@1239054 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/cite/clipboard.cpp')
-rw-r--r--src/cite/clipboard.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/cite/clipboard.cpp b/src/cite/clipboard.cpp
index 9b98b89..f242a22 100644
--- a/src/cite/clipboard.cpp
+++ b/src/cite/clipboard.cpp
@@ -17,8 +17,8 @@
#include <klocale.h>
-#include <qapplication.h>
-#include <qclipboard.h>
+#include <tqapplication.h>
+#include <tqclipboard.h>
using Tellico::Cite::Clipboard;
@@ -35,17 +35,17 @@ bool Clipboard::cite(Data::EntryVec entries_) {
return false;
}
- QString s = QString::fromLatin1("\\cite{");
+ TQString s = TQString::tqfromLatin1("\\cite{");
for(Data::EntryVecIt it = entries_.begin(); it != entries_.end(); ++it) {
s += BibtexHandler::bibtexKey(it.data());
if(!it.nextEnd()) {
- s += QString::fromLatin1(", ");
+ s += TQString::tqfromLatin1(", ");
}
}
s += '}';
- QClipboard *cb = QApplication::clipboard();
- cb->setText(s, QClipboard::Clipboard);
+ TQClipboard *cb = TQApplication::tqclipboard();
+ cb->setText(s, TQClipboard::Clipboard);
return true;
}