KVIrc  4.9.2
DeveloperAPIs
Enumerations | Functions
KviIrcUrl Namespace Reference

Enumerations

enum  KviIrcUrlContextSpec {
  FirstFreeContext = 1, NewContext = 2, CurrentContext = 4, TryCurrentContext = 8,
  TryEveryContext = 32, DoNotPartChans = 16
}
 
enum  KviIrcUrlParserError { InvalidProtocol = 1, InvalidPort = 2, NeedNewContext = 4, InvalidUrl = 8 }
 

Functions

KVIRC_API void join (QString &url, KviIrcServer *server)
 
KVIRC_API void makeJoinCmd (const QStringList &chans, QString &szJoinCommand)
 
KVIRC_API bool parse (const char *url, KviCString &cmdBuffer, int contextSpec=KVI_IRCURL_CONTEXT_FIRSTFREE)
 
KVIRC_API int run (const QString &url, int contextSpec=FirstFreeContext, KviConsoleWindow *pConsole=0)
 
KVIRC_API void split (QString url, KviIrcUrlParts &parts)
 

Enumeration Type Documentation

Enumerator
FirstFreeContext 
NewContext 
CurrentContext 
TryCurrentContext 
TryEveryContext 
DoNotPartChans 
Enumerator
InvalidProtocol 
InvalidPort 
NeedNewContext 
InvalidUrl 

Function Documentation

void KviIrcUrl::join ( QString &  url,
KviIrcServer server 
)
void KviIrcUrl::makeJoinCmd ( const QStringList &  chans,
QString &  szJoinCommand 
)

Referenced by run().

bool KviIrcUrl::parse ( const char *  url,
KviCString cmdBuffer,
int  contextSpec = KVI_IRCURL_CONTEXT_FIRSTFREE 
)
int KviIrcUrl::run ( const QString &  url,
int  contextSpec = FirstFreeContext,
KviConsoleWindow pConsole = 0 
)
void KviIrcUrl::split ( QString  url,
KviIrcUrlParts parts 
)