From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- korganizer/koprefs.h | 52 ++++++++++++++++++++++++++-------------------------- 1 file changed, 26 insertions(+), 26 deletions(-) (limited to 'korganizer/koprefs.h') diff --git a/korganizer/koprefs.h b/korganizer/koprefs.h index dc7a62d18..c65382f5d 100644 --- a/korganizer/koprefs.h +++ b/korganizer/koprefs.h @@ -24,7 +24,7 @@ #ifndef KOPREFS_H #define KOPREFS_H -#include +#include #include @@ -35,7 +35,7 @@ class QFont; class QColor; class QStringList; -QColor getTextColor(const QColor &c); +TQColor getTextColor(const TQColor &c); class KDE_EXPORT KOPrefs : public KOPrefsBase @@ -72,46 +72,46 @@ class KDE_EXPORT KOPrefs : public KOPrefsBase public: // preferences data - void setFullName( const QString & ); - QString fullName(); - void setEmail( const QString & ); - QString email(); + void setFullName( const TQString & ); + TQString fullName(); + void setEmail( const TQString & ); + TQString email(); /// Returns all email addresses for the user. - QStringList allEmails(); + TQStringList allEmails(); /// Returns all email addresses together with the full username for the user. - QStringList fullEmails(); + TQStringList fullEmails(); /// Return true if the given email belongs to the user - bool thatIsMe( const QString& email ); + bool thatIsMe( const TQString& email ); - void setCategoryColor( const QString &cat, const QColor &color ); - QColor *categoryColor( const QString &cat ); - bool hasCategoryColor( const QString &cat ) const; + void setCategoryColor( const TQString &cat, const TQColor &color ); + TQColor *categoryColor( const TQString &cat ); + bool hasCategoryColor( const TQString &cat ) const; - void setResourceColor ( const QString &, const QColor & ); - QColor* resourceColor( const QString & ); + void setResourceColor ( const TQString &, const TQColor & ); + TQColor* resourceColor( const TQString & ); - QString mHtmlExportFile; + TQString mHtmlExportFile; bool mAlarmsEnabledByDefault; // Groupware passwords - QString mPublishPassword; - QString mRetrievePassword; + TQString mPublishPassword; + TQString mRetrievePassword; private: - QDict mCategoryColors; - QColor mDefaultCategoryColor; + TQDict mCategoryColors; + TQColor mDefaultCategoryColor; - QDict mResourceColors; - QColor mDefaultResourceColor; + TQDict mResourceColors; + TQColor mDefaultResourceColor; - QFont mDefaultTimeBarFont; - QFont mDefaultMonthViewFont; + TQFont mDefaultTimeBarFont; + TQFont mDefaultMonthViewFont; - QStringList mMyAddrBookMails; + TQStringList mMyAddrBookMails; public: // Do not use - except in KOPrefsDialogMain - QString mName; - QString mEmail; + TQString mName; + TQString mEmail; }; #endif -- cgit v1.2.1