You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
krename/krename/dateplugin.h

45 lines
1.6 KiB

/***************************************************************************
dateplugin.h - description
-------------------
begin : Mon Feb 02 2004
copyright : (C) 2004 by Dominik Seichter
email : domseichter@web.de
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef DATEPLUGIN_H
#define DATEPLUGIN_H
#include <fileplugin.h>
// time_t support...
#include <time.h>
/**
@author Dominik Seichter
*/
class DatePlugin : public FilePlugin
{
public:
DatePlugin();
TQString processFile(BatchRenamer* b, int i, TQString token, int mode);
const TQString getAccelName() const;
const TQString getName() const;
const TQString getPattern() const;
void addHelp( HelpDialogData* data );
private:
const TQString time( time_t time, const TQString & format );
};
#endif