summaryrefslogtreecommitdiffstats
path: root/knewsticker/common/configaccess.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /knewsticker/common/configaccess.h
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'knewsticker/common/configaccess.h')
-rw-r--r--knewsticker/common/configaccess.h60
1 files changed, 30 insertions, 30 deletions
diff --git a/knewsticker/common/configaccess.h b/knewsticker/common/configaccess.h
index 3cdf80e5..8d2c8a50 100644
--- a/knewsticker/common/configaccess.h
+++ b/knewsticker/common/configaccess.h
@@ -18,8 +18,8 @@
#include <kio/job.h>
#include <klocale.h>
-#include <qpixmap.h>
-#include <qvaluelist.h>
+#include <tqpixmap.h>
+#include <tqvaluelist.h>
#define DEFAULT_NEWSSOURCES 63
#define DEFAULT_SUBJECTS 13
@@ -30,25 +30,25 @@ class KURL;
class ArticleFilter {
public:
- typedef QValueList<int> List;
+ typedef TQValueList<int> List;
- ArticleFilter(const QString & = I18N_NOOP(QString::fromLatin1("Show")),
- const QString & = I18N_NOOP(QString::fromLatin1("all newssources")),
- const QString & = I18N_NOOP(QString::fromLatin1("contain")),
- const QString & = QString::null,
+ ArticleFilter(const TQString & = I18N_NOOP(TQString::fromLatin1("Show")),
+ const TQString & = I18N_NOOP(TQString::fromLatin1("all newssources")),
+ const TQString & = I18N_NOOP(TQString::fromLatin1("contain")),
+ const TQString & = TQString::null,
bool = true);
- QString action() const { return m_action; }
- void setAction(const QString &action) { m_action = action; }
+ TQString action() const { return m_action; }
+ void setAction(const TQString &action) { m_action = action; }
- QString newsSource() const { return m_newsSource; }
- void setNewsSource(const QString &newsSource) { m_newsSource = newsSource; }
+ TQString newsSource() const { return m_newsSource; }
+ void setNewsSource(const TQString &newsSource) { m_newsSource = newsSource; }
- QString condition() const { return m_condition; }
- void setCondition(const QString &condition) { m_condition = condition; }
+ TQString condition() const { return m_condition; }
+ void setCondition(const TQString &condition) { m_condition = condition; }
- QString expression() const { return m_expression; }
- void setExpression(const QString &expression) { m_expression = expression; }
+ TQString expression() const { return m_expression; }
+ void setExpression(const TQString &expression) { m_expression = expression; }
bool enabled() const { return m_enabled; }
void setEnabled(bool enabled) { m_enabled = enabled; }
@@ -59,10 +59,10 @@ class ArticleFilter {
bool matches(Article::Ptr) const;
private:
- QString m_action;
- QString m_newsSource;
- QString m_condition;
- QString m_expression;
+ TQString m_action;
+ TQString m_newsSource;
+ TQString m_condition;
+ TQString m_expression;
bool m_enabled;
unsigned int m_id;
};
@@ -84,12 +84,12 @@ class ConfigAccess : public ConfigIface
virtual bool underlineHighlighted() const;
virtual bool showIcons() const;
virtual bool slowedScrolling() const;
- virtual QColor foregroundColor() const;
- virtual QColor backgroundColor() const;
- virtual QColor highlightedColor() const;
- QFont font() const;
- virtual QStringList newsSources() const;
- NewsSourceBase *newsSource(const QString &);
+ virtual TQColor foregroundColor() const;
+ virtual TQColor backgroundColor() const;
+ virtual TQColor highlightedColor() const;
+ TQFont font() const;
+ virtual TQStringList newsSources() const;
+ NewsSourceBase *newsSource(const TQString &);
ArticleFilter::List filters() const;
ArticleFilter filter(const unsigned int) const;
@@ -117,11 +117,11 @@ class ConfigAccess : public ConfigIface
virtual void setUnderlineHighlighted(bool);
virtual void setShowIcons(bool);
virtual void setSlowedScrolling(bool);
- virtual void setForegroundColor(const QColor &);
- virtual void setBackgroundColor(const QColor &);
- virtual void setHighlightedColor(const QColor &);
- void setFont(const QFont &);
- virtual void setNewsSources(const QStringList &);
+ virtual void setForegroundColor(const TQColor &);
+ virtual void setBackgroundColor(const TQColor &);
+ virtual void setHighlightedColor(const TQColor &);
+ void setFont(const TQFont &);
+ virtual void setNewsSources(const TQStringList &);
void setNewsSource(const NewsSourceBase::Data &);
void setFilters(const ArticleFilter::List &);
void setFilter(const ArticleFilter &);