mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-23 18:32:53 +00:00
kdeplasma-addons: remove redundant destructor and method declaration
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
d493613343
commit
15cec03ff6
5 changed files with 2 additions and 12 deletions
|
@ -61,10 +61,6 @@ UnitConverter::~UnitConverter()
|
|||
cg.writeEntry("value", m_pTxtValue1->text());
|
||||
}
|
||||
|
||||
void UnitConverter::init()
|
||||
{
|
||||
}
|
||||
|
||||
void UnitConverter::sltCategoryChanged(int index)
|
||||
{
|
||||
m_pCmbUnit1->clear();
|
||||
|
|
|
@ -47,7 +47,6 @@ class UnitConverter : public Plasma::PopupApplet
|
|||
UnitConverter(QObject *parent, const QVariantList &args);
|
||||
~UnitConverter();
|
||||
|
||||
virtual void init();
|
||||
virtual QGraphicsWidget *graphicsWidget();
|
||||
|
||||
public slots:
|
||||
|
|
|
@ -38,7 +38,7 @@ static const QString timeWord = i18nc("Note this is a KRunner keyword", timeWord
|
|||
DateTimeRunner::DateTimeRunner(QObject *parent, const QVariantList &args)
|
||||
: Plasma::AbstractRunner(parent, args)
|
||||
{
|
||||
setObjectName(QLatin1String( "DataTimeRunner" ));
|
||||
setObjectName(QLatin1String("DataTimeRunner"));
|
||||
|
||||
addSyntax(Plasma::RunnerSyntax(dateWord, i18n("Displays the current date")));
|
||||
addSyntax(Plasma::RunnerSyntax(dateWord + QLatin1String( " :q:" ), i18n("Displays the current date in a given timezone")));
|
||||
|
@ -46,10 +46,6 @@ DateTimeRunner::DateTimeRunner(QObject *parent, const QVariantList &args)
|
|||
addSyntax(Plasma::RunnerSyntax(timeWord + QLatin1String( " :q:" ), i18n("Displays the current time in a given timezone")));
|
||||
}
|
||||
|
||||
DateTimeRunner::~DateTimeRunner()
|
||||
{
|
||||
}
|
||||
|
||||
void DateTimeRunner::match(Plasma::RunnerContext &context)
|
||||
{
|
||||
const QString term = context.query();
|
||||
|
|
|
@ -36,7 +36,6 @@ class DateTimeRunner : public Plasma::AbstractRunner
|
|||
|
||||
public:
|
||||
DateTimeRunner(QObject *parent, const QVariantList &args);
|
||||
~DateTimeRunner();
|
||||
|
||||
void match(Plasma::RunnerContext &context);
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@ void KateSessions::match(Plasma::RunnerContext &context)
|
|||
);
|
||||
KUrl url;
|
||||
foreach (const QString &it, list) {
|
||||
/* KConfig _config( *it, KConfig::SimpleConfig );
|
||||
/* KConfig _config( it, KConfig::SimpleConfig );
|
||||
KConfigGroup config(&_config, "General" );
|
||||
QString name = config.readEntry( "Name" );*/
|
||||
url.setPath(it);
|
||||
|
|
Loading…
Add table
Reference in a new issue