KVIrc  4.9.2
DeveloperAPIs
Classes | Macros | Typedefs | Functions | Variables
libkviurl.cpp File Reference
#include "libkviurl.h"
#include "KviModule.h"
#include "KviApplication.h"
#include "KviMainWindow.h"
#include "KviMenuBar.h"
#include "KviWindowStack.h"
#include "KviInternalCommand.h"
#include "KviIconManager.h"
#include "KviAction.h"
#include "KviActionManager.h"
#include "KviWindowListBase.h"
#include "KviPointerList.h"
#include "KviKvsEventManager.h"
#include "KviWindow.h"
#include "KviOptions.h"
#include "KviQString.h"
#include "kvi_out.h"
#include <QFileDialog>
#include <QMessageBox>
#include <QCursor>
#include <QDateTime>
#include <QHeaderView>
#include <QTextStream>
#include <QMouseEvent>
#include <QPainter>
#include <QMenu>

Classes

struct  _UrlDlgList
 

Macros

#define KVI_URL_EXTENSION_NAME   "URL module extenstion"
 

Typedefs

typedef struct _UrlDlgList UrlDlgList
 

Functions

int check_url (KviWindow *w, const QString &szUrl)
 
UrlDlgListfindFrame ()
 
void loadBanList ()
 
void loadUrlList ()
 
void saveBanList ()
 
void saveUrlList ()
 
static bool url_kvs_cmd_config (KviKvsModuleCommandCall *)
 
static bool url_kvs_cmd_list (KviKvsModuleCommandCall *)
 
static bool url_module_can_unload (KviModule *)
 
static bool url_module_cleanup (KviModule *)
 
void url_module_config ()
 
void url_module_help ()
 
static bool url_module_init (KviModule *m)
 
bool urllist_module_event_onUrl (KviKvsModuleEventCall *c)
 

Variables

KviPointerList< QString > * g_pBanList
 
const char * g_pBanListFilename = "/list.kviban"
 
ConfigDialogg_pConfigDialog
 
KviPointerList< KviUrl > * g_pList
 
KviPointerList< UrlDlgList > * g_pUrlDlgList
 
const char * g_pUrlListFilename = "/list.kviurl"
 
QString szConfigPath
 

Macro Definition Documentation

#define KVI_URL_EXTENSION_NAME   "URL module extenstion"

Typedef Documentation

typedef struct _UrlDlgList UrlDlgList

Function Documentation

int check_url ( KviWindow w,
const QString &  szUrl 
)
UrlDlgList * findFrame ( )
void loadBanList ( )
void loadUrlList ( )
void saveBanList ( )
void saveUrlList ( )
static bool url_kvs_cmd_config ( KviKvsModuleCommandCall )
static

Referenced by url_module_init().

static bool url_kvs_cmd_list ( KviKvsModuleCommandCall )
static
static bool url_module_can_unload ( KviModule )
static
static bool url_module_cleanup ( KviModule )
static
void url_module_config ( )
void url_module_help ( )
static bool url_module_init ( KviModule m)
static
bool urllist_module_event_onUrl ( KviKvsModuleEventCall c)

Variable Documentation

KviPointerList<QString>* g_pBanList

Referenced by url_module_cleanup().

const char* g_pBanListFilename = "/list.kviban"

Referenced by loadBanList(), and saveBanList().

ConfigDialog* g_pConfigDialog

Referenced by url_module_cleanup().

KviPointerList<UrlDlgList>* g_pUrlDlgList

Referenced by url_module_cleanup().

const char* g_pUrlListFilename = "/list.kviurl"

Referenced by loadUrlList(), and saveUrlList().

QString szConfigPath