00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #include <tdelocale.h>
00017
00018 #include "kshowmail.h"
00019 #include "kfeedback.h"
00020
00021
00022
00023 void KShowMailApp::slotSendFeedbackMail()
00024 {
00025 KFeedbackDialog* feedbackDialog = new KFeedbackDialog( "eggert.ehmke@berlin.de", "feedback_mail" );
00026 TQ_CHECK_PTR( feedbackDialog );
00027
00028 KFeedbackQuestionList * list = feedbackDialog->form()->questionList();
00029
00030 KFeedbackQuestion * question =
00031 list->addQuestion( i18n( "What is your general opinion about this program?" ), "general_opinion", true, true );
00032
00033 question->addAnswer( i18n( "It's one of my favourites"), "1/8_favourite");
00034 question->addAnswer( i18n( "I like it"), "2/8_like_it");
00035 question->addAnswer( i18n( "It's sometimes useful"), "3/8_sometimes_useful");
00036 question->addAnswer( i18n( "It's average"), "4/8_average");
00037 question->addAnswer( i18n( "Nice try, but this could be done better"), "5/8_nice_try");
00038 question->addAnswer( i18n( "It's poor"), "6/8_poor");
00039 question->addAnswer( i18n( "It's useless"), "7/8_useless");
00040 question->addAnswer( i18n( "It's crap"), "8/8_crap");
00041
00042 question = list->addQuestion( i18n( "Which features of this program do you like?" ), "features_liked", false );
00043 addFeatureList( question );
00044
00045 question = list->addQuestion( i18n( "What is your favourite feature?" ), "favourite_feature", true );
00046 addFeatureList( question );
00047
00048 question = list->addQuestion( i18n( "Which features don't you like?" ), "features_not_liked", false );
00049 addFeatureList( question );
00050
00051 question = list->addQuestion( i18n( "Which features do you never use?" ), "features_never_used", false );
00052 addFeatureList( question );
00053
00054 question = list->addQuestion( i18n( "Are there features you are missing?" ), "features_missing", true );
00055 question->addAnswer( i18n( "Yes, a lot! (please add comment below)" ), "1/4_lots" );
00056 question->addAnswer( i18n( "Some (please add comment below)" ), "2/4_some" );
00057 question->addAnswer( i18n( "None" ), "3/4_none" );
00058 question->addAnswer( i18n( "It has too many features already!" ), "4/4_too_many_already" );
00059
00060 question = list->addQuestion( i18n( "How do you rate the stability of this program?" ), "stability", true, true );
00061 question->addAnswer( i18n( "Rock solid"), "1/5_rock_solid" );
00062 question->addAnswer( i18n( "Good"), "2/5_good");
00063 question->addAnswer( i18n( "Average"), "3/5_average");
00064 question->addAnswer( i18n( "Poor"), "4/5_poor" );
00065 question->addAnswer( i18n( "It keeps crashing all the time"), "5/5_keeps_crashing" );
00066
00067 question = list->addQuestion( i18n( "How do you rate the performance of this program?" ), "performance", true );
00068 question->addAnswer( i18n( "Great"), "1/5_great");
00069 question->addAnswer( i18n( "Good"), "2/5_good");
00070 question->addAnswer( i18n( "Average"), "3/5_average");
00071 question->addAnswer( i18n( "Poor"), "4/5_poor");
00072 question->addAnswer( i18n( "It's so slow it drives me nuts"), "5/5_drives_me_nuts");
00073
00074 question = list->addQuestion( i18n( "What is your experience with computers in general?" ), "computer_experience", true );
00075 question->addAnswer( i18n( "Expert" ), "1/5_expert" );
00076 question->addAnswer( i18n( "Fair" ), "2/5_fair" );
00077 question->addAnswer( i18n( "Average" ), "3/5_average" );
00078 question->addAnswer( i18n( "Learning" ), "4/5_learning" );
00079 question->addAnswer( i18n( "Newbie" ), "5/5_newbie" );
00080
00081 question = list->addQuestion( i18n( "What is your experience with Unix/Linux systems?" ), "unix_experience", true );
00082 question->addAnswer( i18n( "Expert" ), "1/5_expert" );
00083 question->addAnswer( i18n( "Fair" ), "2/5_fair" );
00084 question->addAnswer( i18n( "Average" ), "3/5_average" );
00085 question->addAnswer( i18n( "Learning" ), "4/5_learning" );
00086 question->addAnswer( i18n( "Newbie" ), "5/5_newbie" );
00087
00088 question = list->addQuestion( i18n( "Did you have trouble figuring out how to work with this program?" ),
00089 "learning_curve", true, true );
00090 question->addAnswer( i18n( "No problem" ), "1/5_no_problem" );
00091 question->addAnswer( i18n( "Some" ), "2/5_some_problems" );
00092 question->addAnswer( i18n( "I'm still learning" ), "3/5_still_learing" );
00093 question->addAnswer( i18n( "I didn't have a clue what to do at first" ), "4/5_no_clue_at_first" );
00094 question->addAnswer( i18n( "I still don't have a clue what to do" ), "5/5_still_no_clue" );
00095
00096 question = list->addQuestion( i18n( "Where do you use this program most?" ), "usage_where", true );
00097 question->addAnswer( i18n( "At work" ), "at_work" );
00098 question->addAnswer( i18n( "At home" ), "at_home" );
00099 question->addAnswer( i18n( "At university / school" ), "university" );
00100
00101 question = list->addQuestion( i18n( "What is your primary role there?" ), "primary_role", true );
00102 question->addAnswer( i18n( "Home user" ), "home_user" );
00103 question->addAnswer( i18n( "Student" ), "student" );
00104 question->addAnswer( i18n( "Educational (teacher / professor)" ), "educational" );
00105 question->addAnswer( i18n( "Non-computer related work" ), "non_computer" );
00106 question->addAnswer( i18n( "Developer" ), "developer" );
00107 question->addAnswer( i18n( "System administrator" ), "sysadmin" );
00108
00109 question = list->addQuestion( i18n( "Do you have any other roles there?" ), "other_roles", false );
00110 question->addAnswer( i18n( "Home user" ), "home_user" );
00111 question->addAnswer( i18n( "Student" ), "student" );
00112 question->addAnswer( i18n( "Educational (teacher / professor)" ), "educational" );
00113 question->addAnswer( i18n( "Non-computer related work" ), "non_computer" );
00114 question->addAnswer( i18n( "Developer" ), "developer" );
00115 question->addAnswer( i18n( "System administrator" ), "sysadmin" );
00116
00117 question = list->addQuestion( i18n( "How did you get to know this program?" ), "first_contact", true );
00118 question->addAnswer( i18n( "In a menu on my machine" ), "menu" );
00119 question->addAnswer( i18n( "Somebody told me about it" ), "told" );
00120 question->addAnswer( i18n( "On the internet" ), "internet" );
00121 question->addAnswer( i18n( "Printed magazine / book" ), "print_media" );
00122 question->addAnswer( i18n( "Other (please add comment below)" ), "other" );
00123
00124 list->addYesNoQuestion( i18n( "Would you recommend this program to a friend?" ), "recommend", true );
00125
00126 feedbackDialog->show();
00127 }
00128
00129
00130 void KShowMailApp::addFeatureList( KFeedbackQuestion * question )
00131 {
00132 question->addAnswer( i18n( "The message list display in general"), "message_list" );
00133 question->addAnswer( i18n( "Display of message headers" ), "message_header" );
00134 question->addAnswer( i18n( "Display of complete messages"), "complete_message" );
00135
00136 question->addAnswer( i18n( "Manual delete of unwanted messages"), "manual_delete_messages" );
00137 question->addAnswer( i18n( "Manual delete of filtered messages"), "manual_delete_filtered_messages" );
00138 question->addAnswer( i18n( "Automatic delete of filtered messages"), "automatic_delete_filtered_messages" );
00139 question->addAnswer( i18n( "Filter messages by regular expressions"), "filter_messages_by regular_expression" );
00140
00141 question->addAnswer( i18n( "Execute user commands"), "user_commands" );
00142
00143 question->addAnswer( i18n( "Sorting of messages by size, date etc." ), "sorting" );
00144
00145 question->addAnswer( i18n( "Play sound"), "play_sound" );
00146 question->addAnswer( i18n( "Play beep"), "play_beep" );
00147 question->addAnswer( i18n( "Initial timer"), "initial_timer" );
00148 question->addAnswer( i18n( "Interval timer"), "interval_timer" );
00149 question->addAnswer( i18n( "This feedback survey :-)"), "feedback" );
00150 }
00151
00152
00153
00154