projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
One last test for the CIA bot:
[quassel.git]
/
gui
/
style.h
diff --git
a/gui/style.h
b/gui/style.h
index
19c3be6
..
861d5c5
100644
(file)
--- a/
gui/style.h
+++ b/
gui/style.h
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005
/06
by The Quassel Team *
+ * Copyright (C) 2005
-07
by The Quassel Team *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-29,14
+29,20
@@
class Style {
public:
static void init();
public:
static void init();
- struct StringFormats {
+ struct UrlInfo {
+ int start, end;
+ QUrl url;
+ };
+
+ struct FormattedString {
QString text;
QList<QTextLayout::FormatRange> formats;
QString text;
QList<QTextLayout::FormatRange> formats;
+ QList<UrlInfo> urls;
};
static QString mircToInternal(QString);
//static QString internalToMirc(QString);
};
static QString mircToInternal(QString);
//static QString internalToMirc(QString);
- static
StringFormats
internalToFormatted(QString);
+ static
FormattedString
internalToFormatted(QString);
static int sepTsSender() { return 10; }
static int sepSenderText() { return 10; }
static int sepTsSender() { return 10; }
static int sepSenderText() { return 10; }