Reorder variable

wilder-work
Montel Laurent 11 years ago
parent a4a77940c2
commit 5c50830a5a
  1. 2
      collectionpage/collectionmailinglistpage.cpp
  2. 2
      collectionpage/collectionmailinglistpage.h
  3. 2
      collectionpage/collectiontemplatespage.h
  4. 2
      collectionpage/collectionviewpage.h
  5. 8
      folderarchive/folderarchiveaccountinfo.cpp
  6. 2
      folderarchive/folderarchiveaccountinfo.h

@ -48,7 +48,7 @@ using namespace MailCommon;
CollectionMailingListPage::CollectionMailingListPage(QWidget * parent) : CollectionMailingListPage::CollectionMailingListPage(QWidget * parent) :
CollectionPropertiesPage( parent ), mLastItem(0), mGroupWidget(0), changed(false) CollectionPropertiesPage( parent ), mGroupWidget(0), mLastItem(0), changed(false)
{ {
setObjectName( QLatin1String( "KMail::CollectionMailingListPage" ) ); setObjectName( QLatin1String( "KMail::CollectionMailingListPage" ) );
setPageTitle( i18nc( "@title:tab Mailing list settings for a folder.", "Mailing List" ) ); setPageTitle( i18nc( "@title:tab Mailing list settings for a folder.", "Mailing List" ) );

@ -75,7 +75,6 @@ private:
Akonadi::Collection mCurrentCollection; Akonadi::Collection mCurrentCollection;
QSharedPointer<MailCommon::FolderCollection> mFolder; QSharedPointer<MailCommon::FolderCollection> mFolder;
int mLastItem;
MailingList mMailingList; MailingList mMailingList;
QCheckBox *mHoldsMailingList; QCheckBox *mHoldsMailingList;
KComboBox *mMLHandlerCombo; KComboBox *mMLHandlerCombo;
@ -84,6 +83,7 @@ private:
KEditListWidget *mEditList; KEditListWidget *mEditList;
KSqueezedTextLabel *mMLId; KSqueezedTextLabel *mMLId;
QWidget *mGroupWidget; QWidget *mGroupWidget;
int mLastItem;
bool changed; bool changed;
}; };

@ -48,8 +48,8 @@ private:
void init(); void init();
QCheckBox* mCustom; QCheckBox* mCustom;
TemplateParser::TemplatesConfiguration* mWidget; TemplateParser::TemplatesConfiguration* mWidget;
uint mIdentity;
QString mCollectionId; QString mCollectionId;
uint mIdentity;
bool mIsLocalSystemFolder; bool mIsLocalSystemFolder;
bool mChanged; bool mChanged;
}; };

@ -55,7 +55,6 @@ public slots:
private: private:
void init(const Akonadi::Collection&); void init(const Akonadi::Collection&);
bool mIsLocalSystemFolder;
QCheckBox *mIconsCheckBox; QCheckBox *mIconsCheckBox;
QLabel *mNormalIconLabel; QLabel *mNormalIconLabel;
KIconButton *mNormalIconButton; KIconButton *mNormalIconButton;
@ -68,6 +67,7 @@ private:
MessageList::Utils::ThemeComboBox *mThemeComboBox; MessageList::Utils::ThemeComboBox *mThemeComboBox;
Akonadi::Collection mCurrentCollection; Akonadi::Collection mCurrentCollection;
int mShowSenderReceiverValue; int mShowSenderReceiverValue;
bool mIsLocalSystemFolder;
}; };
AKONADI_COLLECTION_PROPERTIES_PAGE_FACTORY( CollectionViewPageFactory, CollectionViewPage ) AKONADI_COLLECTION_PROPERTIES_PAGE_FACTORY( CollectionViewPageFactory, CollectionViewPage )

@ -20,16 +20,16 @@
#include <KConfigGroup> #include <KConfigGroup>
FolderArchiveAccountInfo::FolderArchiveAccountInfo() FolderArchiveAccountInfo::FolderArchiveAccountInfo()
: mArchiveType(UniqueFolder), : mArchiveTopLevelCollectionId(-1),
mArchiveTopLevelCollectionId(-1), mArchiveType(UniqueFolder),
mEnabled(false), mEnabled(false),
mKeepExistingStructure(false) mKeepExistingStructure(false)
{ {
} }
FolderArchiveAccountInfo::FolderArchiveAccountInfo(const KConfigGroup &config) FolderArchiveAccountInfo::FolderArchiveAccountInfo(const KConfigGroup &config)
: mArchiveType(UniqueFolder), : mArchiveTopLevelCollectionId(-1),
mArchiveTopLevelCollectionId(-1), mArchiveType(UniqueFolder),
mEnabled(false), mEnabled(false),
mKeepExistingStructure(false) mKeepExistingStructure(false)
{ {

@ -57,9 +57,9 @@ public:
bool operator==( const FolderArchiveAccountInfo& other ) const; bool operator==( const FolderArchiveAccountInfo& other ) const;
private: private:
FolderArchiveAccountInfo::FolderArchiveType mArchiveType;
Akonadi::Collection::Id mArchiveTopLevelCollectionId; Akonadi::Collection::Id mArchiveTopLevelCollectionId;
QString mInstanceName; QString mInstanceName;
FolderArchiveAccountInfo::FolderArchiveType mArchiveType;
bool mEnabled; bool mEnabled;
bool mKeepExistingStructure; bool mKeepExistingStructure;
}; };

Loading…
Cancel
Save