phoneapp/phoneuiutils/src/tphonecmdparamquery.cpp
changeset 21 92ab7f8d0eab
parent 0 5f000ab63145
child 22 6bb1b21d2484
equal deleted inserted replaced
4:c84cf270c54f 21:92ab7f8d0eab
   112 // Sets the query dialog resource id
   112 // Sets the query dialog resource id
   113 // (other items were commented in a header).
   113 // (other items were commented in a header).
   114 // ---------------------------------------------------------
   114 // ---------------------------------------------------------
   115 //
   115 //
   116 EXPORT_C void TPhoneCmdParamQuery::SetQueryResourceId( TInt aDialogResourceId )
   116 EXPORT_C void TPhoneCmdParamQuery::SetQueryResourceId( TInt aDialogResourceId )
   117 	{
   117     {
   118    	__ASSERT_DEBUG( aDialogResourceId, 
   118     __ASSERT_DEBUG( aDialogResourceId, 
   119    		Panic( EPhoneUtilsParameterNotInitialized ) );
   119         Panic( EPhoneUtilsParameterNotInitialized ) );
   120    	iDialogResourceId = aDialogResourceId;   
   120     iDialogResourceId = aDialogResourceId;   
   121    	}
   121     }
   122 
   122 
   123 // ---------------------------------------------------------
   123 // ---------------------------------------------------------
   124 // TPhoneCmdParamQuery::QueryResourceId
   124 // TPhoneCmdParamQuery::QueryResourceId
   125 // Returns the query dialog's resource id
   125 // Returns the query dialog's resource id
   126 // (other items were commented in a header).
   126 // (other items were commented in a header).
   127 // ---------------------------------------------------------
   127 // ---------------------------------------------------------
   128 //
   128 //
   129 EXPORT_C TInt TPhoneCmdParamQuery::QueryResourceId() const
   129 EXPORT_C TInt TPhoneCmdParamQuery::QueryResourceId() const
   130 	{	
   130     {   
   131    	return iDialogResourceId;
   131     return iDialogResourceId;
   132    	}
   132     }
   133 
   133 
   134 // ---------------------------------------------------------
   134 // ---------------------------------------------------------
   135 // TPhoneCmdParamQuery::SetQueryPrompt
   135 // TPhoneCmdParamQuery::SetQueryPrompt
   136 // Sets the query dialog's prompt text
   136 // Sets the query dialog's prompt text
   137 // (other items were commented in a header).
   137 // (other items were commented in a header).
   202 // Sets the data text
   202 // Sets the data text
   203 // (other items were commented in a header).
   203 // (other items were commented in a header).
   204 // ---------------------------------------------------------
   204 // ---------------------------------------------------------
   205 //
   205 //
   206 EXPORT_C void TPhoneCmdParamQuery::SetDataText( TDes* aDataText )
   206 EXPORT_C void TPhoneCmdParamQuery::SetDataText( TDes* aDataText )
   207    	{
   207     {
   208    	__ASSERT_DEBUG( aDataText, Panic( EPhoneUtilsParameterNotInitialized ) );
   208     __ASSERT_DEBUG( aDataText, Panic( EPhoneUtilsParameterNotInitialized ) );
   209    	iDataText = aDataText;   
   209     iDataText = aDataText;   
   210    	}
   210     }
   211 
   211 
   212 // ---------------------------------------------------------
   212 // ---------------------------------------------------------
   213 // TPhoneCmdParamQuery::DataText
   213 // TPhoneCmdParamQuery::DataText
   214 // Returns the data text
   214 // Returns the data text
   215 // (other items were commented in a header).
   215 // (other items were commented in a header).
   216 // ---------------------------------------------------------
   216 // ---------------------------------------------------------
   217 //
   217 //
   218 EXPORT_C TDes* TPhoneCmdParamQuery::DataText() const
   218 EXPORT_C TDes* TPhoneCmdParamQuery::DataText() const
   219    	{
   219     {
   220    	__ASSERT_DEBUG( iDataText, Panic( EPhoneUtilsInvariant ) );
   220     // <-- QT PHONE START -->
   221    	return iDataText;
   221     //__ASSERT_DEBUG( iDataText, Panic( EPhoneUtilsInvariant ) );
   222    	}
   222     // <-- QT PHONE END -->
       
   223     return iDataText;
       
   224     }
   223    
   225    
   224 // ---------------------------------------------------------
   226 // ---------------------------------------------------------
   225 // TPhoneCmdParamQuery::SetQueryType
   227 // TPhoneCmdParamQuery::SetQueryType
   226 // Sets the query type
   228 // Sets the query type
   227 // (other items were commented in a header).
   229 // (other items were commented in a header).