clientinfo.cpp
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #include "clientinfo.h"
00027
00028 ClientInfo::ClientInfo(const QCString &_appName, const QString& titl,
00029 const QCString& dcopObj, int notifyType, bool disp,
00030 bool wait)
00031 : appName( _appName ),
00032 title(titl),
00033 dcopObject(dcopObj),
00034 displayCalName(disp),
00035 waitForRegistration(wait),
00036 menuIndex(0),
00037 mValid( true )
00038 {
00039 setNotificationType(notifyType);
00040 }
00041
00042 void ClientInfo::setNotificationType(int type)
00043 {
00044 switch (type)
00045 {
00046 case DCOP_NOTIFY:
00047 case DCOP_SIMPLE_NOTIFY:
00048 case COMMAND_LINE_NOTIFY:
00049 notificationType = (ClientInfo::NotificationType)type;
00050 break;
00051 case NO_START_NOTIFY:
00052 default:
00053 notificationType = NO_START_NOTIFY;
00054 break;
00055 }
00056 }
This file is part of the documentation for kalarmd Library Version 3.2.2.