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);
}
Exemple #2
0
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);
}
Exemple #3
0
QString KST::suggestEQName( const QString& name_in) {
  return suggestDataObjectName(name_in, 
                      i18n("Minimal abbreviation for 'Equation'", "E"),
                      false);
}
Exemple #4
0
QString KST::suggestHistogramName( const QString& vector_name ) {
  return suggestDataObjectName(vector_name, 
                      i18n("Minimal abbreviation for 'Histogram'", "H"),
                      true);
}
Exemple #5
0
QString KST::suggestCSDName( const QString& vector_name ) {
  return suggestDataObjectName(vector_name,
                               i18n("Minimal abbreviation for 'Cumulative Spectral Decay'", "S"),
                               true);
}
Exemple #6
0
QString KST::suggestPSDName( const QString& vector_name ) {
  return suggestDataObjectName(vector_name, 
                      i18n("Minimal abbreviation for 'Power spectrum'", "P"),
                      true);
}
Exemple #7
0
/* 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);
}
Exemple #8
0
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);
}