]> git.lyx.org Git - lyx.git/blobdiff - src/insets/inseturl.h
the fstream/iostream changes and some small other things
[lyx.git] / src / insets / inseturl.h
index b73c96930ae6a5c3008c574dad542ad9a295bc22..b7478a114faa08ec2f58fcb1e1e311d13bc0d534 100644 (file)
@@ -23,7 +23,7 @@ struct LaTeXFeatures;
 
 /** The url inset  
  */
-class InsetUrl: public InsetCommand {
+class InsetUrl : public InsetCommand {
 public:
         ///
         enum Url_Flags {
@@ -34,7 +34,7 @@ public:
        };
        
        ///
-       InsetUrl(): InsetCommand("url"), fd_form_url(0) {
+       InsetUrl() : InsetCommand("url"), fd_form_url(0) {
                flag = InsetUrl::URL;
        }
        ///
@@ -46,7 +46,7 @@ public:
        ///
        ~InsetUrl();
         ///
-        Inset * Clone() { return new InsetUrl(getCommand()); }
+        Inset * Clone() const { return new InsetUrl(getCommand()); }
        ///
        Inset::Code LyxCode() const { return Inset::URL_CODE; }
        ///
@@ -58,9 +58,9 @@ public:
                return 1;
        }
        ///
-       char const * EditMessage() {return "Opened Url";}
+       char const * EditMessage() const {return _("Opened Url");}
         ///
-       bool Display() const { return false; }
+       bool display() const { return false; }
        ///
        string getScreenLabel() const;
        ///
@@ -70,7 +70,7 @@ public:
         ///
         void gotoLabel();
        ///
-       int Latex(FILE * file, signed char fragile);
+       int Latex(ostream &, signed char fragile);
        ///
        int Latex(string & file, signed char fragile);
        ///