diff options
| author | Josh Andler <scislac@gmail.com> | 2009-09-27 21:36:48 +0000 |
|---|---|---|
| committer | scislac <scislac@users.sourceforge.net> | 2009-09-27 21:36:48 +0000 |
| commit | e4943dbbb7588a780b1cce6fc412a92e00b92d6c (patch) | |
| tree | b6c209edfef5f947ab2df65a2dd7ec14ae3758b7 /src/ui | |
| parent | Japanese mega update (installer, po and tutorial) (diff) | |
| download | inkscape-e4943dbbb7588a780b1cce6fc412a92e00b92d6c.tar.gz inkscape-e4943dbbb7588a780b1cce6fc412a92e00b92d6c.zip | |
Updated buildtool's files to undefine whiteboard. Comment out OCAL Export dialog. Also commented out verbs & file related functions for both as a precaution for command-line usage.
(bzr r8661)
Diffstat (limited to 'src/ui')
| -rw-r--r-- | src/ui/dialog/ocaldialogs.cpp | 40 | ||||
| -rw-r--r-- | src/ui/dialog/ocaldialogs.h | 48 |
2 files changed, 62 insertions, 26 deletions
diff --git a/src/ui/dialog/ocaldialogs.cpp b/src/ui/dialog/ocaldialogs.cpp index ba572336c..d3887b1ca 100644 --- a/src/ui/dialog/ocaldialogs.cpp +++ b/src/ui/dialog/ocaldialogs.cpp @@ -41,6 +41,7 @@ namespace Dialog /** * Callback for fileNameEntry widget */ +/* void FileExportToOCALDialog::fileNameEntryChangedCallback() { if (!fileNameEntry) @@ -53,25 +54,32 @@ void FileExportToOCALDialog::fileNameEntryChangedCallback() myFilename = fileName; response(Gtk::RESPONSE_OK); } - +*/ /** * Constructor */ +/* FileExportToOCALDialog::FileExportToOCALDialog(Gtk::Window &parentWindow, FileDialogType fileTypes, const Glib::ustring &title) : FileDialogOCALBase(title, parentWindow) { - /* +*/ + /* * Start Taking the vertical Box and putting a Label * and a Entry to take the filename * Later put the extension selection and checkbox (?) */ /* Initalize to Autodetect */ +/* extension = NULL; +*/ /* No filename to start out with */ +/* myFilename = ""; +*/ /* Set our dialog type (save, export, etc...)*/ +/* dialogType = fileTypes; Gtk::VBox *vbox = get_vbox(); @@ -102,17 +110,19 @@ FileExportToOCALDialog::FileExportToOCALDialog(Gtk::Window &parentWindow, show_all_children(); } - +*/ /** * Destructor */ +/* FileExportToOCALDialog::~FileExportToOCALDialog() { } - +*/ /** * Show this dialog modally. Return true if user hits [OK] */ +/* bool FileExportToOCALDialog::show() { @@ -130,10 +140,11 @@ FileExportToOCALDialog::show() return FALSE; } } - +*/ /** * Get the file name chosen by the user. Valid after an [OK] */ +/* Glib::ustring FileExportToOCALDialog::getFilename() { @@ -150,7 +161,7 @@ FileExportToOCALDialog::change_title(const Glib::ustring& title) { this->set_title(title); } - +*/ //######################################################################## //# F I L E E X P O R T T O O C A L P A S S W O R D @@ -160,14 +171,17 @@ FileExportToOCALDialog::change_title(const Glib::ustring& title) /** * Constructor */ +/* FileExportToOCALPasswordDialog::FileExportToOCALPasswordDialog(Gtk::Window &parentWindow, const Glib::ustring &title) : FileDialogOCALBase(title, parentWindow) { +*/ /* * Start Taking the vertical Box and putting 2 Labels * and 2 Entries to take the username and password */ /* No username and password to start out with */ +/* myUsername = ""; myPassword = ""; @@ -200,18 +214,20 @@ FileExportToOCALPasswordDialog::FileExportToOCALPasswordDialog(Gtk::Window &pare show_all_children(); } - +*/ /** * Destructor */ +/* FileExportToOCALPasswordDialog::~FileExportToOCALPasswordDialog() { } - +*/ /** * Show this dialog modally. Return true if user hits [OK] */ +/* bool FileExportToOCALPasswordDialog::show() { @@ -229,20 +245,22 @@ FileExportToOCALPasswordDialog::show() return FALSE; } } - +*/ /** * Get the username. Valid after an [OK] */ +/* Glib::ustring FileExportToOCALPasswordDialog::getUsername() { myUsername = usernameEntry->get_text(); return myUsername; } - +*/ /** * Get the password. Valid after an [OK] */ +/* Glib::ustring FileExportToOCALPasswordDialog::getPassword() { @@ -255,7 +273,7 @@ FileExportToOCALPasswordDialog::change_title(const Glib::ustring& title) { this->set_title(title); } - +*/ //######################################################################### //### F I L E I M P O R T F R O M O C A L diff --git a/src/ui/dialog/ocaldialogs.h b/src/ui/dialog/ocaldialogs.h index 75d57fc59..ce26f2148 100644 --- a/src/ui/dialog/ocaldialogs.h +++ b/src/ui/dialog/ocaldialogs.h @@ -105,75 +105,86 @@ protected: /** * Our implementation of the FileExportToOCALDialog interface. */ +/* class FileExportToOCALDialog : public FileDialogOCALBase { public: +*/ /** * Constructor * @param fileTypes one of FileDialogTypes * @param title the title of the dialog * @param key a list of file types from which the user can select */ +/* FileExportToOCALDialog(Gtk::Window& parentWindow, FileDialogType fileTypes, - const Glib::ustring &title); - + const Glib::ustring &title); +*/ /** * Destructor. * Perform any necessary cleanups. */ +/* ~FileExportToOCALDialog(); - +*/ /** * Show an SaveAs file selector. * @return the selected path if user selected one, else NULL */ +/* bool show(); Glib::ustring getFilename(); Glib::ustring myFilename; - +*/ /** * Change the window title. */ +/* void change_title(const Glib::ustring& title); private: - +*/ /** * Fix to allow the user to type the file name */ +/* Gtk::Entry *fileNameEntry; - +*/ /** * Data mirror of the combo box */ +/* std::vector<FileType> fileTypes; // Child widgets Gtk::HBox childBox; Gtk::VBox checksBox; Gtk::HBox fileBox; - +*/ /** * The extension to use to write this file */ +/* Inkscape::Extension::Extension *extension; - +*/ /** * Callback for user input into fileNameEntry */ +/* void fileNameEntryChangedCallback(); - +*/ /** * List of known file extensions. */ +/* std::set<Glib::ustring> knownExtensions; }; //FileExportToOCAL - +*/ //######################################################################## //# F I L E E X P O R T T O O C A L P A S S W O R D @@ -183,45 +194,52 @@ private: /** * Our implementation of the FileExportToOCALPasswordDialog interface. */ +/* class FileExportToOCALPasswordDialog : public FileDialogOCALBase { public: +*/ /** * Constructor * @param title the title of the dialog */ +/* FileExportToOCALPasswordDialog(Gtk::Window& parentWindow, const Glib::ustring &title); - +*/ /** * Destructor. * Perform any necessary cleanups. */ +/* ~FileExportToOCALPasswordDialog(); - +*/ /** * Show 2 entry to input username and password. */ +/* bool show(); Glib::ustring getUsername(); Glib::ustring getPassword(); - +*/ /** * Change the window title. */ +/* void change_title(const Glib::ustring& title); Glib::ustring myUsername; Glib::ustring myPassword; private: - +*/ /** * Fix to allow the user to type the file name */ +/* Gtk::Entry *usernameEntry; Gtk::Entry *passwordEntry; @@ -231,7 +249,7 @@ private: Gtk::HBox passBox; }; //FileExportToOCALPassword - +*/ //######################################################################### |
