KVIrc
4.9.2
DeveloperAPIs
|
#include <libkvimircimport.h>
Public Member Functions | |
virtual void | die () |
int | doImport (const QString &filename) |
KviMircServersIniImport (KviModuleExtensionDescriptor *d) | |
virtual void | start () |
~KviMircServersIniImport () | |
Public Member Functions inherited from KviMexServerImport | |
KviMexServerImport (KviModuleExtensionDescriptor *d) | |
~KviMexServerImport () | |
Public Member Functions inherited from KviModuleExtension | |
KviModuleExtensionDescriptor * | descriptor () |
KviModuleExtension (KviModuleExtensionDescriptor *d) | |
virtual | ~KviModuleExtension () |
Additional Inherited Members | |
Signals inherited from KviMexServerImport | |
void | server (const KviIrcServer &s, const QString &network) |
Static Public Member Functions inherited from KviModuleExtension | |
static KviModuleExtensionManager * | manager () |
KviMircServersIniImport::KviMircServersIniImport | ( | KviModuleExtensionDescriptor * | d | ) |
KviMircServersIniImport::~KviMircServersIniImport | ( | ) |
|
virtual |
Implements KviMexServerImport.
Reimplemented in KviRemoteMircServersIniImport.
int KviMircServersIniImport::doImport | ( | const QString & | filename | ) |
References __tr2qs, KviConfigurationFile::hasGroup(), i, KviConfigurationFile::Read, KviConfigurationFile::readEntry(), s, KviMexServerImport::server(), KviIrcServer::setDescription(), KviConfigurationFile::setGroup(), KviIrcServer::setHostName(), KviIrcServer::setPort(), uPort, and KviMessageBox::warning().
Referenced by KviRemoteMircServerImportWizard::getListTerminated(), and start().
|
virtual |
Implements KviMexServerImport.
Reimplemented in KviRemoteMircServersIniImport.
References __tr, KviFileDialog::askForOpenFileName(), doImport(), g_pMainWindow, and KVI_FILTER_INI.