diff options
| -rw-r--r-- | client.cxx | 2 | ||||
| m--------- | librtclient | 0 | ||||
| -rw-r--r-- | qrtclient/client.hxx | 7 | ||||
| -rw-r--r-- | qrtclient/ticket.hxx | 4 | ||||
| -rw-r--r-- | ticket.cxx | 2 | 
5 files changed, 8 insertions, 7 deletions
| @@ -115,7 +115,7 @@ namespace RTClient {  	void Client::ticketSearch(QString const& owner)  	{  		QString query{"Owner='" % owner % "'"}; -		rtclient_ticketlist* ticketList = nullptr; +		rtclient_ticket_list* ticketList = nullptr;  		rtclient_ticket_search(&ticketList, query.toLatin1().constData());  		emit ticketSearched(ticketList);  	} diff --git a/librtclient b/librtclient -Subproject 739bcbbd83115cb8cf3f5b60fd7e73056a0c729 +Subproject 3ba566924ebb019b084b3d0714ee51250828c4c diff --git a/qrtclient/client.hxx b/qrtclient/client.hxx index cf7cba9..8876f4c 100644 --- a/qrtclient/client.hxx +++ b/qrtclient/client.hxx @@ -5,7 +5,7 @@  #include <rtclient/user.h>  struct rtclient_user; -struct rtclient_ticketlist; +struct rtclient_ticket_list;  namespace RTClient { @@ -40,7 +40,8 @@ namespace RTClient {  					, QString const& signature = nullptr  					, QString const& gecos = nullptr  					, rtclient_lang lang = RTCLIENT_LANG_NONE -					, rtclient_timezone timeZone = RTCLIENT_TIMEZONE_NONE +					, rtclient_timezone timeZone +						= RTCLIENT_TIMEZONE_NONE  					, bool disabled = false  					, bool privileged = false);  			void userShow(unsigned int id); @@ -65,7 +66,7 @@ namespace RTClient {  		signals:  			void loggedIn(QString const& name);  			void userShown(rtclient_user* user); -			void ticketSearched(rtclient_ticketlist* list); +			void ticketSearched(rtclient_ticket_list* list);  	};  } diff --git a/qrtclient/ticket.hxx b/qrtclient/ticket.hxx index 25c067f..5af995a 100644 --- a/qrtclient/ticket.hxx +++ b/qrtclient/ticket.hxx @@ -4,7 +4,7 @@  #include <QAbstractListModel>  #include <rtclient/ticket.h> -struct rtclient_ticketlist; +struct rtclient_ticket_list;  namespace RTClient { @@ -44,7 +44,7 @@ namespace RTClient {  					) const Q_DECL_OVERRIDE;  		public slots: -			void update(rtclient_ticketlist* ticketList); +			void update(rtclient_ticket_list* ticketList);  		protected:  			QHash<int, QByteArray> roleNames() const Q_DECL_OVERRIDE; @@ -42,7 +42,7 @@ namespace RTClient {  		emit rowCountChanged();  	} -	void TicketList::update(rtclient_ticketlist* ticketList) +	void TicketList::update(rtclient_ticket_list* ticketList)  	{  		if (ticketList) {  			for (size_t i = 0; i < ticketList->length; i++) |