greghaynes / kdelicious

A Konqueror del.icio.us plugin

This URL has Read+Write access

laurent Montel (author)
Thu Apr 09 00:12:54 -0700 2009
greghaynes (committer)
Thu Apr 09 00:12:54 -0700 2009
kdelicious / kdeliciousplugin.h
100644 42 lines (31 sloc) 0.792 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#ifndef KDELICIOUSPLUGIN_H
#define KDELICIOUSPLUGIN_H
 
#include "browser.h"
 
#include <kparts/plugin.h>
 
class KConfig;
class KHTMLPart;
 
namespace KWallet
{
class Wallet;
}
 
class KDeliciousPlugin
: public KParts::Plugin
{
Q_OBJECT
 
public:
KDeliciousPlugin(QObject* parent = 0, const QVariantList &args = QVariantList());
 
private Q_SLOTS:
void authenticationRequired( QString hostname,
quint16 port,
QAuthenticator *authenticator );
void tagPage();
void requestFinished( int id, bool error );
void responseHeaderReceived( const QHttpResponseHeader &header );
void postFailed( QtLicious::PostRequest::Error error );
 
private:
KHTMLPart *m_parent;
KWallet::Wallet *m_wallet;
KConfig *m_config;
QtLicious::Browser *m_browser;
 
};
 
#endif // KDELICIOUSPLUGIN_H