summaryrefslogtreecommitdiffstats
path: root/knode/knconfigwidgets.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /knode/knconfigwidgets.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'knode/knconfigwidgets.h')
-rw-r--r--knode/knconfigwidgets.h156
1 files changed, 78 insertions, 78 deletions
diff --git a/knode/knconfigwidgets.h b/knode/knconfigwidgets.h
index 109ea7dc7..0bd604e8c 100644
--- a/knode/knconfigwidgets.h
+++ b/knode/knconfigwidgets.h
@@ -68,27 +68,27 @@ class KDE_EXPORT IdentityWidget : public KCModule {
Q_OBJECT
public:
- IdentityWidget(Identity *d, QWidget *p=0, const char *n=0);
+ IdentityWidget(Identity *d, TQWidget *p=0, const char *n=0);
~IdentityWidget();
void load();
void save();
protected:
- QLabel *f_ileName;
+ TQLabel *f_ileName;
KLineEdit *n_ame,
*o_rga,
*e_mail,
*r_eplyTo,
*m_ailCopiesTo,
*s_ig;
- QRadioButton *s_igFile,
+ TQRadioButton *s_igFile,
*s_igEdit;
- QCheckBox *s_igGenerator;
- QPushButton *c_hooseBtn,
+ TQCheckBox *s_igGenerator;
+ TQPushButton *c_hooseBtn,
*e_ditBtn;
- QTextEdit *s_igEditor;
- QButtonGroup *b_uttonGroup;
+ TQTextEdit *s_igEditor;
+ TQButtonGroup *b_uttonGroup;
Kpgp::SecretKeyRequester
*s_igningKey;
KURLCompletion *c_ompletion;
@@ -99,7 +99,7 @@ class KDE_EXPORT IdentityWidget : public KCModule {
void slotSignatureType(int type);
void slotSignatureChoose();
void slotSignatureEdit();
- void textFileNameChanged(const QString &);
+ void textFileNameChanged(const TQString &);
};
@@ -109,7 +109,7 @@ class KDE_EXPORT NntpAccountListWidget : public KCModule {
Q_OBJECT
public:
- NntpAccountListWidget(QWidget *p=0, const char *n=0);
+ NntpAccountListWidget(TQWidget *p=0, const char *n=0);
~NntpAccountListWidget();
void load();
@@ -117,19 +117,19 @@ class KDE_EXPORT NntpAccountListWidget : public KCModule {
protected:
class LBoxItem : public KNListBoxItem {
public:
- LBoxItem(KNNntpAccount *a, const QString &t, QPixmap *p=0)
+ LBoxItem(KNNntpAccount *a, const TQString &t, TQPixmap *p=0)
: KNListBoxItem(t, p) , account(a) {}
~LBoxItem() {}
KNNntpAccount *account;
};
KNDialogListBox *l_box;
- QPushButton *a_ddBtn,
+ TQPushButton *a_ddBtn,
*d_elBtn,
*e_ditBtn,
*s_ubBtn;
- QPixmap p_ixmap;
- QLabel *s_erverInfo,
+ TQPixmap p_ixmap;
+ TQLabel *s_erverInfo,
*p_ortInfo;
KNAccountManager *a_ccManager;
@@ -156,7 +156,7 @@ class KDE_EXPORT NntpAccountConfDialog : public KDialogBase {
Q_OBJECT
public:
- NntpAccountConfDialog(KNNntpAccount* acc, QWidget *p=0, const char *n=0);
+ NntpAccountConfDialog(KNNntpAccount* acc, TQWidget *p=0, const char *n=0);
~NntpAccountConfDialog();
protected:
@@ -165,13 +165,13 @@ class KDE_EXPORT NntpAccountConfDialog : public KDialogBase {
*u_ser,
*p_ass,
*p_ort;
- QLabel *u_serLabel,
+ TQLabel *u_serLabel,
*p_assLabel,
*c_heckIntervalLabel;
KIntSpinBox *h_old,
*t_imeout,
*c_heckInterval;
- QCheckBox *f_etchDes,
+ TQCheckBox *f_etchDes,
*a_uth,
*u_seDiskCache,
*i_nterval;
@@ -197,7 +197,7 @@ class KDE_EXPORT SmtpAccountWidget : public SmtpAccountWidgetBase {
Q_OBJECT
public:
- SmtpAccountWidget(QWidget *p=0, const char *n=0);
+ SmtpAccountWidget(TQWidget *p=0, const char *n=0);
~SmtpAccountWidget() {}
virtual void load();
@@ -218,7 +218,7 @@ class KDE_EXPORT AppearanceWidget : public KCModule {
Q_OBJECT
public:
- AppearanceWidget(QWidget *p=0, const char *n=0);
+ AppearanceWidget(TQWidget *p=0, const char *n=0);
~AppearanceWidget();
void load();
@@ -228,49 +228,49 @@ class KDE_EXPORT AppearanceWidget : public KCModule {
//===================================================================================
// code taken from KMail, Copyright (C) 2000 Espen Sand, espen@kde.org
- class KDE_EXPORT ColorListItem : public QListBoxText {
+ class KDE_EXPORT ColorListItem : public TQListBoxText {
public:
- ColorListItem( const QString &text, const QColor &color=Qt::black );
+ ColorListItem( const TQString &text, const TQColor &color=Qt::black );
~ColorListItem();
- const QColor& color() { return mColor; }
- void setColor( const QColor &color ) { mColor = color; }
+ const TQColor& color() { return mColor; }
+ void setColor( const TQColor &color ) { mColor = color; }
protected:
- virtual void paint( QPainter * );
- virtual int height( const QListBox * ) const;
- virtual int width( const QListBox * ) const;
+ virtual void paint( TQPainter * );
+ virtual int height( const TQListBox * ) const;
+ virtual int width( const TQListBox * ) const;
private:
- QColor mColor;
+ TQColor mColor;
};
//===================================================================================
- class KDE_EXPORT FontListItem : public QListBoxText {
+ class KDE_EXPORT FontListItem : public TQListBoxText {
public:
- FontListItem( const QString &name, const QFont & );
+ FontListItem( const TQString &name, const TQFont & );
~FontListItem();
- const QFont& font() { return f_ont; }
- void setFont( const QFont &);
+ const TQFont& font() { return f_ont; }
+ void setFont( const TQFont &);
protected:
- virtual void paint( QPainter * );
- virtual int width( const QListBox * ) const;
+ virtual void paint( TQPainter * );
+ virtual int width( const TQListBox * ) const;
private:
- QFont f_ont;
- QString fontInfo;
+ TQFont f_ont;
+ TQString fontInfo;
};
//===================================================================================
KNDialogListBox *c_List,
*f_List;
- QCheckBox *c_olorCB,
+ TQCheckBox *c_olorCB,
*f_ontCB;
- QPushButton *c_olChngBtn,
+ TQPushButton *c_olChngBtn,
*f_ntChngBtn;
Appearance *d_ata;
@@ -278,13 +278,13 @@ class KDE_EXPORT AppearanceWidget : public KCModule {
protected slots:
//colors
void slotColCheckBoxToggled(bool b);
- void slotColItemSelected(QListBoxItem *); // show color dialog for the entry
+ void slotColItemSelected(TQListBoxItem *); // show color dialog for the entry
void slotColChangeBtnClicked();
void slotColSelectionChanged();
//fonts
void slotFontCheckBoxToggled(bool b);
- void slotFontItemSelected(QListBoxItem *); // show font dialog for the entry
+ void slotFontItemSelected(TQListBoxItem *); // show font dialog for the entry
void slotFontChangeBtnClicked();
void slotFontSelectionChanged();
@@ -294,14 +294,14 @@ class KDE_EXPORT AppearanceWidget : public KCModule {
class KDE_EXPORT ReadNewsGeneralWidget : public KCModule {
public:
- ReadNewsGeneralWidget(ReadNewsGeneral *d, QWidget *p=0, const char *n=0);
+ ReadNewsGeneralWidget(ReadNewsGeneral *d, TQWidget *p=0, const char *n=0);
~ReadNewsGeneralWidget();
void load();
void save();
protected:
- QCheckBox *a_utoCB,
+ TQCheckBox *a_utoCB,
*m_arkCB,
*m_arkCrossCB,
*s_martScrollingCB,
@@ -323,14 +323,14 @@ class KDE_EXPORT ReadNewsGeneralWidget : public KCModule {
class KDE_EXPORT ReadNewsNavigationWidget : public KCModule {
public:
- ReadNewsNavigationWidget(ReadNewsNavigation *d, QWidget *p=0, const char *n=0);
+ ReadNewsNavigationWidget(ReadNewsNavigation *d, TQWidget *p=0, const char *n=0);
~ReadNewsNavigationWidget();
void load();
void save();
protected:
- QCheckBox *m_arkAllReadGoNextCB,
+ TQCheckBox *m_arkAllReadGoNextCB,
*m_arkThreadReadGoNextCB,
*m_arkThreadReadCloseThreadCB,
*i_gnoreThreadGoNextCB,
@@ -346,14 +346,14 @@ class KDE_EXPORT ReadNewsViewerWidget : public KCModule {
Q_OBJECT
public:
- ReadNewsViewerWidget(ReadNewsViewer *d, QWidget *p=0, const char *n=0);
+ ReadNewsViewerWidget(ReadNewsViewer *d, TQWidget *p=0, const char *n=0);
~ReadNewsViewerWidget();
void load();
void save();
protected:
- QCheckBox *r_ewrapCB,
+ TQCheckBox *r_ewrapCB,
*r_emoveTrailingCB,
*s_igCB,
*o_penAttCB,
@@ -372,7 +372,7 @@ class KDE_EXPORT DisplayedHeadersWidget : public KCModule {
Q_OBJECT
public:
- DisplayedHeadersWidget(DisplayedHeaders *d, QWidget *p=0, const char *n=0);
+ DisplayedHeadersWidget(DisplayedHeaders *d, TQWidget *p=0, const char *n=0);
~DisplayedHeadersWidget();
void load();
@@ -380,10 +380,10 @@ class KDE_EXPORT DisplayedHeadersWidget : public KCModule {
protected:
- class HdrItem : public QListBoxText {
+ class HdrItem : public TQListBoxText {
public:
- HdrItem( const QString &t, KNDisplayedHeader *h ) : QListBoxText(t), hdr(h) {}
+ HdrItem( const TQString &t, KNDisplayedHeader *h ) : TQListBoxText(t), hdr(h) {}
~HdrItem() {}
KNDisplayedHeader *hdr;
@@ -392,7 +392,7 @@ class KDE_EXPORT DisplayedHeadersWidget : public KCModule {
HdrItem* generateItem(KNDisplayedHeader *);
KNDialogListBox *l_box;
- QPushButton *a_ddBtn,
+ TQPushButton *a_ddBtn,
*d_elBtn,
*e_ditBtn,
*u_pBtn,
@@ -418,7 +418,7 @@ class KDE_EXPORT DisplayedHeaderConfDialog : public KDialogBase {
Q_OBJECT
public:
- DisplayedHeaderConfDialog(KNDisplayedHeader *h, QWidget *p=0, char *n=0);
+ DisplayedHeaderConfDialog(KNDisplayedHeader *h, TQWidget *p=0, char *n=0);
~DisplayedHeaderConfDialog();
@@ -426,14 +426,14 @@ class KDE_EXPORT DisplayedHeaderConfDialog : public KDialogBase {
KNDisplayedHeader *h_dr;
KComboBox *h_drC;
KLineEdit *n_ameE;
- QCheckBox *n_ameCB[4],
+ TQCheckBox *n_ameCB[4],
*v_alueCB[4];
protected slots:
void slotOk();
void slotActivated(int);
- void slotNameChanged(const QString&);
+ void slotNameChanged(const TQString&);
};
@@ -442,7 +442,7 @@ class KDE_EXPORT ScoringWidget : public KCModule {
Q_OBJECT
public:
- ScoringWidget(Scoring *d, QWidget *p=0, const char *n=0);
+ ScoringWidget(Scoring *d, TQWidget *p=0, const char *n=0);
~ScoringWidget();
void load();
@@ -462,7 +462,7 @@ class KDE_EXPORT FilterListWidget : public KCModule {
Q_OBJECT
public:
- FilterListWidget(QWidget *p=0, const char *n=0);
+ FilterListWidget(TQWidget *p=0, const char *n=0);
~FilterListWidget();
void load();
@@ -473,25 +473,25 @@ class KDE_EXPORT FilterListWidget : public KCModule {
void updateItem(KNArticleFilter *f);
void addMenuItem(KNArticleFilter *f);
void removeMenuItem(KNArticleFilter *f);
- QValueList<int> menuOrder();
+ TQValueList<int> menuOrder();
protected:
class LBoxItem : public KNListBoxItem {
public:
- LBoxItem(KNArticleFilter *f, const QString &t, QPixmap *p=0)
+ LBoxItem(KNArticleFilter *f, const TQString &t, TQPixmap *p=0)
: KNListBoxItem(t, p) , filter(f) {}
~LBoxItem() {}
KNArticleFilter *filter;
};
- int findItem(QListBox *l, KNArticleFilter *f);
+ int findItem(TQListBox *l, KNArticleFilter *f);
KNDialogListBox *f_lb,
*m_lb;
- QPushButton *a_ddBtn,
+ TQPushButton *a_ddBtn,
*d_elBtn,
*e_ditBtn,
*c_opyBtn,
@@ -500,7 +500,7 @@ class KDE_EXPORT FilterListWidget : public KCModule {
*s_epAddBtn,
*s_epRemBtn;
- QPixmap a_ctive,
+ TQPixmap a_ctive,
d_isabled;
KNFilterManager *f_ilManager;
@@ -527,24 +527,24 @@ class KDE_EXPORT PostNewsTechnicalWidget : public KCModule {
Q_OBJECT
public:
- PostNewsTechnicalWidget(PostNewsTechnical *d, QWidget *p=0, const char *n=0);
+ PostNewsTechnicalWidget(PostNewsTechnical *d, TQWidget *p=0, const char *n=0);
~PostNewsTechnicalWidget();
void load();
void save();
protected:
- QComboBox *c_harset,
+ TQComboBox *c_harset,
*e_ncoding;
- QCheckBox *u_seOwnCSCB,
+ TQCheckBox *u_seOwnCSCB,
*g_enMIdCB,
*i_ncUaCB;
KNDialogListBox *l_box;
- QPushButton *a_ddBtn,
+ TQPushButton *a_ddBtn,
*d_elBtn,
*e_ditBtn;
KLineEdit *h_ost;
- QLabel *h_ostL;
+ TQLabel *h_ostL;
PostNewsTechnical *d_ata;
@@ -562,10 +562,10 @@ class KDE_EXPORT PostNewsTechnicalWidget : public KCModule {
class KDE_EXPORT XHeaderConfDialog : public KDialogBase {
public:
- XHeaderConfDialog(const QString &h=QString::null, QWidget *p=0, const char *n=0);
+ XHeaderConfDialog(const TQString &h=TQString::null, TQWidget *p=0, const char *n=0);
~XHeaderConfDialog();
- QString result();
+ TQString result();
protected:
@@ -580,7 +580,7 @@ class KDE_EXPORT PostNewsComposerWidget : public KCModule {
Q_OBJECT
public:
- PostNewsComposerWidget(PostNewsComposer *d, QWidget *p=0, const char *n=0);
+ PostNewsComposerWidget(PostNewsComposer *d, TQWidget *p=0, const char *n=0);
~PostNewsComposerWidget();
void load();
@@ -588,7 +588,7 @@ class KDE_EXPORT PostNewsComposerWidget : public KCModule {
protected:
KIntSpinBox *m_axLen;
- QCheckBox *w_ordWrapCB,
+ TQCheckBox *w_ordWrapCB,
*o_wnSigCB,
*r_ewrapCB,
*a_uthSigCB,
@@ -608,7 +608,7 @@ class KDE_EXPORT PostNewsComposerWidget : public KCModule {
class KDE_EXPORT PostNewsSpellingWidget : public KCModule {
public:
- PostNewsSpellingWidget(QWidget *p=0, const char *n=0);
+ PostNewsSpellingWidget(TQWidget *p=0, const char *n=0);
~PostNewsSpellingWidget();
void save();
@@ -625,7 +625,7 @@ class KDE_EXPORT PrivacyWidget : public KCModule {
Q_OBJECT
public:
- PrivacyWidget(QWidget *p=0, const char *n=0);
+ PrivacyWidget(TQWidget *p=0, const char *n=0);
~PrivacyWidget();
void save();
@@ -639,12 +639,12 @@ class KDE_EXPORT PrivacyWidget : public KCModule {
//BEGIN: Cleanup configuration -----------------------------------------------
/** Configuration widget for group expireration */
-class KDE_EXPORT GroupCleanupWidget : public QWidget {
+class KDE_EXPORT GroupCleanupWidget : public TQWidget {
Q_OBJECT
public:
- GroupCleanupWidget( Cleanup *data, QWidget *parent = 0, const char *name = 0 );
+ GroupCleanupWidget( Cleanup *data, TQWidget *parent = 0, const char *name = 0 );
void load();
void save();
@@ -653,9 +653,9 @@ class KDE_EXPORT GroupCleanupWidget : public QWidget {
void changed();
private:
- QCheckBox *mDefault, *mExpEnabled, *mExpUnavailable, *mPreserveThreads;
+ TQCheckBox *mDefault, *mExpEnabled, *mExpUnavailable, *mPreserveThreads;
KIntSpinBox *mExpDays, *mExpReadDays, *mExpUnreadDays;
- QGroupBox *mExpGroup;
+ TQGroupBox *mExpGroup;
Cleanup *mData;
private slots:
@@ -672,16 +672,16 @@ class KDE_EXPORT CleanupWidget : public KCModule {
Q_OBJECT
public:
- CleanupWidget(QWidget *p=0, const char *n=0);
+ CleanupWidget(TQWidget *p=0, const char *n=0);
~CleanupWidget();
void load();
void save();
protected:
- QCheckBox *f_olderCB;
+ TQCheckBox *f_olderCB;
KIntSpinBox *f_olderDays;
- QLabel *f_olderDaysL;
+ TQLabel *f_olderDaysL;
Cleanup *d_ata;
@@ -704,7 +704,7 @@ class KDE_EXPORT CleanupWidget : public KCModule {
Q_OBJECT
public:
- CacheWidget(Cache *d, QWidget *p=0, const char *n=0);
+ CacheWidget(Cache *d, TQWidget *p=0, const char *n=0);
~CacheWidget();
void apply();
@@ -716,7 +716,7 @@ class KDE_EXPORT CleanupWidget : public KCModule {
*d_iskMaxArt,
*d_iskMaxKB;
- QLabel *d_iskMaxArtL,
+ TQLabel *d_iskMaxArtL,
*d_iskMaxKBL;
Cache *d_ata;