QString KST::suggestPluginName(const QString& pname, KstObjectTag vname) { QString tag; if (!vname.isValid()) { tag = pname; } else { tag = vname.tag() + "-" + pname; } return suggestDataObjectName(tag, i18n("Minimal abbreviation for 'pluGin'", "G"), false); }
QString KST::suggestPluginName(const QString& pname, const QString &vname) { QString tag; if (vname.isEmpty()) { tag = pname; } else { tag = vname + "-" + pname; } return suggestDataObjectName(tag, i18n("Minimal abbreviation for 'pluGin'", "G"), false); }
QString KST::suggestEQName( const QString& name_in) { return suggestDataObjectName(name_in, i18n("Minimal abbreviation for 'Equation'", "E"), false); }
QString KST::suggestHistogramName( const QString& vector_name ) { return suggestDataObjectName(vector_name, i18n("Minimal abbreviation for 'Histogram'", "H"), true); }
QString KST::suggestCSDName( const QString& vector_name ) { return suggestDataObjectName(vector_name, i18n("Minimal abbreviation for 'Cumulative Spectral Decay'", "S"), true); }
QString KST::suggestPSDName( const QString& vector_name ) { return suggestDataObjectName(vector_name, i18n("Minimal abbreviation for 'Power spectrum'", "P"), true); }
/* been put on the list */ QString KST::suggestCurveName( const QString& vector_name, bool add_c ) { return suggestDataObjectName(vector_name, i18n("Minimal abbreviation for 'Curve'", "C"), add_c); }
QString KST::suggestImageName(const QString& matrix_name) { return suggestDataObjectName(matrix_name, i18n("Minimal abbreviation for 'Image'", "I"), true); }
QString KST::suggestVectorViewName( KstObjectTag vector_name ) { return suggestDataObjectName(vector_name.tag(), i18n("Minimal abbreviation for 'VectorView'", "V"), true); }
QString KST::suggestHistogramName( KstObjectTag vector_name ) { return suggestDataObjectName(vector_name.tag(), i18n("Minimal abbreviation for 'Histogram'", "H"), true); }
QString KST::suggestPSDName( KstObjectTag vector_name ) { return suggestDataObjectName(vector_name.tag(), i18n("Minimal abbreviation for 'Power spectrum'", "P"), true); }
/* been put on the list */ QString KST::suggestCurveName( KstObjectTag vector_name, bool add_c ) { return suggestDataObjectName(vector_name.displayString(), i18n("Minimal abbreviation for 'Curve'", "C"), add_c); }
QString KST::suggestImageName(KstObjectTag matrix_name) { return suggestDataObjectName(matrix_name.tag(), i18n("Minimal abbreviation for 'Image'", "I"), true); }