summaryrefslogtreecommitdiffstats
path: root/kmail/configuredialog_p.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 /kmail/configuredialog_p.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 'kmail/configuredialog_p.h')
-rw-r--r--kmail/configuredialog_p.h454
1 files changed, 227 insertions, 227 deletions
diff --git a/kmail/configuredialog_p.h b/kmail/configuredialog_p.h
index 79c2a885b..4a3321094 100644
--- a/kmail/configuredialog_p.h
+++ b/kmail/configuredialog_p.h
@@ -6,12 +6,12 @@
#define _CONFIGURE_DIALOG_PRIVATE_H_
#include <klineedit.h>
-#include <qcombobox.h>
-#include <qguardedptr.h>
-#include <qptrlist.h>
-#include <qstring.h>
-#include <qvaluelist.h>
-#include <qstringlist.h>
+#include <tqcombobox.h>
+#include <tqguardedptr.h>
+#include <tqptrlist.h>
+#include <tqstring.h>
+#include <tqvaluelist.h>
+#include <tqstringlist.h>
#include <dcopobject.h>
#include <kdialogbase.h>
@@ -49,7 +49,7 @@ class TemplatesConfiguration;
class CustomTemplates;
class QGroupBox;
class QVGroupBox;
-#include <qdict.h>
+#include <tqdict.h>
class QLineEdit;
class KMMsgTagDesc;
class KListBox;
@@ -81,20 +81,20 @@ class NewIdentityDialog : public KDialogBase
public:
enum DuplicateMode { Empty, ControlCenter, ExistingEntry };
- NewIdentityDialog( const QStringList & identities,
- QWidget *parent=0, const char *name=0, bool modal=true );
+ NewIdentityDialog( const TQStringList & identities,
+ TQWidget *parent=0, const char *name=0, bool modal=true );
- QString identityName() const { return mLineEdit->text(); }
- QString duplicateIdentity() const { return mComboBox->currentText(); }
+ TQString identityName() const { return mLineEdit->text(); }
+ TQString duplicateIdentity() const { return mComboBox->currentText(); }
DuplicateMode duplicateMode() const;
protected slots:
- virtual void slotEnableOK( const QString & );
+ virtual void slotEnableOK( const TQString & );
private:
- QLineEdit *mLineEdit;
- QComboBox *mComboBox;
- QButtonGroup *mButtonGroup;
+ TQLineEdit *mLineEdit;
+ TQComboBox *mComboBox;
+ TQButtonGroup *mButtonGroup;
};
@@ -107,29 +107,29 @@ private:
struct LanguageItem
{
LanguageItem() {}
- LanguageItem( const QString & language, const QString & reply=QString::null,
- const QString & replyAll=QString::null,
- const QString & forward=QString::null,
- const QString & indentPrefix=QString::null ) :
+ LanguageItem( const TQString & language, const TQString & reply=TQString::null,
+ const TQString & replyAll=TQString::null,
+ const TQString & forward=TQString::null,
+ const TQString & indentPrefix=TQString::null ) :
mLanguage( language ), mReply( reply ), mReplyAll( replyAll ),
mForward( forward ), mIndentPrefix( indentPrefix ) {}
- QString mLanguage, mReply, mReplyAll, mForward, mIndentPrefix;
+ TQString mLanguage, mReply, mReplyAll, mForward, mIndentPrefix;
};
-typedef QValueList<LanguageItem> LanguageItemList;
+typedef TQValueList<LanguageItem> LanguageItemList;
class NewLanguageDialog : public KDialogBase
{
Q_OBJECT
public:
- NewLanguageDialog( LanguageItemList & suppressedLangs, QWidget *parent=0,
+ NewLanguageDialog( LanguageItemList & suppressedLangs, TQWidget *parent=0,
const char *name=0, bool modal=true );
- QString language() const;
+ TQString language() const;
private:
- QComboBox *mComboBox;
+ TQComboBox *mComboBox;
};
@@ -138,10 +138,10 @@ class LanguageComboBox : public QComboBox
Q_OBJECT
public:
- LanguageComboBox( bool rw, QWidget *parent=0, const char *name=0 );
- int insertLanguage( const QString & language );
- QString language() const;
- void setLanguage( const QString & language );
+ LanguageComboBox( bool rw, TQWidget *parent=0, const char *name=0 );
+ int insertLanguage( const TQString & language );
+ TQString language() const;
+ void setLanguage( const TQString & language );
};
//
@@ -153,7 +153,7 @@ class LanguageComboBox : public QComboBox
class ProfileDialog : public KDialogBase {
Q_OBJECT
public:
- ProfileDialog( QWidget * parent=0, const char * name=0, bool modal=false );
+ ProfileDialog( TQWidget * parent=0, const char * name=0, bool modal=false );
signals:
void profileSelected( KConfig * profile );
@@ -167,14 +167,14 @@ private:
private:
KListView *mListView;
- QStringList mProfileList;
+ TQStringList mProfileList;
};
#include <kdialog.h>
class ConfigModule : public KCModule {
Q_OBJECT
public:
- ConfigModule( QWidget * parent=0, const char * name=0 )
+ ConfigModule( TQWidget * parent=0, const char * name=0 )
: KCModule ( parent, name )
{}
~ConfigModule() {}
@@ -184,7 +184,7 @@ public:
virtual void defaults() {}
/** Should return the help anchor for this page or tab */
- virtual QString helpAnchor() const = 0;
+ virtual TQString helpAnchor() const = 0;
signals:
/** Emitted when the installation of a profile is
@@ -198,11 +198,11 @@ signals:
// Individual tab of a ConfigModuleWithTabs
-class ConfigModuleTab : public QWidget {
+class ConfigModuleTab : public TQWidget {
Q_OBJECT
public:
- ConfigModuleTab( QWidget *parent=0, const char* name=0 )
- :QWidget( parent, name )
+ ConfigModuleTab( TQWidget *parent=0, const char* name=0 )
+ :TQWidget( parent, name )
{}
~ConfigModuleTab() {}
void load();
@@ -235,7 +235,7 @@ private:
class ConfigModuleWithTabs : public ConfigModule {
Q_OBJECT
public:
- ConfigModuleWithTabs( QWidget * parent=0, const char * name=0 );
+ ConfigModuleWithTabs( TQWidget * parent=0, const char * name=0 );
~ConfigModuleWithTabs() {}
// don't reimplement any of those methods
@@ -245,10 +245,10 @@ public:
virtual void installProfile( KConfig * profile );
protected:
- void addTab( ConfigModuleTab* tab, const QString & title );
+ void addTab( ConfigModuleTab* tab, const TQString & title );
private:
- QTabWidget *mTabWidget;
+ TQTabWidget *mTabWidget;
};
@@ -262,16 +262,16 @@ private:
class KDE_EXPORT IdentityPage : public ConfigModule {
Q_OBJECT
public:
- IdentityPage( QWidget * parent=0, const char * name=0 );
+ IdentityPage( TQWidget * parent=0, const char * name=0 );
~IdentityPage() {}
- QString helpAnchor() const;
+ TQString helpAnchor() const;
void load();
void save();
public slots:
- void slotUpdateTransportCombo( const QStringList & );
+ void slotUpdateTransportCombo( const TQStringList & );
private slots:
void slotNewIdentity();
@@ -282,8 +282,8 @@ private slots:
void slotRenameIdentity();
/** connected to @p mIdentityList's renamed() signal. Validates the
new name and sets it in the KPIM::IdentityManager */
- void slotRenameIdentity( QListViewItem *, const QString &, int );
- void slotContextMenu( KListView*, QListViewItem *, const QPoint & );
+ void slotRenameIdentity( TQListViewItem *, const TQString &, int );
+ void slotContextMenu( KListView*, TQListViewItem *, const TQPoint & );
void slotSetAsDefault();
void slotIdentitySelectionChanged();
@@ -295,10 +295,10 @@ private: // data members
int mOldNumberOfIdentities;
KMail::IdentityListView * mIdentityList;
- QPushButton * mModifyButton;
- QPushButton * mRenameButton;
- QPushButton * mRemoveButton;
- QPushButton * mSetAsDefaultButton;
+ TQPushButton * mModifyButton;
+ TQPushButton * mRenameButton;
+ TQPushButton * mRemoveButton;
+ TQPushButton * mSetAsDefaultButton;
};
@@ -312,12 +312,12 @@ private: // data members
class AccountsPageSendingTab : public ConfigModuleTab {
Q_OBJECT
public:
- AccountsPageSendingTab( QWidget * parent=0, const char * name=0 );
- QString helpAnchor() const;
+ AccountsPageSendingTab( TQWidget * parent=0, const char * name=0 );
+ TQString helpAnchor() const;
void save();
signals:
- void transportListChanged( const QStringList & );
+ void transportListChanged( const TQStringList & );
private slots:
void slotTransportSelected();
@@ -333,29 +333,29 @@ private:
private:
ListView *mTransportList;
- QPushButton *mModifyTransportButton;
- QPushButton *mRemoveTransportButton;
- QPushButton *mSetDefaultTransportButton;
- QCheckBox *mConfirmSendCheck;
- QComboBox *mSendOnCheckCombo;
- QComboBox *mSendMethodCombo;
- QComboBox *mMessagePropertyCombo;
- QLineEdit *mDefaultDomainEdit;
-
- QPtrList< KMTransportInfo > mTransportInfoList;
+ TQPushButton *mModifyTransportButton;
+ TQPushButton *mRemoveTransportButton;
+ TQPushButton *mSetDefaultTransportButton;
+ TQCheckBox *mConfirmSendCheck;
+ TQComboBox *mSendOnCheckCombo;
+ TQComboBox *mSendMethodCombo;
+ TQComboBox *mMessagePropertyCombo;
+ TQLineEdit *mDefaultDomainEdit;
+
+ TQPtrList< KMTransportInfo > mTransportInfoList;
};
class AccountsPageReceivingTab : public ConfigModuleTab {
Q_OBJECT
public:
- AccountsPageReceivingTab( QWidget * parent=0, const char * name=0 );
+ AccountsPageReceivingTab( TQWidget * parent=0, const char * name=0 );
~AccountsPageReceivingTab();
- QString helpAnchor() const;
+ TQString helpAnchor() const;
void save();
signals:
- void accountListChanged( const QStringList & );
+ void accountListChanged( const TQStringList & );
private slots:
void slotAccountSelected();
@@ -369,32 +369,32 @@ private:
virtual void doLoadFromGlobalSettings();
virtual void doLoadOther();
//FIXME virtual void doResetToDefaultsOther();
- QStringList occupiedNames();
+ TQStringList occupiedNames();
private:
ListView *mAccountList;
- QPushButton *mModifyAccountButton;
- QPushButton *mRemoveAccountButton;
- QCheckBox *mBeepNewMailCheck;
- QCheckBox *mVerboseNotificationCheck;
- QCheckBox *mCheckmailStartupCheck;
- QPushButton *mOtherNewMailActionsButton;
-
- QValueList< QGuardedPtr<KMAccount> > mAccountsToDelete;
- QValueList< QGuardedPtr<KMAccount> > mNewAccounts;
+ TQPushButton *mModifyAccountButton;
+ TQPushButton *mRemoveAccountButton;
+ TQCheckBox *mBeepNewMailCheck;
+ TQCheckBox *mVerboseNotificationCheck;
+ TQCheckBox *mCheckmailStartupCheck;
+ TQPushButton *mOtherNewMailActionsButton;
+
+ TQValueList< TQGuardedPtr<KMAccount> > mAccountsToDelete;
+ TQValueList< TQGuardedPtr<KMAccount> > mNewAccounts;
struct ModifiedAccountsType {
- QGuardedPtr< KMAccount > oldAccount;
- QGuardedPtr< KMAccount > newAccount;
+ TQGuardedPtr< KMAccount > oldAccount;
+ TQGuardedPtr< KMAccount > newAccount;
};
// ### make this value-based:
- QValueList< ModifiedAccountsType* > mModifiedAccounts;
+ TQValueList< ModifiedAccountsType* > mModifiedAccounts;
};
class KDE_EXPORT AccountsPage : public ConfigModuleWithTabs {
Q_OBJECT
public:
- AccountsPage( QWidget * parent=0, const char * name=0 );
- QString helpAnchor() const;
+ AccountsPage( TQWidget * parent=0, const char * name=0 );
+ TQString helpAnchor() const;
// hrmpf. moc doesn't like nested classes with slots/signals...:
@@ -402,8 +402,8 @@ public:
typedef AccountsPageReceivingTab ReceivingTab;
signals:
- void transportListChanged( const QStringList & );
- void accountListChanged( const QStringList & );
+ void transportListChanged( const TQStringList & );
+ void accountListChanged( const TQStringList & );
private:
SendingTab *mSendingTab;
@@ -420,8 +420,8 @@ private:
class AppearancePageFontsTab : public ConfigModuleTab {
Q_OBJECT
public:
- AppearancePageFontsTab( QWidget * parent=0, const char * name=0 );
- QString helpAnchor() const;
+ AppearancePageFontsTab( TQWidget * parent=0, const char * name=0 );
+ TQString helpAnchor() const;
void save();
void installProfile( KConfig * profile );
@@ -436,19 +436,19 @@ private:
void updateFontSelector();
private:
- QCheckBox *mCustomFontCheck;
- QComboBox *mFontLocationCombo;
+ TQCheckBox *mCustomFontCheck;
+ TQComboBox *mFontLocationCombo;
KFontChooser *mFontChooser;
int mActiveFontIndex;
- QFont mFont[14];
+ TQFont mFont[14];
};
class AppearancePageColorsTab : public ConfigModuleTab {
Q_OBJECT
public:
- AppearancePageColorsTab( QWidget * parent=0, const char * name=0 );
- QString helpAnchor() const;
+ AppearancePageColorsTab( TQWidget * parent=0, const char * name=0 );
+ TQString helpAnchor() const;
void save();
void installProfile( KConfig * profile );
@@ -459,17 +459,17 @@ private:
//FIXME virtual void doResetToDefaultsOther();
private:
- QCheckBox *mCustomColorCheck;
+ TQCheckBox *mCustomColorCheck;
ColorListBox *mColorList;
- QCheckBox *mRecycleColorCheck;
- QSpinBox *mCloseToQuotaThreshold;
+ TQCheckBox *mRecycleColorCheck;
+ TQSpinBox *mCloseToQuotaThreshold;
};
class AppearancePageLayoutTab : public ConfigModuleTab {
Q_OBJECT
public:
- AppearancePageLayoutTab( QWidget * parent=0, const char * name=0 );
- QString helpAnchor() const;
+ AppearancePageLayoutTab( TQWidget * parent=0, const char * name=0 );
+ TQString helpAnchor() const;
void save();
void installProfile( KConfig * profile );
@@ -480,20 +480,20 @@ private:
//FIXME virtual void doResetToDefaultsOther();
private: // data
- QButtonGroup *mFolderListGroup;
- QButtonGroup *mMIMETreeLocationGroup;
- QButtonGroup *mMIMETreeModeGroup;
- QButtonGroup *mReaderWindowModeGroup;
- QCheckBox *mFavoriteFolderViewCB;
- QCheckBox *mFolderQuickSearchCB;
+ TQButtonGroup *mFolderListGroup;
+ TQButtonGroup *mMIMETreeLocationGroup;
+ TQButtonGroup *mMIMETreeModeGroup;
+ TQButtonGroup *mReaderWindowModeGroup;
+ TQCheckBox *mFavoriteFolderViewCB;
+ TQCheckBox *mFolderQuickSearchCB;
};
class AppearancePageHeadersTab : public ConfigModuleTab {
Q_OBJECT
public:
- AppearancePageHeadersTab( QWidget * parent=0, const char * name=0 );
+ AppearancePageHeadersTab( TQWidget * parent=0, const char * name=0 );
- QString helpAnchor() const;
+ TQString helpAnchor() const;
void save();
void installProfile( KConfig * profile );
@@ -502,25 +502,25 @@ private: // methods
//virtual void doLoadFromGlobalSettings();
virtual void doLoadOther();
//FIXME virtual void doResetToDefaultsOther();
- void setDateDisplay( int id, const QString & format );
+ void setDateDisplay( int id, const TQString & format );
private: // data
- QCheckBox *mShowQuickSearch;
- QCheckBox *mMessageSizeCheck;
- QCheckBox *mAttachmentCheck;
- QCheckBox *mNestedMessagesCheck;
- QCheckBox *mCryptoIconsCheck;
- QButtonGroup *mNestingPolicy;
- QButtonGroup *mDateDisplay;
- QLineEdit *mCustomDateFormatEdit;
+ TQCheckBox *mShowQuickSearch;
+ TQCheckBox *mMessageSizeCheck;
+ TQCheckBox *mAttachmentCheck;
+ TQCheckBox *mNestedMessagesCheck;
+ TQCheckBox *mCryptoIconsCheck;
+ TQButtonGroup *mNestingPolicy;
+ TQButtonGroup *mDateDisplay;
+ TQLineEdit *mCustomDateFormatEdit;
};
class AppearancePageReaderTab : public ConfigModuleTab {
Q_OBJECT
public:
- AppearancePageReaderTab( QWidget * parent=0, const char * name=0 );
+ AppearancePageReaderTab( TQWidget * parent=0, const char * name=0 );
- QString helpAnchor() const;
+ TQString helpAnchor() const;
void save();
void installProfile( KConfig * profile );
@@ -533,23 +533,23 @@ private:
void readCurrentOverrideCodec();
private: // data
- QCheckBox *mShowColorbarCheck;
- QCheckBox *mShowSpamStatusCheck;
- QCheckBox *mShowEmoticonsCheck;
- QCheckBox *mShowExpandQuotesMark;
+ TQCheckBox *mShowColorbarCheck;
+ TQCheckBox *mShowSpamStatusCheck;
+ TQCheckBox *mShowEmoticonsCheck;
+ TQCheckBox *mShowExpandQuotesMark;
KIntSpinBox *mCollapseQuoteLevelSpin;
- QCheckBox *mShrinkQuotesCheck;
- QComboBox *mCharsetCombo;
- QComboBox *mOverrideCharsetCombo;
+ TQCheckBox *mShrinkQuotesCheck;
+ TQComboBox *mCharsetCombo;
+ TQComboBox *mOverrideCharsetCombo;
};
class AppearancePageSystemTrayTab : public ConfigModuleTab {
Q_OBJECT
public:
- AppearancePageSystemTrayTab( QWidget * parent=0, const char * name=0 );
+ AppearancePageSystemTrayTab( TQWidget * parent=0, const char * name=0 );
- QString helpAnchor() const;
+ TQString helpAnchor() const;
void save();
void installProfile( KConfig * profile );
@@ -558,16 +558,16 @@ private:
virtual void doLoadFromGlobalSettings();
private: // data
- QCheckBox *mSystemTrayCheck;
- QButtonGroup *mSystemTrayGroup;
+ TQCheckBox *mSystemTrayCheck;
+ TQButtonGroup *mSystemTrayGroup;
};
class KDE_EXPORT AppearancePage : public ConfigModuleWithTabs {
Q_OBJECT
public:
- AppearancePage( QWidget * parent=0, const char * name=0 );
+ AppearancePage( TQWidget * parent=0, const char * name=0 );
- QString helpAnchor() const;
+ TQString helpAnchor() const;
// hrmpf. moc doesn't like nested classes with slots/signals...:
typedef AppearancePageFontsTab FontsTab;
@@ -595,8 +595,8 @@ private:
class ComposerPageGeneralTab : public ConfigModuleTab {
Q_OBJECT
public:
- ComposerPageGeneralTab( QWidget * parent=0, const char * name=0 );
- QString helpAnchor() const;
+ ComposerPageGeneralTab( TQWidget * parent=0, const char * name=0 );
+ TQString helpAnchor() const;
void save();
void installProfile( KConfig * profile );
@@ -608,31 +608,31 @@ private:
virtual void doLoadFromGlobalSettings();
private:
- QCheckBox *mAutoAppSignFileCheck;
- QCheckBox *mTopQuoteCheck;
- QCheckBox *mSmartQuoteCheck;
- QCheckBox *mAutoRequestMDNCheck;
+ TQCheckBox *mAutoAppSignFileCheck;
+ TQCheckBox *mTopQuoteCheck;
+ TQCheckBox *mSmartQuoteCheck;
+ TQCheckBox *mAutoRequestMDNCheck;
QCheckBox *mShowRecentAddressesInComposer;
- QCheckBox *mWordWrapCheck;
+ TQCheckBox *mWordWrapCheck;
KIntSpinBox *mWrapColumnSpin;
KIntSpinBox *mAutoSave;
- QCheckBox *mExternalEditorCheck;
+ TQCheckBox *mExternalEditorCheck;
KURLRequester *mEditorRequester;
};
class ComposerPagePhrasesTab : public ConfigModuleTab {
Q_OBJECT
public:
- ComposerPagePhrasesTab( QWidget * parent=0, const char * name=0 );
- QString helpAnchor() const;
+ ComposerPagePhrasesTab( TQWidget * parent=0, const char * name=0 );
+ TQString helpAnchor() const;
void save();
private slots:
void slotNewLanguage();
void slotRemoveLanguage();
- void slotLanguageChanged( const QString& );
- void slotAddNewLanguage( const QString& );
+ void slotLanguageChanged( const TQString& );
+ void slotAddNewLanguage( const TQString& );
private:
virtual void doLoadFromGlobalSettings();
@@ -641,11 +641,11 @@ private:
private:
LanguageComboBox *mPhraseLanguageCombo;
- QPushButton *mRemoveButton;
- QLineEdit *mPhraseReplyEdit;
- QLineEdit *mPhraseReplyAllEdit;
- QLineEdit *mPhraseForwardEdit;
- QLineEdit *mPhraseIndentPrefixEdit;
+ TQPushButton *mRemoveButton;
+ TQLineEdit *mPhraseReplyEdit;
+ TQLineEdit *mPhraseReplyAllEdit;
+ TQLineEdit *mPhraseForwardEdit;
+ TQLineEdit *mPhraseIndentPrefixEdit;
int mActiveLanguageItem;
LanguageItemList mLanguageList;
@@ -654,8 +654,8 @@ private:
class ComposerPageTemplatesTab : public ConfigModuleTab {
Q_OBJECT
public:
- ComposerPageTemplatesTab( QWidget * parent=0, const char * name=0 );
- QString helpAnchor() const;
+ ComposerPageTemplatesTab( TQWidget * parent=0, const char * name=0 );
+ TQString helpAnchor() const;
void save();
@@ -671,8 +671,8 @@ private:
class ComposerPageCustomTemplatesTab : public ConfigModuleTab {
Q_OBJECT
public:
- ComposerPageCustomTemplatesTab( QWidget * parent=0, const char * name=0 );
- QString helpAnchor() const;
+ ComposerPageCustomTemplatesTab( TQWidget * parent=0, const char * name=0 );
+ TQString helpAnchor() const;
void save();
@@ -688,8 +688,8 @@ private:
class ComposerPageSubjectTab : public ConfigModuleTab {
Q_OBJECT
public:
- ComposerPageSubjectTab( QWidget * parent=0, const char * name=0 );
- QString helpAnchor() const;
+ ComposerPageSubjectTab( TQWidget * parent=0, const char * name=0 );
+ TQString helpAnchor() const;
void save();
@@ -698,21 +698,21 @@ private:
private:
SimpleStringListEditor *mReplyListEditor;
- QCheckBox *mReplaceReplyPrefixCheck;
+ TQCheckBox *mReplaceReplyPrefixCheck;
SimpleStringListEditor *mForwardListEditor;
- QCheckBox *mReplaceForwardPrefixCheck;
+ TQCheckBox *mReplaceForwardPrefixCheck;
};
class ComposerPageCharsetTab : public ConfigModuleTab {
Q_OBJECT
public:
- ComposerPageCharsetTab( QWidget * parent=0, const char * name=0 );
- QString helpAnchor() const;
+ ComposerPageCharsetTab( TQWidget * parent=0, const char * name=0 );
+ TQString helpAnchor() const;
void save();
private slots:
- void slotVerifyCharset(QString&);
+ void slotVerifyCharset(TQString&);
private:
//virtual void doLoadFromGlobalSettings();
@@ -721,21 +721,21 @@ private:
private:
SimpleStringListEditor *mCharsetListEditor;
- QCheckBox *mKeepReplyCharsetCheck;
+ TQCheckBox *mKeepReplyCharsetCheck;
};
class ComposerPageHeadersTab : public ConfigModuleTab {
Q_OBJECT
public:
- ComposerPageHeadersTab( QWidget * parent=0, const char * name=0 );
- QString helpAnchor() const;
+ ComposerPageHeadersTab( TQWidget * parent=0, const char * name=0 );
+ TQString helpAnchor() const;
void save();
private slots:
void slotMimeHeaderSelectionChanged();
- void slotMimeHeaderNameChanged( const QString & );
- void slotMimeHeaderValueChanged( const QString & );
+ void slotMimeHeaderNameChanged( const TQString & );
+ void slotMimeHeaderValueChanged( const TQString & );
void slotNewMimeHeader();
void slotRemoveMimeHeader();
@@ -745,22 +745,22 @@ private:
//FIXME virtual void doResetToDefaultsOther();
private:
- QCheckBox *mCreateOwnMessageIdCheck;
- QLineEdit *mMessageIdSuffixEdit;
- QRegExpValidator *mMessageIdSuffixValidator;
- QListView *mTagList;
- QPushButton *mRemoveHeaderButton;
- QLineEdit *mTagNameEdit;
- QLineEdit *mTagValueEdit;
- QLabel *mTagNameLabel;
- QLabel *mTagValueLabel;
+ TQCheckBox *mCreateOwnMessageIdCheck;
+ TQLineEdit *mMessageIdSuffixEdit;
+ TQRegExpValidator *mMessageIdSuffixValidator;
+ TQListView *mTagList;
+ TQPushButton *mRemoveHeaderButton;
+ TQLineEdit *mTagNameEdit;
+ TQLineEdit *mTagValueEdit;
+ TQLabel *mTagNameLabel;
+ TQLabel *mTagValueLabel;
};
class ComposerPageAttachmentsTab : public ConfigModuleTab {
Q_OBJECT
public:
- ComposerPageAttachmentsTab( QWidget * parent=0, const char * name=0 );
- QString helpAnchor() const;
+ ComposerPageAttachmentsTab( TQWidget * parent=0, const char * name=0 );
+ TQString helpAnchor() const;
void save();
@@ -772,17 +772,17 @@ private:
//FIXME virtual void doResetToDefaultsOther();
private:
- QCheckBox *mOutlookCompatibleCheck;
- QCheckBox *mMissingAttachmentDetectionCheck;
+ TQCheckBox *mOutlookCompatibleCheck;
+ TQCheckBox *mMissingAttachmentDetectionCheck;
SimpleStringListEditor *mAttachWordsListEditor;
};
class KDE_EXPORT ComposerPage : public ConfigModuleWithTabs {
Q_OBJECT
public:
- ComposerPage( QWidget * parent=0, const char * name=0 );
+ ComposerPage( TQWidget * parent=0, const char * name=0 );
- QString helpAnchor() const;
+ TQString helpAnchor() const;
// hrmpf. moc doesn't like nested classes with slots/signals...:
typedef ComposerPageGeneralTab GeneralTab;
@@ -814,8 +814,8 @@ private:
class SecurityPageGeneralTab : public ConfigModuleTab {
Q_OBJECT
public:
- SecurityPageGeneralTab( QWidget * parent=0, const char * name=0 );
- QString helpAnchor() const;
+ SecurityPageGeneralTab( TQWidget * parent=0, const char * name=0 );
+ TQString helpAnchor() const;
void save();
void installProfile( KConfig * profile );
@@ -826,22 +826,22 @@ private:
//FIXME virtual void doResetToDefaultsOther();
private:
- QCheckBox *mExternalReferences;
- QCheckBox *mHtmlMailCheck;
- QCheckBox *mNoMDNsWhenEncryptedCheck;
- QButtonGroup *mMDNGroup;
- QButtonGroup *mOrigQuoteGroup;
- QCheckBox *mAutomaticallyImportAttachedKeysCheck;
- QCheckBox *mAlwaysDecrypt;
+ TQCheckBox *mExternalReferences;
+ TQCheckBox *mHtmlMailCheck;
+ TQCheckBox *mNoMDNsWhenEncryptedCheck;
+ TQButtonGroup *mMDNGroup;
+ TQButtonGroup *mOrigQuoteGroup;
+ TQCheckBox *mAutomaticallyImportAttachedKeysCheck;
+ TQCheckBox *mAlwaysDecrypt;
};
class SecurityPageComposerCryptoTab : public ConfigModuleTab {
Q_OBJECT
public:
- SecurityPageComposerCryptoTab( QWidget * parent=0, const char * name=0 );
+ SecurityPageComposerCryptoTab( TQWidget * parent=0, const char * name=0 );
- QString helpAnchor() const;
+ TQString helpAnchor() const;
void save();
void installProfile( KConfig * profile );
@@ -858,9 +858,9 @@ private:
class SecurityPageWarningTab : public ConfigModuleTab {
Q_OBJECT
public:
- SecurityPageWarningTab( QWidget * parent=0, const char * name=0 );
+ SecurityPageWarningTab( TQWidget * parent=0, const char * name=0 );
- QString helpAnchor() const;
+ TQString helpAnchor() const;
void save();
void installProfile( KConfig * profile );
@@ -881,10 +881,10 @@ class SecurityPageSMimeTab : public ConfigModuleTab, public DCOPObject {
Q_OBJECT
K_DCOP
public:
- SecurityPageSMimeTab( QWidget * parent=0, const char * name=0 );
+ SecurityPageSMimeTab( TQWidget * parent=0, const char * name=0 );
~SecurityPageSMimeTab();
- QString helpAnchor() const;
+ TQString helpAnchor() const;
// Can't use k_dcop here. dcopidl can't parse this file, dcopidlng has a namespace bug.
void save();
@@ -907,10 +907,10 @@ class SecurityPageCryptPlugTab : public ConfigModuleTab
{
Q_OBJECT
public:
- SecurityPageCryptPlugTab( QWidget * parent = 0, const char* name = 0 );
+ SecurityPageCryptPlugTab( TQWidget * parent = 0, const char* name = 0 );
~SecurityPageCryptPlugTab();
- QString helpAnchor() const;
+ TQString helpAnchor() const;
void save();
@@ -925,9 +925,9 @@ private:
class KDE_EXPORT SecurityPage : public ConfigModuleWithTabs {
Q_OBJECT
public:
- SecurityPage( QWidget * parent=0, const char * name=0 );
+ SecurityPage( TQWidget * parent=0, const char * name=0 );
- QString helpAnchor() const;
+ TQString helpAnchor() const;
// OpenPGP tab is special:
void installProfile( KConfig * profile );
@@ -956,10 +956,10 @@ private:
class MiscPageFolderTab : public ConfigModuleTab {
Q_OBJECT
public:
- MiscPageFolderTab( QWidget * parent=0, const char * name=0 );
+ MiscPageFolderTab( TQWidget * parent=0, const char * name=0 );
void save();
- QString helpAnchor() const;
+ TQString helpAnchor() const;
private:
virtual void doLoadFromGlobalSettings();
@@ -967,28 +967,28 @@ private:
//FIXME virtual void doResetToDefaultsOther();
private:
- QCheckBox *mEmptyFolderConfirmCheck;
- QCheckBox *mExcludeImportantFromExpiry;
- QComboBox *mLoopOnGotoUnread;
- QComboBox *mMailboxPrefCombo;
- QComboBox *mActionEnterFolder;
- QCheckBox *mEmptyTrashCheck;
+ TQCheckBox *mEmptyFolderConfirmCheck;
+ TQCheckBox *mExcludeImportantFromExpiry;
+ TQComboBox *mLoopOnGotoUnread;
+ TQComboBox *mMailboxPrefCombo;
+ TQComboBox *mActionEnterFolder;
+ TQCheckBox *mEmptyTrashCheck;
#ifdef HAVE_INDEXLIB
- QCheckBox *mIndexingEnabled;
+ TQCheckBox *mIndexingEnabled;
#endif
- QCheckBox *mDelayedMarkAsRead;
+ TQCheckBox *mDelayedMarkAsRead;
KIntSpinBox *mDelayedMarkTime;
- QCheckBox *mShowPopupAfterDnD;
+ TQCheckBox *mShowPopupAfterDnD;
KMail::FolderRequester *mOnStartupOpenFolder;
- QComboBox *mQuotaCmbBox;
+ TQComboBox *mQuotaCmbBox;
};
class MiscPageGroupwareTab : public ConfigModuleTab {
Q_OBJECT
public:
- MiscPageGroupwareTab( QWidget * parent=0, const char * name=0 );
+ MiscPageGroupwareTab( TQWidget * parent=0, const char * name=0 );
void save();
- QString helpAnchor() const;
+ TQString helpAnchor() const;
private slots:
void slotStorageFormatChanged( int );
@@ -998,36 +998,36 @@ private:
virtual void doLoadFromGlobalSettings();
private:
- QCheckBox* mEnableGwCB;
- QCheckBox* mEnableImapResCB;
+ TQCheckBox* mEnableGwCB;
+ TQCheckBox* mEnableImapResCB;
- QWidget* mBox;
- QVBox* gBox;
+ TQWidget* mBox;
+ TQVBox* gBox;
- QComboBox* mStorageFormatCombo;
- QComboBox* mLanguageCombo;
+ TQComboBox* mStorageFormatCombo;
+ TQComboBox* mLanguageCombo;
- QLabel* mFolderComboLabel;
- QWidgetStack* mFolderComboStack;
+ TQLabel* mFolderComboLabel;
+ TQWidgetStack* mFolderComboStack;
KMail::FolderRequester* mFolderCombo; // in the widgetstack
KMail::AccountComboBox* mAccountCombo; // in the widgetstack
- QCheckBox* mHideGroupwareFolders;
- QCheckBox* mOnlyShowGroupwareFolders;
- QCheckBox* mSyncImmediately;
- QCheckBox* mDeleteInvitations;
+ TQCheckBox* mHideGroupwareFolders;
+ TQCheckBox* mOnlyShowGroupwareFolders;
+ TQCheckBox* mSyncImmediately;
+ TQCheckBox* mDeleteInvitations;
- QCheckBox* mLegacyMangleFromTo;
- QCheckBox* mLegacyBodyInvites;
- QCheckBox* mExchangeCompatibleInvitations;
- QCheckBox* mAutomaticSending;
+ TQCheckBox* mLegacyMangleFromTo;
+ TQCheckBox* mLegacyBodyInvites;
+ TQCheckBox* mExchangeCompatibleInvitations;
+ TQCheckBox* mAutomaticSending;
};
class KDE_EXPORT MiscPage : public ConfigModuleWithTabs {
Q_OBJECT
public:
- MiscPage( QWidget * parent=0, const char * name=0 );
- QString helpAnchor() const;
+ MiscPage( TQWidget * parent=0, const char * name=0 );
+ TQString helpAnchor() const;
typedef MiscPageFolderTab FolderTab;
typedef MiscPageGroupwareTab GroupwareTab;
@@ -1046,15 +1046,15 @@ private:
class ListView : public KListView {
Q_OBJECT
public:
- ListView( QWidget *parent=0, const char *name=0, int visibleItem=10 );
+ ListView( TQWidget *parent=0, const char *name=0, int visibleItem=10 );
void resizeColums();
void setVisibleItem( int visibleItem, bool updateSize=true );
- virtual QSize sizeHint() const;
+ virtual TQSize sizeHint() const;
protected:
- virtual void resizeEvent( QResizeEvent *e );
- virtual void showEvent( QShowEvent *e );
+ virtual void resizeEvent( TQResizeEvent *e );
+ virtual void showEvent( TQShowEvent *e );
private:
int mVisibleItem;