Cleanup job: the protocol() method is now removed. It was by now only used in a single debug statement in kmcommands.cpp

svn path=/trunk/kdepim/; revision=291315
wilder-work
Bo Thorsen 22 years ago
parent 16c4336102
commit ecf7b40d77
  1. 2
      folderstorage.h
  2. 2
      kmcommands.cpp
  3. 5
      kmfolder.cpp
  4. 2
      kmfolder.h
  5. 2
      kmfoldercachedimap.h
  6. 1
      kmfolderimap.h
  7. 2
      kmfoldermaildir.h
  8. 2
      kmfoldermbox.h
  9. 1
      kmfoldersearch.h

@ -305,8 +305,6 @@ public:
/** Type of the folder. Inherited. */
virtual const char* type() const;
virtual QCString protocol() const = 0;
/** Returns TRUE if accounts are associated with this folder. */
bool hasAccounts() const { return (mAcctList != 0); }

@ -222,7 +222,7 @@ void KMCommand::transferSelectedMsgs()
if ( thisMsg->parent() && !thisMsg->isComplete() &&
( !mProgressDialog || !mProgressDialog->wasCancelled() ) )
{
kdDebug(5006)<<"### INCOMPLETE with protocol = "<<thisMsg->parent()->protocol() <<endl;
kdDebug(5006)<<"### INCOMPLETE\n";
// the message needs to be transferred first
complete = false;
KMCommand::mCountJobs++;

@ -457,11 +457,6 @@ const char* KMFolder::type() const
return mStorage->type();
}
QCString KMFolder::protocol() const
{
return mStorage->protocol();
}
bool KMFolder::hasAccounts() const
{
return mStorage->hasAccounts();

@ -305,8 +305,6 @@ public:
/** Type of the folder. Inherited. */
const char* type() const;
QCString protocol() const;
/** Returns TRUE if accounts are associated with this folder. */
bool hasAccounts() const;

@ -105,8 +105,6 @@ public:
virtual imapState getSubfolderState() { return mSubfolderState; }
virtual void setSubfolderState(imapState state) { mSubfolderState = state; }
virtual QCString protocol() const { return "cachedimap"; }
/** The path to the imap folder on the server */
void setImapPath(const QString &path) { mImapPath = path; }
QString imapPath() { return mImapPath; }

@ -93,7 +93,6 @@ public:
/** Returns the type of this folder */
virtual KMFolderType folderType() const { return KMFolderTypeImap; }
virtual QCString protocol() const { return "imap"; }
virtual KMMessage* getMsg(int idx);
/** The path to the imap folder on the server */
void setImapPath(const QString &path) { mImapPath = path; }

@ -85,8 +85,6 @@ public:
/** Is the folder read-only? */
virtual bool isReadOnly() const { return false; }
virtual QCString protocol() const { return "maildir"; }
protected:
virtual FolderJob* doCreateJob( KMMessage *msg, FolderJob::JobType jt, KMFolder *folder,
QString partSpecifier, const AttachmentStrategy *as ) const;

@ -94,8 +94,6 @@ public:
void setProcmailLockFileName( const QString& );
virtual QCString protocol() const { return "mbox"; }
static QCString escapeFrom( const QCString & str );
protected:

@ -151,7 +151,6 @@ public:
virtual int create(bool imap = FALSE);
virtual int compact();
virtual bool isReadOnly() const;
virtual QCString protocol() const { return "search"; }
virtual const KMMsgBase* getMsgBase(int idx) const;
virtual KMMsgBase* getMsgBase(int idx);
virtual int find(const KMMsgBase* msg) const;

Loading…
Cancel
Save